aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/socket_inet_icmp.txt
diff options
context:
space:
mode:
authorMichael Tüxen <tuexen@fh-muenster.de>2018-12-04 09:58:22 +0100
committerDmitry Vyukov <dvyukov@google.com>2018-12-04 08:58:22 +0000
commit6ad0ae6171ea0891838243683f174c6d6eecc90c (patch)
tree18b8054e787e7d6a4a4227e9ac925d9d27917b07 /sys/linux/socket_inet_icmp.txt
parent49e1764c75b166f3959a18f131a88b667e880f83 (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_icmp.txt')
-rw-r--r--sys/linux/socket_inet_icmp.txt14
1 files changed, 0 insertions, 14 deletions
diff --git a/sys/linux/socket_inet_icmp.txt b/sys/linux/socket_inet_icmp.txt
index c6962b64d..9fd9d91e0 100644
--- a/sys/linux/socket_inet_icmp.txt
+++ b/sys/linux/socket_inet_icmp.txt
@@ -10,25 +10,11 @@ resource sock_icmp[sock_in]
socket$inet_icmp(domain const[AF_INET], type const[SOCK_DGRAM], proto const[IPPROTO_ICMP]) sock_icmp
socket$inet_icmp_raw(domain const[AF_INET], type const[SOCK_RAW], proto const[IPPROTO_ICMP]) sock_icmp
-socketpair$inet_icmp(domain const[AF_INET], type const[SOCK_DGRAM], proto const[IPPROTO_ICMP], fds ptr[out, icmp_pair])
-socketpair$inet_icmp_raw(domain const[AF_INET], type const[SOCK_RAW], proto const[IPPROTO_ICMP], fds ptr[out, icmp_pair])
-
-icmp_pair {
- f0 sock_icmp
- f1 sock_icmp
-}
resource sock_icmp6[sock_in6]
socket$inet6_icmp(domain const[AF_INET6], type const[SOCK_DGRAM], proto const[IPPROTO_ICMPV6]) sock_icmp6
socket$inet6_icmp_raw(domain const[AF_INET6], type const[SOCK_RAW], proto const[IPPROTO_ICMPV6]) sock_icmp6
-socketpair$inet6_icmp(domain const[AF_INET6], type const[SOCK_DGRAM], proto const[IPPROTO_ICMPV6], fds ptr[out, icmp6_pair])
-socketpair$inet6_icmp_raw(domain const[AF_INET6], type const[SOCK_RAW], proto const[IPPROTO_ICMPV6], fds ptr[out, icmp6_pair])
-
-icmp6_pair {
- f0 sock_icmp6
- f1 sock_icmp6
-}
setsockopt$inet_icmp_ICMP_FILTER(fd sock_icmp, level const[IPPROTO_ICMP], optname const[ICMP_FILTER], optval ptr[in, icmp_filter], optlen len[optval])
setsockopt$inet6_icmp_ICMP_FILTER(fd sock_icmp6, level const[IPPROTO_ICMP], optname const[ICMP_FILTER], optval ptr[in, icmp_filter], optlen len[optval])