Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet6/nd6.c
Show First 20 Lines • Show All 202 Lines • ▼ Show 20 Lines | |||||
} | } | ||||
/* | /* | ||||
* A handler for interface link layer address change event. | * A handler for interface link layer address change event. | ||||
*/ | */ | ||||
static void | static void | ||||
nd6_iflladdr(void *arg __unused, struct ifnet *ifp) | nd6_iflladdr(void *arg __unused, struct ifnet *ifp) | ||||
{ | { | ||||
if (ifp->if_afdata[AF_INET6] == NULL) | |||||
return; | |||||
lltable_update_ifaddr(LLTABLE6(ifp)); | lltable_update_ifaddr(LLTABLE6(ifp)); | ||||
} | } | ||||
void | void | ||||
nd6_init(void) | nd6_init(void) | ||||
{ | { | ||||
▲ Show 20 Lines • Show All 2,442 Lines • Show Last 20 Lines |