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_socketcall.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_socketcall.h')
| -rw-r--r-- | sys/compat/linux/linux_socketcall.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/compat/linux/linux_socketcall.h b/sys/compat/linux/linux_socketcall.h index 61c69c27676..57c3ad90db6 100644 --- a/sys/compat/linux/linux_socketcall.h +++ b/sys/compat/linux/linux_socketcall.h @@ -1,4 +1,4 @@ -/* $OpenBSD: linux_socketcall.h,v 1.3 1999/02/10 08:02:38 deraadt Exp $ */ +/* $OpenBSD: linux_socketcall.h,v 1.4 2002/11/27 07:30:36 ish Exp $ */ /* $NetBSD: linux_socketcall.h,v 1.1 1995/02/28 23:26:05 fvdl Exp $ */ /* @@ -69,13 +69,13 @@ struct linux_socket_args { struct linux_bind_args { int s; - struct sockaddr *name; + struct osockaddr *name; int namelen; }; struct linux_connect_args { int s; - struct sockaddr *name; + struct osockaddr *name; int namelen; }; @@ -92,7 +92,7 @@ struct linux_accept_args { struct linux_getsockname_args { int s; - struct sockaddr *addr; + struct osockaddr *addr; int *namelen; }; @@ -128,7 +128,7 @@ struct linux_sendto_args { void *msg; int len; int flags; - struct sockaddr *to; + struct osockaddr *to; int tolen; }; @@ -137,7 +137,7 @@ struct linux_recvfrom_args { void *buf; int len; int flags; - struct sockaddr *from; + struct osockaddr *from; int *fromlen; }; |
