diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ntapi/nt_socket.h | 31 |
1 files changed, 31 insertions, 0 deletions
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) |