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

Function defrouter_lookup

freebsd/netinet6/nd6_rtr.c:814–823  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

812}
813
814struct nd_defrouter *
815defrouter_lookup(const struct in6_addr *addr, struct ifnet *ifp)
816{
817 struct nd_defrouter *dr;
818
819 ND6_RLOCK();
820 dr = defrouter_lookup_locked(addr, ifp);
821 ND6_RUNLOCK();
822 return (dr);
823}
824
825/*
826 * Remove all default routes from default router list.

Callers 1

check_release_defrouterFunction · 0.85

Calls 1

defrouter_lookup_lockedFunction · 0.85

Tested by

no test coverage detected