projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abdaba8
)
netinet/tcp.h: add tcp_diag_md5sig struct from linux v4.14
author
Szabolcs Nagy
<nsz@port70.net>
Mon, 27 Nov 2017 00:22:01 +0000
(
00:22
+0000)
committer
Rich Felker
<dalias@aerifal.cx>
Thu, 22 Feb 2018 23:48:18 +0000
(18:48 -0500)
for querying tcp md5 signing keys.
new in linux commit
c03fa9bcacd9ac04595cc13f34f3445f0a5ecf13
include/netinet/tcp.h
patch
|
blob
|
history
diff --git
a/include/netinet/tcp.h
b/include/netinet/tcp.h
index 4d20936a0b53d0b344afc30655355e66b6684ab6..94a4f8e20b8fcb5277af277713c8a010c61d72b6 100644
(file)
--- a/
include/netinet/tcp.h
+++ b/
include/netinet/tcp.h
@@
-220,6
+220,14
@@
struct tcp_md5sig {
uint8_t tcpm_key[TCP_MD5SIG_MAXKEYLEN];
};
+struct tcp_diag_md5sig {
+ uint8_t tcpm_family;
+ uint8_t tcpm_prefixlen;
+ uint16_t tcpm_keylen;
+ uint32_t tcpm_addr[4];
+ uint8_t tcpm_key[TCP_MD5SIG_MAXKEYLEN];
+};
+
struct tcp_repair_window {
uint32_t snd_wl1;
uint32_t snd_wnd;