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

/darwin-on-arm/xnu/bsd/dev/
H A Dunix_startup.c300 extern int tcp_tcbhashsize;
329 tcp_tcbhashsize = 16 *1024;
332 tcp_tcbhashsize = 32 *1024;
337 tcp_tcbhashsize = 4*1024*scale;
/darwin-on-arm/xnu/bsd/netinet/
H A Dtcp_subr.c286 __private_extern__ int tcp_tcbhashsize = TCBHASHSIZE; variable
288 &tcp_tcbhashsize, 0, "Size of TCP control-block hashtable");
370 if (!powerof2(tcp_tcbhashsize)) {
372 tcp_tcbhashsize = 512; /* safe default */
374 tcbinfo.hashsize = tcp_tcbhashsize;
375 tcbinfo.hashbase = hashinit(tcp_tcbhashsize, M_PCB, &tcbinfo.hashmask);
376 tcbinfo.porthashbase = hashinit(tcp_tcbhashsize, M_PCB,

Completed in 22 milliseconds