diff options
author | Szabolcs Nagy <nsz@port70.net> | 2016-10-09 19:02:08 +0200 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2016-10-20 01:28:44 -0400 |
commit | cc7c95e98e4822f165835aa956adad33d3c1fbd0 (patch) | |
tree | ea3428b9efe5979b7132f7ac2068adc8b9e596e1 /include/netinet/tcp.h | |
parent | fe39aaae0eafdab3340ea9a4c4b275c3528b4d75 (diff) | |
download | musl-cc7c95e98e4822f165835aa956adad33d3c1fbd0.tar.gz |
add TCP_REPAIR_WINDOW to netinet/tcp.h from linux v4.8
another kernel internal state exposure for checkpoint-restore.
see linux commit b1ed4c4fa9a5ccf325184fd90edc50978ef6e33a
Diffstat (limited to 'include/netinet/tcp.h')
-rw-r--r-- | include/netinet/tcp.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/netinet/tcp.h b/include/netinet/tcp.h index 9ea64c45..b9b8a7fa 100644 --- a/include/netinet/tcp.h +++ b/include/netinet/tcp.h @@ -30,6 +30,7 @@ #define TCP_CC_INFO 26 #define TCP_SAVE_SYN 27 #define TCP_SAVED_SYN 28 +#define TCP_REPAIR_WINDOW 29 #define TCP_ESTABLISHED 1 #define TCP_SYN_SENT 2 @@ -199,6 +200,14 @@ struct tcp_md5sig { uint8_t tcpm_key[TCP_MD5SIG_MAXKEYLEN]; }; +struct tcp_repair_window { + uint32_t snd_wl1; + uint32_t snd_wnd; + uint32_t max_window; + uint32_t rcv_wnd; + uint32_t rcv_wup; +}; + #endif #endif |