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

/darwin-on-arm/xnu/bsd/netinet/
H A Din_mcast.c289 imo_grow(struct ip_moptions *imo, size_t newmax) argument
305 if (newmax == 0)
306 newmax = ((oldmax + 1) * 2) - 1;
308 if (newmax > IP_MAX_MEMBERSHIPS)
312 sizeof (struct in_multi *) * newmax, M_IPMOPTS,
319 sizeof (struct in_mfilter) * newmax, M_INMFILTER,
326 for (idx = oldmax; idx < newmax; idx++)
329 imo->imo_max_memberships = newmax;
/darwin-on-arm/xnu/bsd/netinet6/
H A Din6_mcast.c293 im6o_grow(struct ip6_moptions *imo, size_t newmax) argument
309 if (newmax == 0)
310 newmax = ((oldmax + 1) * 2) - 1;
312 if (newmax > IPV6_MAX_MEMBERSHIPS)
316 sizeof (struct in6_multi *) * newmax, M_IP6MOPTS,
323 sizeof (struct in6_mfilter) * newmax, M_IN6MFILTER,
330 for (idx = oldmax; idx < newmax; idx++)
333 imo->im6o_max_memberships = newmax;

Completed in 72 milliseconds