add IPV6_HDRINCL socket option from linux v4.5
authorSzabolcs Nagy <nsz@port70.net>
Sat, 19 Mar 2016 12:36:09 +0000 (13:36 +0100)
committerRich Felker <dalias@aerifal.cx>
Sat, 19 Mar 2016 15:31:02 +0000 (11:31 -0400)
new in linux commit 715f504b118998c41a2079a17e16bf5a8a114885
same as IP_HDRINCL but for SOL_IPV6 sockets.

include/netinet/in.h

index 622bdfe..04cc81c 100644 (file)
@@ -344,6 +344,7 @@ struct ip6_mtuinfo
 #define IPV6_LEAVE_ANYCAST      28
 #define IPV6_IPSEC_POLICY       34
 #define IPV6_XFRM_POLICY        35
+#define IPV6_HDRINCL            36
 
 #define IPV6_RECVPKTINFO        49
 #define IPV6_PKTINFO            50