Module ext

Source
Expand description

Extensions to the regular TCP APIs

Structs§

TCP_INFO
The (copy of) the kernel struct tcp_info returns
TcpKeepalive
The configuration for TCP keepalive

Functions§

connect
connect() to the given address while optionally binding to the specific source address.
connect_uds
connect() to the given Unix domain socket
get_original_dest
get_recv_buf
get_socket_cookie
get_tcp_info
Get the kernel TCP_INFO for the given FD.
set_dscp
set_recv_buf
Set the TCP receive buffer size. See SO_RCVBUF.
set_tcp_fastopen_backlog
Enable server side TCP fast open.
set_tcp_fastopen_connect
Enable client side TCP fast open.
set_tcp_keepalive
Apply the given TCP keepalive settings to the given connection