Home
last modified time | relevance | path

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

/xnu-8020.121.3/tests/
H A Dipsec.m402 unsigned long oldmax;
403 size_t oldmaxsize = sizeof(oldmax);
408 if (sysctlbyname("kern.ipc.maxsockbuf", &oldmax, &oldmaxsize, &newmax, sizeof(newmax)) != 0) {
H A Dpfkey.c1054 unsigned long oldmax; in pfkey_setup_socket() local
1055 size_t oldmaxsize = sizeof(oldmax); in pfkey_setup_socket()
1060 if (sysctlbyname("kern.ipc.maxsockbuf", &oldmax, &oldmaxsize, &newmax, sizeof(newmax)) != 0) { in pfkey_setup_socket()
/xnu-8020.121.3/bsd/netinet6/
H A Din6_mcast.c276 size_t oldmax; in im6o_grow() local
285 oldmax = imo->im6o_max_memberships; in im6o_grow()
286 newmax = ((oldmax + 1) * 2) - 1; 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()
/xnu-8020.121.3/bsd/netinet/
H A Din_mcast.c275 uint16_t oldmax; in imo_grow() local
283 oldmax = imo->imo_max_memberships; in imo_grow()
285 newmax = ((oldmax + 1) * 2) - 1; 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()