Searched refs:newmax (Results 1 – 4 of 4) sorted by relevance
| /xnu-8020.121.3/bsd/netinet/ |
| H A D | in_mcast.c | 268 imo_grow(struct ip_moptions *imo, uint16_t newmax) in imo_grow() argument 284 if (newmax == 0) { in imo_grow() 285 newmax = ((oldmax + 1) * 2) - 1; in imo_grow() 288 if (newmax > IP_MAX_MEMBERSHIPS) { in imo_grow() 292 if ((nmships = krealloc_type(struct in_multi *, oldmax, newmax, in imo_grow() 299 if ((nmfilters = krealloc_type(struct in_mfilter, oldmax, newmax, in imo_grow() 307 for (idx = oldmax; idx < newmax; idx++) { in imo_grow() 311 imo->imo_max_memberships = newmax; in imo_grow()
|
| /xnu-8020.121.3/bsd/netinet6/ |
| H A D | in6_mcast.c | 277 size_t newmax; in im6o_grow() local 286 newmax = ((oldmax + 1) * 2) - 1; in im6o_grow() 288 if (newmax > IPV6_MAX_MEMBERSHIPS) { in im6o_grow() 292 if ((nmships = krealloc_type(struct in6_multi *, oldmax, newmax, in im6o_grow() 299 if ((nmfilters = krealloc_type(struct in6_mfilter, oldmax, newmax, in im6o_grow() 307 for (idx = oldmax; idx < newmax; idx++) { in im6o_grow() 311 imo->im6o_max_memberships = (u_short)newmax; in im6o_grow()
|
| /xnu-8020.121.3/tests/ |
| H A D | ipsec.m | 404 unsigned long newmax = newbufk * (1024 + 128); 408 if (sysctlbyname("kern.ipc.maxsockbuf", &oldmax, &oldmaxsize, &newmax, sizeof(newmax)) != 0) {
|
| H A D | pfkey.c | 1056 unsigned long newmax = newbufk * (1024 + 128); in pfkey_setup_socket() local 1060 if (sysctlbyname("kern.ipc.maxsockbuf", &oldmax, &oldmaxsize, &newmax, sizeof(newmax)) != 0) { in pfkey_setup_socket()
|