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

Function carp_linkstate

freebsd/netinet/ip_carp.c:2056–2068  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2054}
2055
2056static void
2057carp_linkstate(struct ifnet *ifp)
2058{
2059 struct carp_softc *sc;
2060
2061 CIF_LOCK(ifp->if_carp);
2062 IFNET_FOREACH_CARP(ifp, sc) {
2063 CARP_LOCK(sc);
2064 carp_sc_state(sc);
2065 CARP_UNLOCK(sc);
2066 }
2067 CIF_UNLOCK(ifp->if_carp);
2068}
2069
2070static void
2071carp_sc_state(struct carp_softc *sc)

Callers

nothing calls this directly

Calls 1

carp_sc_stateFunction · 0.85

Tested by

no test coverage detected