Home
last modified time | relevance | path

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

/xnu-8019.80.24/bsd/netinet/
H A Dtcp_cache.c140 size_t tcp_cache_size; variable
306 return (uint16_t)(hash & (tcp_cache_size - 1)); in tcp_cache_hash()
663 return (uint16_t)(hash & (tcp_cache_size - 1)); in tcp_heuristics_hash()
1533 for (i = 0; i < tcp_cache_size; i++) { in sysctl_cleartfocache()
1606 tcp_cache_size = tcp_cache_roundup2((uint32_t)(sane_size_meg >> 2)); in tcp_cache_init()
1607 if (tcp_cache_size < 32) { in tcp_cache_init()
1608 tcp_cache_size = 32; in tcp_cache_init()
1609 } else if (tcp_cache_size > 1024) { in tcp_cache_init()
1610 tcp_cache_size = 1024; in tcp_cache_init()
1613 tcp_cache = _MALLOC(sizeof(struct tcp_cache_head) * tcp_cache_size, in tcp_cache_init()
[all …]