Deleted Added
full compact
nd6_nbr.c (215559) nd6_nbr.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_nbr.c,v 1.86 2002/01/21 02:33:04 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_nbr.c,v 1.86 2002/01/21 02:33:04 jinmei Exp $
30 */
31
32#include <sys/cdefs.h>
33__FBSDID("$FreeBSD: head/sys/netinet6/nd6_nbr.c 215559 2010-11-20 12:27:40Z bz $");
33__FBSDID("$FreeBSD: head/sys/netinet6/nd6_nbr.c 215701 2010-11-22 19:32:54Z dim $");
34
35#include "opt_inet.h"
36#include "opt_inet6.h"
37#include "opt_ipsec.h"
38#include "opt_mpath.h"
39
40#include <sys/param.h>
41#include <sys/systm.h>

--- 1094 unchanged lines hidden (view full) ---

1136 int dad_ns_tcount; /* # of trials to send NS */
1137 int dad_ns_ocount; /* NS sent so far */
1138 int dad_ns_icount;
1139 int dad_na_icount;
1140 struct callout dad_timer_ch;
1141 struct vnet *dad_vnet;
1142};
1143
34
35#include "opt_inet.h"
36#include "opt_inet6.h"
37#include "opt_ipsec.h"
38#include "opt_mpath.h"
39
40#include <sys/param.h>
41#include <sys/systm.h>

--- 1094 unchanged lines hidden (view full) ---

1136 int dad_ns_tcount; /* # of trials to send NS */
1137 int dad_ns_ocount; /* NS sent so far */
1138 int dad_ns_icount;
1139 int dad_na_icount;
1140 struct callout dad_timer_ch;
1141 struct vnet *dad_vnet;
1142};
1143
1144STATIC_VNET_DEFINE(TAILQ_HEAD(, dadq), dadq);
1144static VNET_DEFINE(TAILQ_HEAD(, dadq), dadq);
1145VNET_DEFINE(int, dad_init) = 0;
1146#define V_dadq VNET(dadq)
1147#define V_dad_init VNET(dad_init)
1148
1149static struct dadq *
1150nd6_dad_find(struct ifaddr *ifa)
1151{
1152 struct dadq *dp;

--- 389 unchanged lines hidden ---
1145VNET_DEFINE(int, dad_init) = 0;
1146#define V_dadq VNET(dadq)
1147#define V_dad_init VNET(dad_init)
1148
1149static struct dadq *
1150nd6_dad_find(struct ifaddr *ifa)
1151{
1152 struct dadq *dp;

--- 389 unchanged lines hidden ---