Home
last modified time | relevance | path

Searched refs:tcp_tcbhashsize (Results 1 – 3 of 3) sorted by relevance

/xnu-8020.140.41/bsd/dev/
H A Dunix_startup.c335 extern int tcp_tcbhashsize;
370 tcp_tcbhashsize = 32 * 1024; in bsd_scale_setup()
380 tcp_tcbhashsize = 4 * 1024 * scale; in bsd_scale_setup()
/xnu-8020.140.41/bsd/netinet/
H A Dtcp_subr.c278 __private_extern__ int tcp_tcbhashsize = TCBHASHSIZE; variable
280 &tcp_tcbhashsize, 0, "Size of TCP control-block hashtable");
550 if (tcp_tcbhashsize == 0) { in tcp_init()
552 tcp_tcbhashsize = 512; in tcp_init()
555 if (!powerof2(tcp_tcbhashsize)) { in tcp_init()
556 int old_hash_size = tcp_tcbhashsize; in tcp_init()
557 tcp_tcbhashsize = scale_to_powerof2(tcp_tcbhashsize); in tcp_init()
559 if (tcp_tcbhashsize < 16) { in tcp_init()
560 tcp_tcbhashsize = 16; in tcp_init()
565 tcp_tcbhashsize); in tcp_init()
[all …]
/xnu-8020.140.41/bsd/kern/
H A Dtracker.c47 extern int tcp_tcbhashsize;
90 #define TRACKERHASHSIZE tcp_tcbhashsize