diff options
| author | njoly <njoly@NetBSD.org> | 2014-01-27 19:19:15 +0000 |
|---|---|---|
| committer | njoly <njoly@NetBSD.org> | 2014-01-27 19:19:15 +0000 |
| commit | bc3413cb02d947c239ad353ef42c33c95e673dfe (patch) | |
| tree | 9446296abdf8d3f9929367184f48da538b33add3 /sys/compat/linux/common/linux_socket.h | |
| parent | 1ac7ffd904062a9c1aed40bf3f8c1dabf35c2153 (diff) | |
Add basic IPV6 level socket options support (IPV6_V6ONLY).
Diffstat (limited to 'sys/compat/linux/common/linux_socket.h')
| -rw-r--r-- | sys/compat/linux/common/linux_socket.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/compat/linux/common/linux_socket.h b/sys/compat/linux/common/linux_socket.h index 0b017640303..2395bbed05f 100644 --- a/sys/compat/linux/common/linux_socket.h +++ b/sys/compat/linux/common/linux_socket.h @@ -1,4 +1,4 @@ -/* $NetBSD: linux_socket.h,v 1.21 2011/06/30 20:09:39 wiz Exp $ */ +/* $NetBSD: linux_socket.h,v 1.22 2014/01/27 19:19:15 njoly Exp $ */ /*- * Copyright (c) 1995, 1998 The NetBSD Foundation, Inc. @@ -78,8 +78,8 @@ #define LINUX_SOL_IP 0 #define LINUX_SOL_TCP 6 #define LINUX_SOL_UDP 17 -/* Unused for now: */ #define LINUX_SOL_IPV6 41 +/* Unused for now: */ #define LINUX_SOL_ICMPV6 58 #define LINUX_SOL_RAW 255 #define LINUX_SOL_IPX 256 @@ -111,6 +111,12 @@ #define LINUX_IP_DROP_MEMBERSHIP 36 /* + * Options for [gs]etsockopt(2), IPV6 level. + */ + +#define LINUX_IPV6_V6ONLY 26 + +/* * Options for [gs]etsockopt(2), TCP level. */ |
