History

bpf: Adds support for setting initial cwnd

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.

Lawrence Brakmo committed 9 years ago

Commit fc747811 parent bb56d442 files · +19 −1Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/bpf.h+2−0
@@ -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#endif /* _UAPI__LINUX_BPF_H__ */788#endif /* _UAPI__LINUX_BPF_H__ */