FreeBSD/sys/netinet/in.c
/*
 * On interface removal, clean up IPv4 data structures hung off of the ifnet.
 */
On interface removal, clean up IPv4 data structures hung off of the ifnet.
On interface removal clean up IPv4 data structures hung off of the ifnet .
void
in_ifdetach(struct ifnet *ifp)
{
	in_pcbpurgeif0(&V_ripcbinfo, ifp);
	in_pcbpurgeif0(&V_udbinfo, ifp);
	in_pcbpurgeif0(&V_ulitecbinfo, ifp);
	in_purgemaddrs(ifp);
}
void in_ifdetach ( struct ifnet * ifp ) { in_pcbpurgeif0 ( & V_ripcbinfo , ifp ) ; in_pcbpurgeif0 ( & V_udbinfo , ifp ) ; in_pcbpurgeif0 ( & V_ulitecbinfo , ifp ) ; in_purgemaddrs ( ifp ) ; }
On interface removal, clean up IPv4 data structures hung off of the ifnet.
On interface removal clean up IPv4 data structures hung off of the ifnet .