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

/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/
H A Dscope6.c55 static size_t if_indexlim = 8; variable
66 if (scope6_ids == NULL || if_index >= if_indexlim) {
70 while (if_index >= if_indexlim)
71 if_indexlim <<= 1;
74 n = if_indexlim * sizeof(struct scope6_id);
236 if (index >= if_indexlim)
H A Din6_ifattach.c800 static size_t if_indexlim = 8; local
811 if_index >= if_indexlim) {
816 olim = if_indexlim;
817 while (if_index >= if_indexlim)
818 if_indexlim <<= 1;
821 n = if_indexlim * sizeof(struct in6_ifstat *);
830 in6_ifstatmax = if_indexlim;
833 n = if_indexlim * sizeof(struct icmp6_ifstat *);
842 icmp6_ifstatmax = if_indexlim;
/macosx-10.5.8/xnu-1228.15.4/bsd/net/
H A Dif.c234 static int if_indexlim = 0; local
238 if (if_index > if_indexlim) {
249 new_if_indexlim = if_indexlim << 1;
261 if_indexlim * sizeof(caddr_t));
264 (if_indexlim + 1) * sizeof(caddr_t));
270 if_indexlim = new_if_indexlim;

Completed in 22 milliseconds