Home
last modified time | relevance | path

Searched refs:if_indexlim (Results 1 – 1 of 1) sorted by relevance

/xnu-12377.81.4/bsd/net/
H A Dif.c540 static int if_indexlim = 0; in if_next_index() local
552 if (if_index > if_indexlim) { in if_next_index()
561 old_ifnet_size = (size_t)(2 * if_indexlim + 1); in if_next_index()
565 new_if_indexlim = if_indexlim << 1; in if_next_index()
579 bcopy(ifnet_addrs, new_ifnet_addrs, if_indexlim * sizeof(caddr_t)); in if_next_index()
580 bcopy(ifindex2ifnet, new_ifindex2ifnet, (if_indexlim + 1) * sizeof(caddr_t)); in if_next_index()
586 if_indexlim = new_if_indexlim; in if_next_index()
589 ifindex2ifnetcount = if_indexlim + 1; in if_next_index()