Lines Matching defs:ND

101 /* preventing too many loops in ND option parsing */
102 static VNET_DEFINE(int, nd6_maxndopt) = 10; /* max # of ND options allowed */
107 * ND entries */
318 * Reset ND level link MTU. This function is called when the physical MTU
319 * changes, which means we might have to adjust the ND level MTU.
386 * Take one ND option.
434 * Parse multiple ND options.
435 * This function is much easier to use, for ND routines that do not need
1646 #define ND ndi->ndi
1648 bzero(&ND, sizeof(ND));
1649 ND.linkmtu = IN6_LINKMTU(ifp);
1650 ND.maxmtu = ND_IFINFO(ifp)->maxmtu;
1651 ND.basereachable = ND_IFINFO(ifp)->basereachable;
1652 ND.reachable = ND_IFINFO(ifp)->reachable;
1653 ND.retrans = ND_IFINFO(ifp)->retrans;
1654 ND.flags = ND_IFINFO(ifp)->flags;
1655 ND.recalctm = ND_IFINFO(ifp)->recalctm;
1656 ND.chlim = ND_IFINFO(ifp)->chlim;
1659 ND = *ND_IFINFO(ifp);
1667 if (ND.linkmtu != 0) {
1668 if (ND.linkmtu < IPV6_MMTU ||
1669 ND.linkmtu > IN6_LINKMTU(ifp)) {
1673 ND_IFINFO(ifp)->linkmtu = ND.linkmtu;
1676 if (ND.basereachable != 0) {
1679 ND_IFINFO(ifp)->basereachable = ND.basereachable;
1680 if (ND.basereachable != obasereachable)
1682 ND_COMPUTE_RTIME(ND.basereachable);
1684 if (ND.retrans != 0)
1685 ND_IFINFO(ifp)->retrans = ND.retrans;
1686 if (ND.chlim != 0)
1687 ND_IFINFO(ifp)->chlim = ND.chlim;
1695 !(ND.flags & ND6_IFF_IFDISABLED)) {
1717 ND.flags |= ND6_IFF_IFDISABLED;
1727 (ND.flags & ND6_IFF_IFDISABLED)) {
1747 if (ND.flags & ND6_IFF_AUTO_LINKLOCAL) {
1754 } else if (!(ND.flags & ND6_IFF_IFDISABLED) &&
1779 ND_IFINFO(ifp)->flags = ND.flags;
1781 #undef ND
2540 * - unidirectional tunnels needs no ND