Lines Matching refs:if_index
63 * We have some arrays that should be indexed by if_index.
64 * since if_index will grow dynamically, they should grow too.
66 if (scope6_ids == NULL || if_index >= if_indexlim) {
70 while (if_index >= if_indexlim)
85 #define SID scope6_ids[ifp->if_index]
96 SID.s6id_list[IPV6_ADDR_SCOPE_LINKLOCAL] = ifp->if_index;
128 idlist[i] != scope6_ids[ifp->if_index].s6id_list[i]) {
130 idlist[i] > if_index) {
145 scope6_ids[ifp->if_index].s6id_list[i] = idlist[i];
160 bcopy(scope6_ids[ifp->if_index].s6id_list, idlist,
161 sizeof(scope6_ids[ifp->if_index].s6id_list));
232 int index = ifp->if_index;
271 ifp->if_index;