about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2014-02-25 00:28:31 +0100
committerSzabolcs Nagy <nsz@port70.net>2014-02-25 00:28:31 +0100
commitd82db8550a2fc7ec573b28073317532ec7ca873e (patch)
tree6bd873d706fd55a005962b0df232af7f3f444c71 /include
parentfb5a2ef8dfd9d5b7686865ec6bafe33398ec452f (diff)
downloadmusl-d82db8550a2fc7ec573b28073317532ec7ca873e.tar.gz
musl-d82db8550a2fc7ec573b28073317532ec7ca873e.tar.xz
musl-d82db8550a2fc7ec573b28073317532ec7ca873e.zip
in.h: new IP_MTU_DISCOVER mode IP_PMTUDISC_INTERFACE
introduced in linux v3.13, 482fc6094afad572a4ea1fd722e7b11ca72022a0
to mitigate dns cache poisoning via fragmentation
Diffstat (limited to 'include')
-rw-r--r--include/netinet/in.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/netinet/in.h b/include/netinet/in.h
index 2e25afeb..ee6e19fb 100644
--- a/include/netinet/in.h
+++ b/include/netinet/in.h
@@ -217,6 +217,7 @@ uint16_t ntohs(uint16_t);
 #define IP_PMTUDISC_WANT   1
 #define IP_PMTUDISC_DO     2
 #define IP_PMTUDISC_PROBE  3
+#define IP_PMTUDISC_INTERFACE 4
 
 #define IP_DEFAULT_MULTICAST_TTL        1
 #define IP_DEFAULT_MULTICAST_LOOP       1