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

/darwin-on-arm/xnu/bsd/netinet6/
H A Din6_ifattach.c749 static size_t if_indexlim = 8; local
763 if_index >= if_indexlim) {
764 while (if_index >= if_indexlim)
765 if_indexlim <<= 1;
769 if (in6_ifstatmax < if_indexlim) {
773 n = if_indexlim * sizeof(struct in6_ifstat *);
785 in6_ifstatmax = if_indexlim;
802 if (icmp6_ifstatmax < if_indexlim) {
806 n = if_indexlim * sizeof(struct icmp6_ifstat *);
818 icmp6_ifstatmax = if_indexlim;
[all...]
/darwin-on-arm/xnu/bsd/net/
H A Dif.c385 static int if_indexlim = 0; local
389 if (if_index > if_indexlim) {
400 new_if_indexlim = if_indexlim << 1;
417 if_indexlim * sizeof(caddr_t));
420 (if_indexlim + 1) * sizeof(caddr_t));
426 if_indexlim = new_if_indexlim;

Completed in 80 milliseconds