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

Function me_set_running

freebsd/net/if_me.c:368–376  ·  view source on GitHub ↗

* Check that ingress address belongs to local host. */

Source from the content-addressed store, hash-verified

366 * Check that ingress address belongs to local host.
367 */
368static void
369me_set_running(struct me_softc *sc)
370{
371
372 if (in_localip(sc->me_src))
373 ME2IFP(sc)->if_drv_flags |= IFF_DRV_RUNNING;
374 else
375 ME2IFP(sc)->if_drv_flags &= ~IFF_DRV_RUNNING;
376}
377
378/*
379 * ifaddr_event handler.

Callers 2

me_srcaddrFunction · 0.85
me_set_tunnelFunction · 0.85

Calls 1

in_localipFunction · 0.85

Tested by

no test coverage detected