1/*- 2 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 16 unchanged lines hidden (view full) --- 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * $KAME: nd6.c,v 1.144 2001/05/24 07:44:00 itojun Exp $ 30 */ 31 32#include <sys/cdefs.h> |
33__FBSDID("$FreeBSD: head/sys/netinet6/nd6.c 241916 2012-10-22 21:49:56Z delphij $"); |
34 35#include "opt_inet.h" 36#include "opt_inet6.h" 37 38#include <sys/param.h> 39#include <sys/systm.h> 40#include <sys/callout.h> 41#include <sys/malloc.h> --- 77 unchanged lines hidden (view full) --- 119 120VNET_DEFINE(int, nd6_recalc_reachtm_interval) = ND6_RECALC_REACHTM_INTERVAL; 121#define V_nd6_recalc_reachtm_interval VNET(nd6_recalc_reachtm_interval) 122 123static struct sockaddr_in6 all1_sa; 124 125int (*send_sendso_input_hook)(struct mbuf *, struct ifnet *, int, int); 126 |
127static int nd6_is_new_addr_neighbor(struct sockaddr_in6 *, 128 struct ifnet *); |
129static void nd6_setmtu0(struct ifnet *, struct nd_ifinfo *); 130static void nd6_slowtimo(void *); 131static int regen_tmpaddr(struct in6_ifaddr *); 132static struct llentry *nd6_free(struct llentry *, int); 133static void nd6_llinfo_timer(void *); 134static void clear_llinfo_pqueue(struct llentry *); 135 136static VNET_DEFINE(struct callout, nd6_slowtimo_ch); --- 2211 unchanged lines hidden --- |