From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10612 Path: news.gmane.org!.POSTED!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general 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 Message-ID: <20161009170207.GH28065@port70.net> References: <20161009165739.GB28065@port70.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1476032554 5819 195.159.176.226 (9 Oct 2016 17:02:34 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 9 Oct 2016 17:02:34 +0000 (UTC) User-Agent: Mutt/1.6.0 (2016-04-01) To: musl@lists.openwall.com Original-X-From: musl-return-10625-gllmg-musl=m.gmane.org@lists.openwall.com Sun Oct 09 19:02:31 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1btHUS-0008D0-HV for gllmg-musl@m.gmane.org; Sun, 09 Oct 2016 19:02:20 +0200 Original-Received: (qmail 17763 invoked by uid 550); 9 Oct 2016 17:02:21 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 17716 invoked from network); 9 Oct 2016 17:02:19 -0000 Mail-Followup-To: musl@lists.openwall.com Content-Disposition: inline In-Reply-To: <20161009165739.GB28065@port70.net> Xref: news.gmane.org gmane.linux.lib.musl.general:10612 Archived-At: 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