diff options
| author | Michael Tüxen <tuexen@fh-muenster.de> | 2018-12-04 09:58:22 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-12-04 08:58:22 +0000 |
| commit | 6ad0ae6171ea0891838243683f174c6d6eecc90c (patch) | |
| tree | 18b8054e787e7d6a4a4227e9ac925d9d27917b07 /sys/linux/socket_inet_sctp.txt | |
| parent | 49e1764c75b166f3959a18f131a88b667e880f83 (diff) | |
sys: remove socketpair for AF_INET and AF_INET6
* OpebBSD: remove socketpair() for AF_INET and AF_INET6.
socketpair() is only supported on AF_UNIX.
* NetBSD: remove socketpair() for AF_INET and AF_INET6.
socketpair() is only supported for AF_UNIX.
* FreeBSD: remove socketpair() for AF_INET and AF_INET6.
socketpair() only supports AF_UNIX.
* Linux: remove socketpair for AF_INET and AF_INET6.
socketpair only supports AF_UNIX.
* Autogenerated files.
These are manually generated for all platforms you are not
running on. FreeBSD in this case.
* executor: rebase.
* sys/freebsd: rebase.
* sys/linux: use AF_UNIX based socketpair for nbd.
This was suggested by Dmitry.
Fixes #845
Diffstat (limited to 'sys/linux/socket_inet_sctp.txt')
| -rwxr-xr-x | sys/linux/socket_inet_sctp.txt | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/sys/linux/socket_inet_sctp.txt b/sys/linux/socket_inet_sctp.txt index 2fa4e4cdd..813c2bb4a 100755 --- a/sys/linux/socket_inet_sctp.txt +++ b/sys/linux/socket_inet_sctp.txt @@ -8,25 +8,13 @@ include <asm/ioctls.h> resource sock_sctp[sock_in] -sctp_pair { - f0 sock_sctp - f1 sock_sctp -} - socket$inet_sctp(domain const[AF_INET], type flags[sctp_socket_type], proto const[IPPROTO_SCTP]) sock_sctp -socketpair$inet_sctp(domain const[AF_INET], type flags[sctp_socket_type], proto const[IPPROTO_SCTP], fds ptr[out, sctp_pair]) sctp_socket_type = SOCK_STREAM, SOCK_SEQPACKET resource sock_sctp6[sock_in6] -sctp6_pair { - f0 sock_sctp6 - f1 sock_sctp6 -} - socket$inet6_sctp(domain const[AF_INET6], type flags[sctp_socket_type], proto const[IPPROTO_SCTP]) sock_sctp6 -socketpair$inet6_sctp(domain const[AF_INET6], type flags[sctp_socket_type], proto const[IPPROTO_SCTP], fds ptr[out, sctp6_pair]) # TODO: separate for ip & ipv6 sendmsg$inet_sctp(fd sock_sctp, msg ptr[in, msghdr_sctp], f flags[send_flags]) |
