-
- Downloads
tcp: socket option to set TCP fast open key
New socket option TCP_FASTOPEN_KEY to allow different keys per listener. The listener by default uses the global key until the socket option is set. The key is a 16 bytes long binary data. This option has no effect on regular non-listener TCP sockets. Signed-off-by:Yuchung Cheng <ycheng@google.com> Reviewed-by:
Eric Dumazet <edumazet@google.com> Reviewed-by:
Christoph Paasch <cpaasch@apple.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- include/net/request_sock.h 2 additions, 0 deletionsinclude/net/request_sock.h
- include/net/tcp.h 3 additions, 2 deletionsinclude/net/tcp.h
- include/uapi/linux/tcp.h 1 addition, 0 deletionsinclude/uapi/linux/tcp.h
- net/ipv4/sysctl_net_ipv4.c 2 additions, 1 deletionnet/ipv4/sysctl_net_ipv4.c
- net/ipv4/tcp.c 33 additions, 0 deletionsnet/ipv4/tcp.c
- net/ipv4/tcp_fastopen.c 40 additions, 16 deletionsnet/ipv4/tcp_fastopen.c
- net/ipv4/tcp_ipv4.c 1 addition, 0 deletionsnet/ipv4/tcp_ipv4.c
Loading
Please register or sign in to comment