Lines Matching refs:ndi
211 struct nd_ifinfo *ndi;
223 ndi = &nd_ifinfo[ifp->if_index];
224 oldmaxmtu = ndi->maxmtu;
237 ndi->maxmtu = ifp->if_mtu;
245 if (oldmaxmtu >= IPV6_MMTU && ndi->maxmtu < IPV6_MMTU) {
248 ifp->if_name, ifp->if_unit, (unsigned long)ndi->maxmtu);
252 if (ndi->maxmtu > in6_maxmtu)
430 struct nd_ifinfo *ndi = NULL;
440 ndi = &nd_ifinfo[ifp->if_index];
535 if (ndi && (ndi->flags & ND6_IFF_PERFORMNUD) != 0) {
540 ndi->retrans / 1000;
1431 struct in6_ndireq *ndi = (struct in6_ndireq *)data;
1545 ndi->ndi.linkmtu = IN6_LINKMTU(ifp);
1546 ndi->ndi.maxmtu = nd_ifinfo[ifp->if_index].maxmtu;
1547 ndi->ndi.basereachable =
1549 ndi->ndi.reachable = nd_ifinfo[ifp->if_index].reachable;
1550 ndi->ndi.retrans = nd_ifinfo[ifp->if_index].retrans;
1551 ndi->ndi.flags = nd_ifinfo[ifp->if_index].flags;
1552 ndi->ndi.recalctm = nd_ifinfo[ifp->if_index].recalctm;
1553 ndi->ndi.chlim = nd_ifinfo[ifp->if_index].chlim;
1554 ndi->ndi.receivedra = nd_ifinfo[ifp->if_index].receivedra;
1561 ndi->ndi = nd_ifinfo[ifp->if_index];
1564 /* XXX: almost all other fields of ndi->ndi is unused */
1569 nd_ifinfo[ifp->if_index].flags = ndi->ndi.flags;