summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux/linux_socket.h
diff options
context:
space:
mode:
authorish <ish@openbsd.org>2002-11-27 07:30:36 +0000
committerish <ish@openbsd.org>2002-11-27 07:30:36 +0000
commit4d0a63363629642b7095cdd04927efe700caf496 (patch)
treef00743e6ef745a737f9e47fe49f9aeaf18ad97dc /sys/compat/linux/linux_socket.h
parentrecover original stanford copyright. sync w/kame (diff)
downloadwireguard-openbsd-4d0a63363629642b7095cdd04927efe700caf496.tar.xz
wireguard-openbsd-4d0a63363629642b7095cdd04927efe700caf496.zip
do address translation for for socket syscalls that pass addresses in
or out - this allows linux programs that use IPv6 to work (not ipv4 mapped addresses though) - from NetBSD
Diffstat (limited to 'sys/compat/linux/linux_socket.h')
-rw-r--r--sys/compat/linux/linux_socket.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_socket.h b/sys/compat/linux/linux_socket.h
index 1163702acc3..1698293702f 100644
--- a/sys/compat/linux/linux_socket.h
+++ b/sys/compat/linux/linux_socket.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: linux_socket.h,v 1.6 2001/06/21 01:43:57 itojun Exp $ */
+/* $OpenBSD: linux_socket.h,v 1.7 2002/11/27 07:30:36 ish Exp $ */
/* $NetBSD: linux_socket.h,v 1.3 1995/05/28 10:16:34 mycroft Exp $ */
/*
@@ -55,6 +55,7 @@
#define LINUX_AF_IPX 4
#define LINUX_AF_APPLETALK 5
#define LINUX_AF_INET6 10
+#define LINUX_AF_MAX 32
/*
* Option levels for [gs]etsockopt(2). Only SOL_SOCKET is different,