tcp_ipv4.c (a43e61842ec55baa486d60eed2a19af67ba78b9f) | tcp_ipv4.c (f930103421f6579719b8252285c94c1195f6e032) |
---|---|
1/* 2 * INET An implementation of the TCP/IP protocol suite for the LINUX 3 * operating system. INET is implemented using the BSD Socket 4 * interface as the means of communication with the user level. 5 * 6 * Implementation of the Transmission Control Protocol(TCP). 7 * 8 * IPv4 specific functions --- 2451 unchanged lines hidden (view full) --- 2460 net->ipv4.sysctl_tcp_notsent_lowat = UINT_MAX; 2461 net->ipv4.sysctl_tcp_tw_reuse = 0; 2462 2463 cnt = tcp_hashinfo.ehash_mask + 1; 2464 net->ipv4.tcp_death_row.sysctl_max_tw_buckets = (cnt + 1) / 2; 2465 net->ipv4.tcp_death_row.hashinfo = &tcp_hashinfo; 2466 2467 net->ipv4.sysctl_max_syn_backlog = max(128, cnt / 256); | 1/* 2 * INET An implementation of the TCP/IP protocol suite for the LINUX 3 * operating system. INET is implemented using the BSD Socket 4 * interface as the means of communication with the user level. 5 * 6 * Implementation of the Transmission Control Protocol(TCP). 7 * 8 * IPv4 specific functions --- 2451 unchanged lines hidden (view full) --- 2460 net->ipv4.sysctl_tcp_notsent_lowat = UINT_MAX; 2461 net->ipv4.sysctl_tcp_tw_reuse = 0; 2462 2463 cnt = tcp_hashinfo.ehash_mask + 1; 2464 net->ipv4.tcp_death_row.sysctl_max_tw_buckets = (cnt + 1) / 2; 2465 net->ipv4.tcp_death_row.hashinfo = &tcp_hashinfo; 2466 2467 net->ipv4.sysctl_max_syn_backlog = max(128, cnt / 256); |
2468 net->ipv4.sysctl_tcp_sack = 1; |
|
2468 2469 return 0; 2470fail: 2471 tcp_sk_exit(net); 2472 2473 return res; 2474} 2475 --- 16 unchanged lines hidden --- | 2469 2470 return 0; 2471fail: 2472 tcp_sk_exit(net); 2473 2474 return res; 2475} 2476 --- 16 unchanged lines hidden --- |