* Mark an interface down and notify protocols of * the transition. */
| 2304 | * the transition. |
| 2305 | */ |
| 2306 | void |
| 2307 | if_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 |
no test coverage detected