Home
last modified time | relevance | path

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

/xnu-12377.1.9/bsd/dev/
H A Dunix_startup.c307 extern int tcp_tcbhashsize;
339 tcp_tcbhashsize = 32 * 1024; in bsd_scale_setup()
342 tcp_tcbhashsize = 4 * 1024 * scale; in bsd_scale_setup()
/xnu-12377.1.9/bsd/netinet/
H A Dtcp_subr.c279 __private_extern__ int tcp_tcbhashsize = TCBHASHSIZE; variable
281 &tcp_tcbhashsize, 0, "Size of TCP control-block hashtable");
564 if (tcp_tcbhashsize == 0) { in tcp_init()
566 tcp_tcbhashsize = 512; in tcp_init()
569 if (!powerof2(tcp_tcbhashsize)) { in tcp_init()
570 int old_hash_size = tcp_tcbhashsize; in tcp_init()
571 tcp_tcbhashsize = scale_to_powerof2(tcp_tcbhashsize); in tcp_init()
573 if (tcp_tcbhashsize < 16) { in tcp_init()
574 tcp_tcbhashsize = 16; in tcp_init()
579 tcp_tcbhashsize); in tcp_init()
[all …]
/xnu-12377.1.9/bsd/kern/
H A Dtracker.c48 extern int tcp_tcbhashsize;
96 #define TRACKERHASHSIZE tcp_tcbhashsize