Message ID | alpine.DEB.2.20.1610031746250.17903@digraph.polyomino.org.uk |
---|---|
State | New |
Headers | show |
* Joseph Myers: > Linux 4.8 adds TCP_REPAIR_WINDOW to include/uapi/linux/tcp.h. This > patch adds it to sysdeps/gnu/netinet/tcp.h accordingly. > > Tested for x86_64 and x86 (testsuite, and that installed shared > libraries are unchanged by the patch). Please also add struct tcp_repair_window, otherwise the #define doesn't make much sense. Thanks.
On 10/03/2016 01:49 PM, Florian Weimer wrote: > * Joseph Myers: > >> Linux 4.8 adds TCP_REPAIR_WINDOW to include/uapi/linux/tcp.h. This >> patch adds it to sysdeps/gnu/netinet/tcp.h accordingly. >> >> Tested for x86_64 and x86 (testsuite, and that installed shared >> libraries are unchanged by the patch). > > Please also add struct tcp_repair_window, otherwise the #define > doesn't make much sense. Thanks. > And double check it doesn't need coordination if you might ever want to include the UAPI header and the glibc header.
On Mon, 3 Oct 2016, Carlos O'Donell wrote: > And double check it doesn't need coordination if you might ever want > to include the UAPI header and the glibc header. Since both headers already have many of the same structures without any conditionals on them, I don't think adding a new structure indicates doing anything new regarding coordination.
* Joseph Myers: > On Mon, 3 Oct 2016, Carlos O'Donell wrote: > >> And double check it doesn't need coordination if you might ever want >> to include the UAPI header and the glibc header. > > Since both headers already have many of the same structures without any > conditionals on them, I don't think adding a new structure indicates doing > anything new regarding coordination. Agreed.
diff --git a/sysdeps/gnu/netinet/tcp.h b/sysdeps/gnu/netinet/tcp.h index 3fbea54..a00b425 100644 --- a/sysdeps/gnu/netinet/tcp.h +++ b/sysdeps/gnu/netinet/tcp.h @@ -69,6 +69,7 @@ connections. */ #define TCP_SAVED_SYN 28 /* Get SYN headers recorded for connection. */ +#define TCP_REPAIR_WINDOW 29 /* Get/set window parameters. */ #ifdef __USE_MISC # include <sys/types.h>