Changeset View
Changeset View
Standalone View
Standalone View
sys/netgraph/ng_iface.c
Show First 20 Lines • Show All 714 Lines • ▼ Show 20 Lines | #ifdef INET6 | ||||
case AF_INET6: | case AF_INET6: | ||||
isr = NETISR_IPV6; | isr = NETISR_IPV6; | ||||
break; | break; | ||||
#endif | #endif | ||||
default: | default: | ||||
m_freem(m); | m_freem(m); | ||||
return (EAFNOSUPPORT); | return (EAFNOSUPPORT); | ||||
} | } | ||||
random_harvest_queue(m, sizeof(*m), 2, RANDOM_NET_NG); | random_harvest_queue(m, sizeof(*m), RANDOM_NET_NG); | ||||
M_SETFIB(m, ifp->if_fib); | M_SETFIB(m, ifp->if_fib); | ||||
netisr_dispatch(isr, m); | netisr_dispatch(isr, m); | ||||
return (0); | return (0); | ||||
} | } | ||||
/* | /* | ||||
* Shutdown and remove the node and its associated interface. | * Shutdown and remove the node and its associated interface. | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 77 Lines • Show Last 20 Lines |