From b771b17ec95715c24715d730363f6f07bc46fd4f Mon Sep 17 00:00:00 2001 From: Anton Lindqvist Date: Tue, 28 Aug 2018 19:07:26 +0200 Subject: 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 --- sys/openbsd/socket_amd64.const | 59 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 sys/openbsd/socket_amd64.const (limited to 'sys/openbsd/socket_amd64.const') 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 -- cgit mrf-deployment