Home
last modified time | relevance | path

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

/xnu-8019.80.24/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.c1053 unsigned long oldmax; in pfkey_setup_socket() local
1054 size_t oldmaxsize = sizeof(oldmax); in pfkey_setup_socket()
1059 if (sysctlbyname("kern.ipc.maxsockbuf", &oldmax, &oldmaxsize, &newmax, sizeof(newmax)) != 0) { in pfkey_setup_socket()
/xnu-8019.80.24/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()
309 for (idx = oldmax; idx < newmax; idx++) { in im6o_grow()
/xnu-8019.80.24/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()
309 for (idx = oldmax; idx < newmax; idx++) { in imo_grow()