aboutsummaryrefslogtreecommitdiffstats
path: root/sys/socket_amd64.const
diff options
context:
space:
mode:
authorAndrey Konovalov <andreyknvl@gmail.com>2017-04-07 15:13:10 +0200
committerGitHub <noreply@github.com>2017-04-07 15:13:10 +0200
commit334de6f374bbf575e0a81c7f8b70486e75be7287 (patch)
tree7cdce27cc70e5b9059d7f8624bee1313540af7ae /sys/socket_amd64.const
parent1f16fb733abf154f85e65ddc9311ae7206796ee1 (diff)
parent7e129a3adc7b572f07c129ee83a295e13fd192d5 (diff)
Merge pull request #151 from xairy/better-sockets
Improve sockets descriptions
Diffstat (limited to 'sys/socket_amd64.const')
-rw-r--r--sys/socket_amd64.const13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys/socket_amd64.const b/sys/socket_amd64.const
index 0af36e1b4..2da848af5 100644
--- a/sys/socket_amd64.const
+++ b/sys/socket_amd64.const
@@ -9,6 +9,18 @@ AF_NETLINK = 16
AF_PACKET = 17
AF_UNIX = 1
AF_X25 = 9
+IFF_ATTACH_QUEUE = 512
+IFF_DETACH_QUEUE = 1024
+IFF_MULTI_QUEUE = 256
+IFF_NOFILTER = 4096
+IFF_NO_PI = 4096
+IFF_ONE_QUEUE = 8192
+IFF_PERSIST = 2048
+IFF_TAP = 2
+IFF_TUN = 1
+IFF_TUN_EXCL = 32768
+IFF_VNET_HDR = 16384
+IFNAMSIZ = 16
IPPROTO_ICMP = 1
MSG_BATCH = 262144
MSG_CMSG_CLOEXEC = 1073741824
@@ -28,6 +40,7 @@ MSG_WAITALL = 256
MSG_WAITFORONE = 65536
SHUT_RD = 0
SHUT_WR = 1
+SIOCGIFNAME = 35088
SIOCINQ = 21531
SIOCOUTQ = 21521
SOCK_CLOEXEC = 524288