|
Lines 47-56
Link Here
|
| 47 |
#include <netinet/in.h> |
47 |
#include <netinet/in.h> |
| 48 |
#include <netinet/in_var.h> |
48 |
#include <netinet/in_var.h> |
| 49 |
#include <netinet/if_ether.h> |
49 |
#include <netinet/if_ether.h> |
|
|
50 |
#include <netinet/in_pcb.h> |
| 50 |
|
51 |
|
| 51 |
#include <netinet/ip6.h> |
52 |
#include <netinet/ip6.h> |
| 52 |
#include <netinet6/ip6_var.h> |
53 |
#include <netinet6/ip6_var.h> |
| 53 |
#include <netinet6/in6_var.h> |
54 |
#include <netinet6/in6_var.h> |
|
|
55 |
#include <netinet6/in6_pcb.h> |
| 54 |
#include <netinet6/in6_ifattach.h> |
56 |
#include <netinet6/in6_ifattach.h> |
| 55 |
#include <netinet6/ip6_var.h> |
57 |
#include <netinet6/ip6_var.h> |
| 56 |
#include <netinet6/nd6.h> |
58 |
#include <netinet6/nd6.h> |
|
Lines 72-77
Link Here
|
| 72 |
|
74 |
|
| 73 |
struct callout in6_tmpaddrtimer_ch; |
75 |
struct callout in6_tmpaddrtimer_ch; |
| 74 |
|
76 |
|
|
|
77 |
extern struct inpcbinfo udbinfo; |
| 78 |
extern struct inpcbinfo ripcbinfo; |
| 79 |
|
| 75 |
static int get_rand_ifid __P((struct ifnet *, struct in6_addr *)); |
80 |
static int get_rand_ifid __P((struct ifnet *, struct in6_addr *)); |
| 76 |
static int generate_tmp_ifid __P((u_int8_t *, const u_int8_t *, u_int8_t *)); |
81 |
static int generate_tmp_ifid __P((u_int8_t *, const u_int8_t *, u_int8_t *)); |
| 77 |
static int get_hw_ifid __P((struct ifnet *, struct in6_addr *)); |
82 |
static int get_hw_ifid __P((struct ifnet *, struct in6_addr *)); |
|
Lines 942-947
Link Here
|
| 942 |
} |
947 |
} |
| 943 |
|
948 |
|
| 944 |
/* leave from all multicast groups joined */ |
949 |
/* leave from all multicast groups joined */ |
|
|
950 |
in6_pcbpurgeif0(LIST_FIRST(udbinfo.listhead), ifp); |
| 951 |
in6_pcbpurgeif0(LIST_FIRST(ripcbinfo.listhead), ifp); |
| 945 |
for (in6m = LIST_FIRST(&in6_multihead); in6m; in6m = in6m_next) { |
952 |
for (in6m = LIST_FIRST(&in6_multihead); in6m; in6m = in6m_next) { |
| 946 |
in6m_next = LIST_NEXT(in6m, in6m_entry); |
953 |
in6m_next = LIST_NEXT(in6m, in6m_entry); |
| 947 |
if (in6m->in6m_ifp != ifp) |
954 |
if (in6m->in6m_ifp != ifp) |