Home
last modified time | relevance | path

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

/xnu-11417.121.6/bsd/net/
H A Dif.c533 static int if_indexlim = 0; in if_next_index() local
545 if (if_index > if_indexlim) { in if_next_index()
554 old_ifnet_size = (size_t)(2 * if_indexlim + 1); in if_next_index()
558 new_if_indexlim = if_indexlim << 1; in if_next_index()
572 bcopy(ifnet_addrs, new_ifnet_addrs, if_indexlim * sizeof(caddr_t)); in if_next_index()
573 bcopy(ifindex2ifnet, new_ifindex2ifnet, (if_indexlim + 1) * sizeof(caddr_t)); in if_next_index()
579 if_indexlim = new_if_indexlim; in if_next_index()
582 ifindex2ifnetcount = if_indexlim + 1; in if_next_index()