Adds a new bpf_setsockopt for TCP sockets, TCP_BPF_IW, which sets the initial congestion window. This can be used when the hosts are far apart (large RTTs) and it is safe to start with a large inital cwnd.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -783,4 +783,6 @@ enum { · 782 unmodified lines | ||
| 783 | 783 | */ |
| 784 | 784 | }; |
| 785 | 785 | |
| 786 | +#define TCP_BPF_IW 1001 /* Set TCP initial congestion window */ | |
| 787 | + | |
| 786 | 788 | #endif /* _UAPI__LINUX_BPF_H__ */ |