Lines Matching refs:if_index
499 ifra.ifra_addr.sin6_addr.s6_addr16[1] = htons(ifp->if_index); /* XXX */
721 in6->s6_addr16[1] = htons(ifp->if_index);
746 mltaddr.sin6_addr.s6_addr16[1] = htons(ifp->if_index);
779 mltaddr.sin6_addr.s6_addr16[1] = htons(ifp->if_index);
805 * We have some arrays that should be indexed by if_index.
806 * since if_index will grow dynamically, they should grow too.
811 if_index >= if_indexlim) {
817 while (if_index >= if_indexlim)
924 if (in6_ifstat[ifp->if_index] == NULL) {
925 in6_ifstat[ifp->if_index] = (struct in6_ifstat *)
927 bzero(in6_ifstat[ifp->if_index], sizeof(struct in6_ifstat));
929 if (icmp6_ifstat[ifp->if_index] == NULL) {
930 icmp6_ifstat[ifp->if_index] = (struct icmp6_ifstat *)
932 bzero(icmp6_ifstat[ifp->if_index], sizeof(struct icmp6_ifstat));
1038 sin6.sin6_addr.s6_addr16[1] = htons(ifp->if_index);
1059 struct nd_ifinfo *ndi = &nd_ifinfo[ifp->if_index];