in.h: new IP_MTU_DISCOVER mode IP_PMTUDISC_INTERFACE
authorSzabolcs Nagy <nsz@port70.net>
Mon, 24 Feb 2014 23:28:31 +0000 (00:28 +0100)
committerSzabolcs Nagy <nsz@port70.net>
Mon, 24 Feb 2014 23:28:31 +0000 (00:28 +0100)
introduced in linux v3.13, 482fc6094afad572a4ea1fd722e7b11ca72022a0
to mitigate dns cache poisoning via fragmentation

include/netinet/in.h

index 2e25afebb85b3806209e372d9a96140a69d1407e..ee6e19fbdaf5ba0ec6cf2532eefa7a0416877523 100644 (file)
@@ -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