From 6ad0ae6171ea0891838243683f174c6d6eecc90c Mon Sep 17 00:00:00 2001 From: Michael Tüxen Date: Tue, 4 Dec 2018 09:58:22 +0100 Subject: 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 --- sys/linux/socket_inet_sctp.txt | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'sys/linux/socket_inet_sctp.txt') 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 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]) -- cgit mrf-deployment