| 1998 | } |
| 1999 | |
| 2000 | int |
| 2001 | in6if_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 |
no outgoing calls
no test coverage detected