summaryrefslogtreecommitdiff
path: root/include/netinet
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2017-11-27 00:22:01 +0000
committerRich Felker <dalias@aerifal.cx>2018-02-22 18:48:18 -0500
commite69608700fa5a6920b3c8ba9951f43f5d4ec0eaa (patch)
treeae0be90a2359d57543b1929dd82ca5232794bb50 /include/netinet
parentabdaba8616c29b0814a4dbe726224b6f2c9f8604 (diff)
downloadmusl-e69608700fa5a6920b3c8ba9951f43f5d4ec0eaa.tar.gz
musl-e69608700fa5a6920b3c8ba9951f43f5d4ec0eaa.tar.bz2
musl-e69608700fa5a6920b3c8ba9951f43f5d4ec0eaa.tar.xz
musl-e69608700fa5a6920b3c8ba9951f43f5d4ec0eaa.zip
netinet/tcp.h: add tcp_diag_md5sig struct from linux v4.14
for querying tcp md5 signing keys. new in linux commit c03fa9bcacd9ac04595cc13f34f3445f0a5ecf13
Diffstat (limited to 'include/netinet')
-rw-r--r--include/netinet/tcp.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/netinet/tcp.h b/include/netinet/tcp.h
index 4d20936a..94a4f8e2 100644
--- 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;