mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-22 20:23:57 +08:00
2100c8d2d9
This patch impelements the common code for both the client and server. 1. TCP Fast Open option processing. Since Fast Open does not have an option number assigned by IANA yet, it shares the experiment option code 254 by implementing draft-ietf-tcpm-experimental-options with a 16 bits magic number 0xF989. This enables global experiments without clashing the scarce(2) experimental options available for TCP. When the draft status becomes standard (maybe), the client should switch to the new option number assigned while the server supports both numbers for transistion. 2. The new sysctl tcp_fastopen 3. A place holder init function Signed-off-by: Yuchung Cheng <ycheng@google.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
12 lines
169 B
C
12 lines
169 B
C
#include <linux/init.h>
|
|
#include <linux/kernel.h>
|
|
|
|
int sysctl_tcp_fastopen;
|
|
|
|
static int __init tcp_fastopen_init(void)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
late_initcall(tcp_fastopen_init);
|