nd6_rtr.c (215317) | nd6_rtr.c (215701) |
---|---|
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_rtr.c,v 1.111 2001/04/27 01:37:15 jinmei Exp $ 30 */ 31 32#include <sys/cdefs.h> | 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_rtr.c,v 1.111 2001/04/27 01:37:15 jinmei Exp $ 30 */ 31 32#include <sys/cdefs.h> |
33__FBSDID("$FreeBSD: head/sys/netinet6/nd6_rtr.c 215317 2010-11-14 20:38:11Z dim $"); | 33__FBSDID("$FreeBSD: head/sys/netinet6/nd6_rtr.c 215701 2010-11-22 19:32:54Z dim $"); |
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/malloc.h> 41#include <sys/mbuf.h> --- 42 unchanged lines hidden (view full) --- 84static void in6_init_address_ltimes __P((struct nd_prefix *, 85 struct in6_addrlifetime *)); 86 87static int rt6_deleteroute(struct radix_node *, void *); 88 89VNET_DECLARE(int, nd6_recalc_reachtm_interval); 90#define V_nd6_recalc_reachtm_interval VNET(nd6_recalc_reachtm_interval) 91 | 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/malloc.h> 41#include <sys/mbuf.h> --- 42 unchanged lines hidden (view full) --- 84static void in6_init_address_ltimes __P((struct nd_prefix *, 85 struct in6_addrlifetime *)); 86 87static int rt6_deleteroute(struct radix_node *, void *); 88 89VNET_DECLARE(int, nd6_recalc_reachtm_interval); 90#define V_nd6_recalc_reachtm_interval VNET(nd6_recalc_reachtm_interval) 91 |
92STATIC_VNET_DEFINE(struct ifnet *, nd6_defifp); | 92static VNET_DEFINE(struct ifnet *, nd6_defifp); |
93VNET_DEFINE(int, nd6_defifindex); 94#define V_nd6_defifp VNET(nd6_defifp) 95 96VNET_DEFINE(int, ip6_use_tempaddr) = 0; 97 98VNET_DEFINE(int, ip6_desync_factor); 99VNET_DEFINE(u_int32_t, ip6_temp_preferred_lifetime) = DEF_TEMP_PREFERRED_LIFETIME; 100VNET_DEFINE(u_int32_t, ip6_temp_valid_lifetime) = DEF_TEMP_VALID_LIFETIME; --- 2058 unchanged lines hidden --- | 93VNET_DEFINE(int, nd6_defifindex); 94#define V_nd6_defifp VNET(nd6_defifp) 95 96VNET_DEFINE(int, ip6_use_tempaddr) = 0; 97 98VNET_DEFINE(int, ip6_desync_factor); 99VNET_DEFINE(u_int32_t, ip6_temp_preferred_lifetime) = DEF_TEMP_PREFERRED_LIFETIME; 100VNET_DEFINE(u_int32_t, ip6_temp_valid_lifetime) = DEF_TEMP_VALID_LIFETIME; --- 2058 unchanged lines hidden --- |