mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Szabolcs Nagy <nsz@port70.net>
To: musl@lists.openwall.com
Subject: [PATCH 6/7] add TCP_REPAIR_WINDOW to netinet/tcp.h from linux v4.8
Date: Sun, 9 Oct 2016 19:02:08 +0200	[thread overview]
Message-ID: <20161009170207.GH28065@port70.net> (raw)
In-Reply-To: <20161009165739.GB28065@port70.net>

another kernel internal state exposure for checkpoint-restore.
see linux commit b1ed4c4fa9a5ccf325184fd90edc50978ef6e33a
---
 include/netinet/tcp.h | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/include/netinet/tcp.h b/include/netinet/tcp.h
index 9ea64c4..b9b8a7f 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
-- 
2.10.0



  parent reply	other threads:[~2016-10-09 17:02 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-09 16:57 [PATCH 0/7] updates for " Szabolcs Nagy
2016-10-09 17:00 ` [PATCH 2/7] add sh syscall numbers from " Szabolcs Nagy
2016-10-09 17:00 ` [PATCH 3/7] add ETH_P_NCSI to netinet/if_ether.h " Szabolcs Nagy
2016-10-09 17:01 ` [PATCH 4/7] elf.h: update EM_ elf machine defines and add R_BPF_ defines Szabolcs Nagy
2016-10-09 17:01 ` [PATCH 5/7] add bits/hwcap.h and include it in sys/auxv.h Szabolcs Nagy
2016-10-09 17:24   ` Hauke Mehrtens
2016-10-09 18:32     ` Szabolcs Nagy
2016-10-09 18:42       ` [PATCH with-mips] " Szabolcs Nagy
2016-10-09 17:02 ` Szabolcs Nagy [this message]
2016-10-09 17:02 ` [PATCH 7/7] update icmphdr struct following linux v4.8 Szabolcs Nagy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161009170207.GH28065@port70.net \
    --to=nsz@port70.net \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).