From 1af1372d8f795c35235036147d916763039c1e7c Mon Sep 17 00:00:00 2001 From: midipix Date: Thu, 16 Jun 2016 13:17:48 -0400 Subject: nt_socket.h: add ipv6 sockopt constants. --- include/ntapi/nt_socket.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'include/ntapi/nt_socket.h') diff --git a/include/ntapi/nt_socket.h b/include/ntapi/nt_socket.h index 9479aa4..7e433b9 100644 --- a/include/ntapi/nt_socket.h +++ b/include/ntapi/nt_socket.h @@ -140,6 +140,37 @@ +/* afd ipv6 socket options */ +#define NT_IPV6_HOPOPTS 1 +#define NT_IPV6_HDRINCL 2 +#define NT_IPV6_UNICAST_HOPS 4 +#define NT_IPV6_MULTICAST_IF 9 +#define NT_IPV6_MULTICAST_HOPS 10 +#define NT_IPV6_MULTICAST_LOOP 11 +#define NT_IPV6_ADD_MEMBERSHIP 12 +#define NT_IPV6_DROP_MEMBERSHIP 13 +#define NT_IPV6_DONTFRAG 14 +#define NT_IPV6_PKTINFO 19 +#define NT_IPV6_HOPLIMIT 21 +#define NT_IPV6_PROTECTION_LEVEL 23 +#define NT_IPV6_RECVIF 24 +#define NT_IPV6_RECVDSTADDR 25 +#define NT_IPV6_CHECKSUM 26 +#define NT_IPV6_V6ONLY 27 +#define NT_IPV6_IFLIST 28 +#define NT_IPV6_ADD_IFLIST 29 +#define NT_IPV6_DEL_IFLIST 30 +#define NT_IPV6_UNICAST_IF 31 +#define NT_IPV6_RTHDR 32 +#define NT_IPV6_RECVRTHDR 38 +#define NT_IPV6_TCLASS 39 +#define NT_IPV6_RECVTCLASS 40 + +#define NT_IPV6_JOIN_GROUP IPV6_ADD_MEMBERSHIP +#define NT_IPV6_LEAVE_GROUP IPV6_DROP_MEMBERSHIP + + + /* tdi receive modes */ #define NT_TDI_RECEIVE_BROADCAST (0x0004u) #define NT_TDI_RECEIVE_MULTICAST (0x0008u) -- cgit v1.2.3