aboutsummaryrefslogtreecommitdiffstats
path: root/sys/openbsd/socket_amd64.const
diff options
context:
space:
mode:
authorAnton Lindqvist <anton@basename.se>2018-08-28 19:07:26 +0200
committerDmitry Vyukov <dvyukov@google.com>2018-08-28 10:07:26 -0700
commitb771b17ec95715c24715d730363f6f07bc46fd4f (patch)
treecfdb14bb69866ad3bd3b35d21d6c803530b1f8b0 /sys/openbsd/socket_amd64.const
parent7ef1de9ea4b02a8799b3a7f4b1d7b06a586b3f37 (diff)
Add mandatory OpenBSD bits (#689)
all: add openbsd support squash of the following commits: * openbsd: add mandatory bits * report: add OpenBSD support * executor: skip building kvm on OpenBSD * executor: add OpenBSD support Linking against libutil is necessary due to usage of openpty(3). * executor: fix typo in fail() message * fixup! report: add OpenBSD support * fixup! openbsd: add mandatory bits * fixup! openbsd: add mandatory bits * fixup! openbsd: add mandatory bits * fixup! report: add OpenBSD support * gometalinter: skip sys/openbsd
Diffstat (limited to 'sys/openbsd/socket_amd64.const')
-rw-r--r--sys/openbsd/socket_amd64.const59
1 files changed, 59 insertions, 0 deletions
diff --git a/sys/openbsd/socket_amd64.const b/sys/openbsd/socket_amd64.const
new file mode 100644
index 000000000..1efcb792c
--- /dev/null
+++ b/sys/openbsd/socket_amd64.const
@@ -0,0 +1,59 @@
+# AUTOGENERATED FILE
+AF_APPLETALK = 16
+AF_BLUETOOTH = 32
+AF_INET = 2
+AF_INET6 = 24
+AF_LOCAL = 1
+AF_NS = 6
+IPPROTO_ICMP = 1
+MSG_CMSG_CLOEXEC = 2048
+MSG_DONTROUTE = 4
+MSG_EOR = 8
+MSG_NOSIGNAL = 1024
+MSG_OOB = 1
+MSG_PEEK = 2
+MSG_WAITALL = 64
+SHUT_RD = 0
+SHUT_RDWR = 2
+SHUT_WR = 1
+SOCK_CLOEXEC = 32768
+SOCK_DGRAM = 2
+SOCK_NONBLOCK = 16384
+SOCK_RAW = 3
+SOCK_RDM = 4
+SOCK_SEQPACKET = 5
+SOCK_STREAM = 1
+SOL_SOCKET = 65535
+SO_BROADCAST = 32
+SO_DEBUG = 1
+SO_DONTROUTE = 16
+SO_ERROR = 4103
+SO_KEEPALIVE = 8
+SO_LINGER = 128
+SO_OOBINLINE = 256
+SO_PEERCRED = 4130
+SO_RCVBUF = 4098
+SO_RCVLOWAT = 4100
+SO_RCVTIMEO = 4102
+SO_REUSEADDR = 4
+SO_REUSEPORT = 512
+SO_SNDBUF = 4097
+SO_SNDLOWAT = 4099
+SO_SNDTIMEO = 4101
+SO_TIMESTAMP = 2048
+SO_TYPE = 4104
+SYS_accept = 30
+SYS_bind = 104
+SYS_connect = 98
+SYS_getpeername = 31
+SYS_getsockname = 32
+SYS_getsockopt = 118
+SYS_listen = 106
+SYS_recvfrom = 29
+SYS_recvmsg = 27
+SYS_sendmsg = 28
+SYS_sendto = 133
+SYS_setsockopt = 105
+SYS_shutdown = 134
+SYS_socket = 97
+SYS_socketpair = 135