MCPcopy Create free account
hub / github.com/F-Stack/f-stack / if_down

Function if_down

freebsd/net/if.c:2306–2312  ·  view source on GitHub ↗

* Mark an interface down and notify protocols of * the transition. */

Source from the content-addressed store, hash-verified

2304 * the transition.
2305 */
2306void
2307if_down(struct ifnet *ifp)
2308{
2309
2310 EVENTHANDLER_INVOKE(ifnet_event, ifp, IFNET_EVENT_DOWN);
2311 if_unroute(ifp, IFF_UP, AF_UNSPEC);
2312}
2313
2314/*
2315 * Mark an interface up and notify protocols of

Callers 8

sppp_cisco_inputFunction · 0.85
sppp_cp_inputFunction · 0.85
sppp_lcp_downFunction · 0.85
sppp_lcp_RCRFunction · 0.85
sppp_keepaliveFunction · 0.85
if_detach_internalFunction · 0.85
ifhwioctlFunction · 0.85
tundtorFunction · 0.85

Calls 1

if_unrouteFunction · 0.85

Tested by

no test coverage detected