Home | History | Annotate | Download | only in net

Lines Matching defs:if_indexlim

191 static size_t			if_indexlim = 0;
349 if_indexlim = 8;
687 if (ifindex2ifnet == NULL || ifp->if_index >= if_indexlim) {
691 oldlim = if_indexlim;
692 while (ifp->if_index >= if_indexlim)
693 if_indexlim <<= 1;
697 n = if_indexlim * sizeof(struct ifnet *);
723 KASSERT(if_indexlim > 0);
1998 if (sdl->sdl_index && sdl->sdl_index < if_indexlim &&
2990 return (__predict_true(idx < if_indexlim)) ? ifindex2ifnet[idx] : NULL;