Home
last modified time | relevance | path

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

/xnu-10063.141.1/bsd/netinet/
H A Dtcp_cache.c139 size_t tcp_cache_size; variable
310 return (uint16_t)(hash & (tcp_cache_size - 1)); in tcp_cache_hash()
659 return (uint16_t)(hash & (tcp_cache_size - 1)); in tcp_heuristics_hash()
1529 for (i = 0; i < tcp_cache_size; i++) { in sysctl_cleartfocache()
1601 tcp_cache_size = tcp_cache_roundup2((uint32_t)(sane_size_meg >> 2)); in tcp_cache_init()
1602 if (tcp_cache_size < 32) { in tcp_cache_init()
1603 tcp_cache_size = 32; in tcp_cache_init()
1604 } else if (tcp_cache_size > 1024) { in tcp_cache_init()
1605 tcp_cache_size = 1024; in tcp_cache_init()
1608 tcp_cache = zalloc_permanent(sizeof(struct tcp_cache_head) * tcp_cache_size, in tcp_cache_init()
[all …]