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

Function if_up

freebsd/net/if.c:2318–2324  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

2316 * the transition.
2317 */
2318void
2319if_up(struct ifnet *ifp)
2320{
2321
2322 if_route(ifp, IFF_UP, AF_UNSPEC);
2323 EVENTHANDLER_INVOKE(ifnet_event, ifp, IFNET_EVENT_UP);
2324}
2325
2326/*
2327 * Flush an interface queue.

Callers 3

sppp_cisco_inputFunction · 0.85
sppp_lcp_tluFunction · 0.85
ifhwioctlFunction · 0.85

Calls 1

if_routeFunction · 0.85

Tested by

no test coverage detected