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

Function in6if_do_dad

freebsd/netinet6/in6.c:2000–2012  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1998}
1999
2000int
2001in6if_do_dad(struct ifnet *ifp)
2002{
2003
2004 if ((ifp->if_flags & IFF_LOOPBACK) != 0)
2005 return (0);
2006 if ((ifp->if_flags & IFF_MULTICAST) == 0)
2007 return (0);
2008 if ((ND_IFINFO(ifp)->flags &
2009 (ND6_IFF_IFDISABLED | ND6_IFF_NO_DAD)) != 0)
2010 return (0);
2011 return (1);
2012}
2013
2014/*
2015 * Calculate max IPv6 MTU through all the interfaces and store it

Callers 1

in6_update_ifa_internalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected