Lines Matching refs:if_index
154 * We have some arrays that should be indexed by if_index.
155 * since if_index will grow dynamically, they should grow too.
157 if (nd_ifinfo == NULL || if_index >= nd_ifinfo_indexlim) {
161 while (if_index >= nd_ifinfo_indexlim)
181 #define ND nd_ifinfo[ifp->if_index]
193 ND.linkmtu = ifindex2ifnet[ifp->if_index]->if_mtu;
219 if (ifp->if_index >= nd_ifinfo_indexlim) {
223 ndi = &nd_ifinfo[ifp->if_index];
440 ndi = &nd_ifinfo[ifp->if_index];
496 nd_ifinfo[ifp->if_index].retrans / 1000;
553 nd_ifinfo[ifp->if_index].retrans / 1000;
804 if (nd6_defifindex == ifp->if_index)
831 if (sdl->sdl_index == ifp->if_index)
977 ntohs(*(u_int16_t *)&addr->sin6_addr.s6_addr[2]) == ifp->if_index)
1160 nd_ifinfo[rt->rt_ifp->if_index].reachable;
1234 SDL(gate)->sdl_index = ifp->if_index;
1292 SDL(gate)->sdl_index = ifp->if_index;
1374 llsol.s6_addr16[1] = htons(ifp->if_index);
1399 llsol.s6_addr16[1] = htons(ifp->if_index);
1461 drl->defrouter[i].if_index = dr->ifp->if_index;
1489 prl->prefix[i].if_index = pr->ndpr_ifp->if_index;
1531 prl->prefix[i].if_index = rpp->rp_ifp->if_index;
1546 ndi->ndi.maxmtu = nd_ifinfo[ifp->if_index].maxmtu;
1548 nd_ifinfo[ifp->if_index].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];
1569 nd_ifinfo[ifp->if_index].flags = ndi->ndi.flags;
1648 *idp = htons(ifp->if_index);
1926 for (i = 1; i < if_index + 1; i++) {
2053 !(nd_ifinfo[ifp->if_index].flags & ND6_IFF_PERFORMNUD)) {
2113 nd_ifinfo[ifp->if_index].retrans / 1000;
2355 d->if_index = dr->ifp->if_index;
2405 p->if_index = pr->ndpr_ifp->if_index;