aboutsummaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorAndrey Konovalov <andreyknvl@google.com>2017-02-09 16:31:44 +0100
committerAndrey Konovalov <andreyknvl@google.com>2017-02-10 14:05:03 +0100
commit52601ba68852d4498791306ac3d8540aaa7354a1 (patch)
treea2c31c150c2b0a4716f07f2991cffa4a50be0906 /sys
parent36e6b03b1122ec72d518a6944f30cd7d910505a4 (diff)
sys: fix socket.txt include
Diffstat (limited to 'sys')
-rw-r--r--sys/socket.txt1
-rw-r--r--sys/socket_amd64.const1
-rw-r--r--sys/socket_arm64.const1
-rw-r--r--sys/socket_ppc64le.const1
4 files changed, 4 insertions, 0 deletions
diff --git a/sys/socket.txt b/sys/socket.txt
index dcc1a6eec..4c628d0a7 100644
--- a/sys/socket.txt
+++ b/sys/socket.txt
@@ -4,6 +4,7 @@
include <linux/socket.h>
include <linux/net.h>
include <linux/net_tstamp.h>
+include <uapi/linux/in.h>
include <asm/ioctls.h>
resource sock[fd]
diff --git a/sys/socket_amd64.const b/sys/socket_amd64.const
index 65dd51450..0af36e1b4 100644
--- a/sys/socket_amd64.const
+++ b/sys/socket_amd64.const
@@ -9,6 +9,7 @@ AF_NETLINK = 16
AF_PACKET = 17
AF_UNIX = 1
AF_X25 = 9
+IPPROTO_ICMP = 1
MSG_BATCH = 262144
MSG_CMSG_CLOEXEC = 1073741824
MSG_CONFIRM = 2048
diff --git a/sys/socket_arm64.const b/sys/socket_arm64.const
index e20a47fe3..5dc6b5daf 100644
--- a/sys/socket_arm64.const
+++ b/sys/socket_arm64.const
@@ -9,6 +9,7 @@ AF_NETLINK = 16
AF_PACKET = 17
AF_UNIX = 1
AF_X25 = 9
+IPPROTO_ICMP = 1
MSG_BATCH = 262144
MSG_CMSG_CLOEXEC = 1073741824
MSG_CONFIRM = 2048
diff --git a/sys/socket_ppc64le.const b/sys/socket_ppc64le.const
index cf744c72b..ac4d19c90 100644
--- a/sys/socket_ppc64le.const
+++ b/sys/socket_ppc64le.const
@@ -9,6 +9,7 @@ AF_NETLINK = 16
AF_PACKET = 17
AF_UNIX = 1
AF_X25 = 9
+IPPROTO_ICMP = 1
MSG_BATCH = 262144
MSG_CMSG_CLOEXEC = 1073741824
MSG_CONFIRM = 2048