diff options
| author | 2002-11-27 07:30:36 +0000 | |
|---|---|---|
| committer | 2002-11-27 07:30:36 +0000 | |
| commit | 4d0a63363629642b7095cdd04927efe700caf496 (patch) | |
| tree | f00743e6ef745a737f9e47fe49f9aeaf18ad97dc /sys/compat/linux/linux_socket.h | |
| parent | recover original stanford copyright. sync w/kame (diff) | |
| download | wireguard-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.h | 3 |
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, |
