Lines Matching defs:ndi
238 struct nd_ifinfo *ndi = &nd_ifinfo[ifp->if_index];
308 ndi->basereachable != advreachable) {
309 ndi->basereachable = advreachable;
310 ndi->reachable = ND_COMPUTE_RTIME(ndi->basereachable);
311 ndi->recalctm = nd6_recalc_reachtm_interval; /* reset */
315 ndi->retrans = ntohl(nd_ra->nd_ra_retransmit);
317 ndi->chlim = nd_ra->nd_ra_curhoplimit;
410 if (ndi->maxmtu) {
411 if (mtu <= ndi->maxmtu) {
412 int change = (ndi->linkmtu != mtu);
414 ndi->linkmtu = mtu;
422 ndi->maxmtu));
634 struct nd_ifinfo *ndi = &nd_ifinfo[dr->ifp->if_index];
671 ndi->ndefrouters--;
672 if (ndi->ndefrouters < 0) {
770 struct nd_ifinfo *ndi = &nd_ifinfo[new->ifp->if_index];
795 ndi->ndefrouters >= ip6_maxifdefrouters) {
817 ndi->ndefrouters++;
966 struct nd_ifinfo *ndi = &nd_ifinfo[pr->ndpr_ifp->if_index];
969 if (ndi->nprefixes >= ip6_maxifprefixes / 2)
971 if (ndi->nprefixes >= ip6_maxifprefixes)
1015 ndi->nprefixes++;
1028 struct nd_ifinfo *ndi = &nd_ifinfo[pr->ndpr_ifp->if_index];
1066 ndi->nprefixes--;
1067 if (ndi->nprefixes < 0) {