Lines Matching refs:ND
122 /* preventing too many loops in ND option parsing */
123 VNET_DEFINE_STATIC(int, nd6_maxndopt) = 10; /* max # of ND options allowed */
126 * ND entries */
350 * Reset ND level link MTU. This function is called when the physical MTU
351 * changes, which means we might have to adjust the ND level MTU.
404 * Take one ND option.
452 * Parse multiple ND options.
453 * This function is much easier to use, for ND routines that do not need
1651 #define ND ndi->ndi
1653 bzero(&ND, sizeof(ND));
1654 ND.linkmtu = IN6_LINKMTU(ifp);
1655 ND.maxmtu = ND_IFINFO(ifp)->maxmtu;
1656 ND.basereachable = ND_IFINFO(ifp)->basereachable;
1657 ND.reachable = ND_IFINFO(ifp)->reachable;
1658 ND.retrans = ND_IFINFO(ifp)->retrans;
1659 ND.flags = ND_IFINFO(ifp)->flags;
1660 ND.recalctm = ND_IFINFO(ifp)->recalctm;
1661 ND.chlim = ND_IFINFO(ifp)->chlim;
1664 ND = *ND_IFINFO(ifp);
1672 if (ND.linkmtu != 0) {
1673 if (ND.linkmtu < IPV6_MMTU ||
1674 ND.linkmtu > IN6_LINKMTU(ifp)) {
1678 ND_IFINFO(ifp)->linkmtu = ND.linkmtu;
1681 if (ND.basereachable != 0) {
1684 ND_IFINFO(ifp)->basereachable = ND.basereachable;
1685 if (ND.basereachable != obasereachable)
1687 ND_COMPUTE_RTIME(ND.basereachable);
1689 if (ND.retrans != 0)
1690 ND_IFINFO(ifp)->retrans = ND.retrans;
1691 if (ND.chlim != 0)
1692 ND_IFINFO(ifp)->chlim = ND.chlim;
1700 !(ND.flags & ND6_IFF_IFDISABLED)) {
1722 ND.flags |= ND6_IFF_IFDISABLED;
1732 (ND.flags & ND6_IFF_IFDISABLED)) {
1752 if (ND.flags & ND6_IFF_AUTO_LINKLOCAL) {
1759 } else if (!(ND.flags & ND6_IFF_IFDISABLED) &&
1783 ND_IFINFO(ifp)->flags = ND.flags;
1786 #undef ND
2570 * - unidirectional tunnels needs no ND