summaryrefslogtreecommitdiffstats
path: root/vendor/modernc.org/libc/sys/socket/socket_openbsd_amd64.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/modernc.org/libc/sys/socket/socket_openbsd_amd64.go')
-rw-r--r--vendor/modernc.org/libc/sys/socket/socket_openbsd_amd64.go422
1 files changed, 211 insertions, 211 deletions
diff --git a/vendor/modernc.org/libc/sys/socket/socket_openbsd_amd64.go b/vendor/modernc.org/libc/sys/socket/socket_openbsd_amd64.go
index 479bddf0..cd779132 100644
--- a/vendor/modernc.org/libc/sys/socket/socket_openbsd_amd64.go
+++ b/vendor/modernc.org/libc/sys/socket/socket_openbsd_amd64.go
@@ -1,4 +1,4 @@
-// Code generated by 'ccgo sys/socket/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o sys/socket/socket_openbsd_amd64.go -pkgname socket', DO NOT EDIT.
+// Code generated by 'ccgo sys/socket/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o sys/socket/socket_openbsd_amd64.go -pkgname socket', DO NOT EDIT.
package socket
@@ -15,216 +15,216 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
- AF_APPLETALK = 16
- AF_BLUETOOTH = 32
- AF_CCITT = 10
- AF_CHAOS = 5
- AF_CNT = 21
- AF_COIP = 20
- AF_DATAKIT = 9
- AF_DECnet = 12
- AF_DLI = 13
- AF_E164 = 26
- AF_ECMA = 8
- AF_ENCAP = 28
- AF_HYLINK = 15
- AF_IMPLINK = 3
- AF_INET = 2
- AF_INET6 = 24
- AF_IPX = 23
- AF_ISDN = 26
- AF_ISO = 7
- AF_KEY = 30
- AF_LAT = 14
- AF_LINK = 18
- AF_LOCAL = 1
- AF_MAX = 36
- AF_MPLS = 33
- AF_NATM = 27
- AF_NS = 6
- AF_OSI = 7
- AF_PUP = 4
- AF_ROUTE = 17
- AF_SIP = 29
- AF_SNA = 11
- AF_UNIX = 1
- AF_UNSPEC = 0
- BIG_ENDIAN = 4321
- BYTE_ORDER = 1234
- LITTLE_ENDIAN = 1234
- MSG_BCAST = 0x100
- MSG_CMSG_CLOEXEC = 0x800
- MSG_CTRUNC = 0x20
- MSG_DONTROUTE = 0x4
- MSG_DONTWAIT = 0x80
- MSG_EOR = 0x8
- MSG_MCAST = 0x200
- MSG_NOSIGNAL = 0x400
- MSG_OOB = 0x1
- MSG_PEEK = 0x2
- MSG_TRUNC = 0x10
- MSG_WAITALL = 0x40
- NET_BPF_BUFSIZE = 1
- NET_BPF_MAXBUFSIZE = 2
- NET_BPF_MAXID = 3
- NET_KEY_MAXID = 3
- NET_KEY_SADB_DUMP = 1
- NET_KEY_SPD_DUMP = 2
- NET_LINK_IFRXQ = 1
- NET_LINK_IFRXQ_MAXID = 3
- NET_LINK_IFRXQ_PRESSURE_DROP = 2
- NET_LINK_IFRXQ_PRESSURE_RETURN = 1
- NET_LINK_MAXID = 2
- NET_MAXID = 36
- NET_PFLOW_MAXID = 2
- NET_PFLOW_STATS = 1
- NET_RT_DUMP = 1
- NET_RT_FLAGS = 2
- NET_RT_IFLIST = 3
- NET_RT_IFNAMES = 6
- NET_RT_MAXID = 8
- NET_RT_SOURCE = 7
- NET_RT_STATS = 4
- NET_RT_TABLE = 5
- NET_UNIX_DEFERRED = 7
- NET_UNIX_INFLIGHT = 6
- NET_UNIX_MAXID = 8
- NET_UNIX_PROTO_MAXID = 3
- PDP_ENDIAN = 3412
- PF_APPLETALK = 16
- PF_BLUETOOTH = 32
- PF_BPF = 31
- PF_CCITT = 10
- PF_CHAOS = 5
- PF_CNT = 21
- PF_COIP = 20
- PF_DATAKIT = 9
- PF_DECnet = 12
- PF_DLI = 13
- PF_ECMA = 8
- PF_ENCAP = 28
- PF_HYLINK = 15
- PF_IMPLINK = 3
- PF_INET = 2
- PF_INET6 = 24
- PF_IPX = 23
- PF_ISDN = 26
- PF_ISO = 7
- PF_KEY = 30
- PF_LAT = 14
- PF_LINK = 18
- PF_LOCAL = 1
- PF_MAX = 36
- PF_MPLS = 33
- PF_NATM = 27
- PF_NS = 6
- PF_OSI = 7
- PF_PFLOW = 34
- PF_PIP = 25
- PF_PIPEX = 35
- PF_PUP = 4
- PF_ROUTE = 17
- PF_RTIP = 22
- PF_SIP = 29
- PF_SNA = 11
- PF_UNIX = 1
- PF_UNSPEC = 0
- PF_XTP = 19
- RT_TABLEID_BITS = 8
- RT_TABLEID_MASK = 0xff
- RT_TABLEID_MAX = 255
- SCM_RIGHTS = 0x01
- SCM_TIMESTAMP = 0x04
- SHUT_RD = 0
- SHUT_RDWR = 2
- SHUT_WR = 1
- SOCK_CLOEXEC = 0x8000
- SOCK_DGRAM = 2
- SOCK_DNS = 0x1000
- SOCK_NONBLOCK = 0x4000
- SOCK_RAW = 3
- SOCK_RDM = 4
- SOCK_SEQPACKET = 5
- SOCK_STREAM = 1
- SOL_SOCKET = 0xffff
- SOMAXCONN = 128
- SO_ACCEPTCONN = 0x0002
- SO_BINDANY = 0x1000
- SO_BROADCAST = 0x0020
- SO_DEBUG = 0x0001
- SO_DOMAIN = 0x1024
- SO_DONTROUTE = 0x0010
- SO_ERROR = 0x1007
- SO_KEEPALIVE = 0x0008
- SO_LINGER = 0x0080
- SO_NETPROC = 0x1020
- SO_OOBINLINE = 0x0100
- SO_PEERCRED = 0x1022
- SO_PROTOCOL = 0x1025
- SO_RCVBUF = 0x1002
- SO_RCVLOWAT = 0x1004
- SO_RCVTIMEO = 0x1006
- SO_REUSEADDR = 0x0004
- SO_REUSEPORT = 0x0200
- SO_RTABLE = 0x1021
- SO_SNDBUF = 0x1001
- SO_SNDLOWAT = 0x1003
- SO_SNDTIMEO = 0x1005
- SO_SPLICE = 0x1023
- SO_TIMESTAMP = 0x0800
- SO_TYPE = 0x1008
- SO_USELOOPBACK = 0x0040
- SO_ZEROIZE = 0x2000
- UIO_MAXIOV = 1024
- UNPCTL_RECVSPACE = 1
- UNPCTL_SENDSPACE = 2
- X_BIG_ENDIAN = 4321
- X_BYTE_ORDER = 1234
- X_CLOCKID_T_DEFINED_ = 0
- X_CLOCK_T_DEFINED_ = 0
- X_FILE_OFFSET_BITS = 64
- X_INT16_T_DEFINED_ = 0
- X_INT32_T_DEFINED_ = 0
- X_INT64_T_DEFINED_ = 0
- X_INT8_T_DEFINED_ = 0
- X_LITTLE_ENDIAN = 1234
- X_LP64 = 1
- X_MACHINE_CDEFS_H_ = 0
- X_MACHINE_ENDIAN_H_ = 0
- X_MACHINE__TYPES_H_ = 0
- X_MAX_PAGE_SHIFT = 12
- X_OFF_T_DEFINED_ = 0
- X_PDP_ENDIAN = 3412
- X_PID_T_DEFINED_ = 0
- X_QUAD_HIGHWORD = 1
- X_QUAD_LOWWORD = 0
- X_RET_PROTECTOR = 1
- X_SA_FAMILY_T_DEFINED_ = 0
- X_SIZE_T_DEFINED_ = 0
- X_SOCKLEN_T_DEFINED_ = 0
- X_SSIZE_T_DEFINED_ = 0
- X_STACKALIGNBYTES = 15
- X_SYS_CDEFS_H_ = 0
- X_SYS_ENDIAN_H_ = 0
- X_SYS_SOCKET_H_ = 0
- X_SYS_TYPES_H_ = 0
- X_SYS_UIO_H_ = 0
- X_SYS__ENDIAN_H_ = 0
- X_SYS__TYPES_H_ = 0
- X_TIMER_T_DEFINED_ = 0
- X_TIMEVAL_DECLARED = 0
- X_TIME_T_DEFINED_ = 0
- X_UINT16_T_DEFINED_ = 0
- X_UINT32_T_DEFINED_ = 0
- X_UINT64_T_DEFINED_ = 0
- X_UINT8_T_DEFINED_ = 0
- Pseudo_AF_HDRCMPLT = 31
- Pseudo_AF_PFLOW = 34
- Pseudo_AF_PIP = 25
- Pseudo_AF_PIPEX = 35
- Pseudo_AF_RTIP = 22
- Pseudo_AF_XTP = 19
- Unix = 1
+ AF_APPLETALK = 16 // socket.h:181:1:
+ AF_BLUETOOTH = 32 // socket.h:199:1:
+ AF_CCITT = 10 // socket.h:175:1:
+ AF_CHAOS = 5 // socket.h:169:1:
+ AF_CNT = 21 // socket.h:186:1:
+ AF_COIP = 20 // socket.h:185:1:
+ AF_DATAKIT = 9 // socket.h:174:1:
+ AF_DECnet = 12 // socket.h:177:1:
+ AF_DLI = 13 // socket.h:178:1:
+ AF_E164 = 26 // socket.h:192:1:
+ AF_ECMA = 8 // socket.h:173:1:
+ AF_ENCAP = 28 // socket.h:194:1:
+ AF_HYLINK = 15 // socket.h:180:1:
+ AF_IMPLINK = 3 // socket.h:167:1:
+ AF_INET = 2 // socket.h:166:1:
+ AF_INET6 = 24 // socket.h:189:1:
+ AF_IPX = 23 // socket.h:188:1:
+ AF_ISDN = 26 // socket.h:191:1:
+ AF_ISO = 7 // socket.h:171:1:
+ AF_KEY = 30 // socket.h:196:1:
+ AF_LAT = 14 // socket.h:179:1:
+ AF_LINK = 18 // socket.h:183:1:
+ AF_LOCAL = 1 // socket.h:165:1:
+ AF_MAX = 36 // socket.h:203:1:
+ AF_MPLS = 33 // socket.h:200:1:
+ AF_NATM = 27 // socket.h:193:1:
+ AF_NS = 6 // socket.h:170:1:
+ AF_OSI = 7 // socket.h:172:1:
+ AF_PUP = 4 // socket.h:168:1:
+ AF_ROUTE = 17 // socket.h:182:1:
+ AF_SIP = 29 // socket.h:195:1:
+ AF_SNA = 11 // socket.h:176:1:
+ AF_UNIX = 1 // socket.h:164:1:
+ AF_UNSPEC = 0 // socket.h:163:1:
+ BIG_ENDIAN = 4321 // endian.h:45:1:
+ BYTE_ORDER = 1234 // endian.h:47:1:
+ LITTLE_ENDIAN = 1234 // endian.h:44:1:
+ MSG_BCAST = 0x100 // socket.h:501:1:
+ MSG_CMSG_CLOEXEC = 0x800 // socket.h:504:1:
+ MSG_CTRUNC = 0x20 // socket.h:498:1:
+ MSG_DONTROUTE = 0x4 // socket.h:495:1:
+ MSG_DONTWAIT = 0x80 // socket.h:500:1:
+ MSG_EOR = 0x8 // socket.h:496:1:
+ MSG_MCAST = 0x200 // socket.h:502:1:
+ MSG_NOSIGNAL = 0x400 // socket.h:503:1:
+ MSG_OOB = 0x1 // socket.h:493:1:
+ MSG_PEEK = 0x2 // socket.h:494:1:
+ MSG_TRUNC = 0x10 // socket.h:497:1:
+ MSG_WAITALL = 0x40 // socket.h:499:1:
+ NET_BPF_BUFSIZE = 1 // socket.h:452:1:
+ NET_BPF_MAXBUFSIZE = 2 // socket.h:453:1:
+ NET_BPF_MAXID = 3 // socket.h:454:1:
+ NET_KEY_MAXID = 3 // socket.h:441:1:
+ NET_KEY_SADB_DUMP = 1 // socket.h:439:1:
+ NET_KEY_SPD_DUMP = 2 // socket.h:440:1:
+ NET_LINK_IFRXQ = 1 // socket.h:416:1:
+ NET_LINK_IFRXQ_MAXID = 3 // socket.h:428:1:
+ NET_LINK_IFRXQ_PRESSURE_DROP = 2 // socket.h:426:1:
+ NET_LINK_IFRXQ_PRESSURE_RETURN = 1 // socket.h:424:1:
+ NET_LINK_MAXID = 2 // socket.h:417:1:
+ NET_MAXID = 36 // socket.h:314:1:
+ NET_PFLOW_MAXID = 2 // socket.h:466:1:
+ NET_PFLOW_STATS = 1 // socket.h:465:1:
+ NET_RT_DUMP = 1 // socket.h:365:1:
+ NET_RT_FLAGS = 2 // socket.h:366:1:
+ NET_RT_IFLIST = 3 // socket.h:367:1:
+ NET_RT_IFNAMES = 6 // socket.h:370:1:
+ NET_RT_MAXID = 8 // socket.h:372:1:
+ NET_RT_SOURCE = 7 // socket.h:371:1:
+ NET_RT_STATS = 4 // socket.h:368:1:
+ NET_RT_TABLE = 5 // socket.h:369:1:
+ NET_UNIX_DEFERRED = 7 // socket.h:389:1:
+ NET_UNIX_INFLIGHT = 6 // socket.h:388:1:
+ NET_UNIX_MAXID = 8 // socket.h:390:1:
+ NET_UNIX_PROTO_MAXID = 3 // socket.h:405:1:
+ PDP_ENDIAN = 3412 // endian.h:46:1:
+ PF_APPLETALK = 16 // socket.h:267:1:
+ PF_BLUETOOTH = 32 // socket.h:283:1:
+ PF_BPF = 31 // socket.h:282:1:
+ PF_CCITT = 10 // socket.h:261:1:
+ PF_CHAOS = 5 // socket.h:255:1:
+ PF_CNT = 21 // socket.h:272:1:
+ PF_COIP = 20 // socket.h:271:1:
+ PF_DATAKIT = 9 // socket.h:260:1:
+ PF_DECnet = 12 // socket.h:263:1:
+ PF_DLI = 13 // socket.h:264:1:
+ PF_ECMA = 8 // socket.h:259:1:
+ PF_ENCAP = 28 // socket.h:279:1:
+ PF_HYLINK = 15 // socket.h:266:1:
+ PF_IMPLINK = 3 // socket.h:253:1:
+ PF_INET = 2 // socket.h:252:1:
+ PF_INET6 = 24 // socket.h:274:1:
+ PF_IPX = 23 // socket.h:273:1:
+ PF_ISDN = 26 // socket.h:277:1:
+ PF_ISO = 7 // socket.h:257:1:
+ PF_KEY = 30 // socket.h:281:1:
+ PF_LAT = 14 // socket.h:265:1:
+ PF_LINK = 18 // socket.h:269:1:
+ PF_LOCAL = 1 // socket.h:250:1:
+ PF_MAX = 36 // socket.h:287:1:
+ PF_MPLS = 33 // socket.h:284:1:
+ PF_NATM = 27 // socket.h:278:1:
+ PF_NS = 6 // socket.h:256:1:
+ PF_OSI = 7 // socket.h:258:1:
+ PF_PFLOW = 34 // socket.h:285:1:
+ PF_PIP = 25 // socket.h:276:1:
+ PF_PIPEX = 35 // socket.h:286:1:
+ PF_PUP = 4 // socket.h:254:1:
+ PF_ROUTE = 17 // socket.h:268:1:
+ PF_RTIP = 22 // socket.h:275:1:
+ PF_SIP = 29 // socket.h:280:1:
+ PF_SNA = 11 // socket.h:262:1:
+ PF_UNIX = 1 // socket.h:251:1:
+ PF_UNSPEC = 0 // socket.h:249:1:
+ PF_XTP = 19 // socket.h:270:1:
+ RT_TABLEID_BITS = 8 // socket.h:150:1:
+ RT_TABLEID_MASK = 0xff // socket.h:151:1:
+ RT_TABLEID_MAX = 255 // socket.h:149:1:
+ SCM_RIGHTS = 0x01 // socket.h:552:1:
+ SCM_TIMESTAMP = 0x04 // socket.h:553:1:
+ SHUT_RD = 0 // socket.h:292:1:
+ SHUT_RDWR = 2 // socket.h:294:1:
+ SHUT_WR = 1 // socket.h:293:1:
+ SOCK_CLOEXEC = 0x8000 // socket.h:76:1:
+ SOCK_DGRAM = 2 // socket.h:64:1:
+ SOCK_DNS = 0x1000 // socket.h:81:1:
+ SOCK_NONBLOCK = 0x4000 // socket.h:77:1:
+ SOCK_RAW = 3 // socket.h:65:1:
+ SOCK_RDM = 4 // socket.h:66:1:
+ SOCK_SEQPACKET = 5 // socket.h:67:1:
+ SOCK_STREAM = 1 // socket.h:63:1:
+ SOL_SOCKET = 0xffff // socket.h:158:1:
+ SOMAXCONN = 128 // socket.h:477:1:
+ SO_ACCEPTCONN = 0x0002 // socket.h:88:1:
+ SO_BINDANY = 0x1000 // socket.h:98:1:
+ SO_BROADCAST = 0x0020 // socket.h:92:1:
+ SO_DEBUG = 0x0001 // socket.h:87:1:
+ SO_DOMAIN = 0x1024 // socket.h:116:1:
+ SO_DONTROUTE = 0x0010 // socket.h:91:1:
+ SO_ERROR = 0x1007 // socket.h:110:1:
+ SO_KEEPALIVE = 0x0008 // socket.h:90:1:
+ SO_LINGER = 0x0080 // socket.h:94:1:
+ SO_NETPROC = 0x1020 // socket.h:112:1:
+ SO_OOBINLINE = 0x0100 // socket.h:95:1:
+ SO_PEERCRED = 0x1022 // socket.h:114:1:
+ SO_PROTOCOL = 0x1025 // socket.h:117:1:
+ SO_RCVBUF = 0x1002 // socket.h:105:1:
+ SO_RCVLOWAT = 0x1004 // socket.h:107:1:
+ SO_RCVTIMEO = 0x1006 // socket.h:109:1:
+ SO_REUSEADDR = 0x0004 // socket.h:89:1:
+ SO_REUSEPORT = 0x0200 // socket.h:96:1:
+ SO_RTABLE = 0x1021 // socket.h:113:1:
+ SO_SNDBUF = 0x1001 // socket.h:104:1:
+ SO_SNDLOWAT = 0x1003 // socket.h:106:1:
+ SO_SNDTIMEO = 0x1005 // socket.h:108:1:
+ SO_SPLICE = 0x1023 // socket.h:115:1:
+ SO_TIMESTAMP = 0x0800 // socket.h:97:1:
+ SO_TYPE = 0x1008 // socket.h:111:1:
+ SO_USELOOPBACK = 0x0040 // socket.h:93:1:
+ SO_ZEROIZE = 0x2000 // socket.h:99:1:
+ UIO_MAXIOV = 1024 // uio.h:84:1:
+ UNPCTL_RECVSPACE = 1 // socket.h:403:1:
+ UNPCTL_SENDSPACE = 2 // socket.h:404:1:
+ X_BIG_ENDIAN = 4321 // _endian.h:43:1:
+ X_BYTE_ORDER = 1234 // endian.h:58:1:
+ X_CLOCKID_T_DEFINED_ = 0 // types.h:163:1:
+ X_CLOCK_T_DEFINED_ = 0 // types.h:158:1:
+ X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
+ X_INT16_T_DEFINED_ = 0 // types.h:84:1:
+ X_INT32_T_DEFINED_ = 0 // types.h:94:1:
+ X_INT64_T_DEFINED_ = 0 // types.h:104:1:
+ X_INT8_T_DEFINED_ = 0 // types.h:74:1:
+ X_LITTLE_ENDIAN = 1234 // _endian.h:42:1:
+ X_LP64 = 1 // <predefined>:1:1:
+ X_MACHINE_CDEFS_H_ = 0 // cdefs.h:9:1:
+ X_MACHINE_ENDIAN_H_ = 0 // endian.h:28:1:
+ X_MACHINE__TYPES_H_ = 0 // _types.h:36:1:
+ X_MAX_PAGE_SHIFT = 12 // _types.h:52:1:
+ X_OFF_T_DEFINED_ = 0 // types.h:193:1:
+ X_PDP_ENDIAN = 3412 // _endian.h:44:1:
+ X_PID_T_DEFINED_ = 0 // types.h:168:1:
+ X_QUAD_HIGHWORD = 1 // _endian.h:95:1:
+ X_QUAD_LOWWORD = 0 // _endian.h:96:1:
+ X_RET_PROTECTOR = 1 // <predefined>:2:1:
+ X_SA_FAMILY_T_DEFINED_ = 0 // socket.h:51:1:
+ X_SIZE_T_DEFINED_ = 0 // uio.h:42:1:
+ X_SOCKLEN_T_DEFINED_ = 0 // socket.h:46:1:
+ X_SSIZE_T_DEFINED_ = 0 // uio.h:47:1:
+ X_STACKALIGNBYTES = 15 // _types.h:49:1:
+ X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
+ X_SYS_ENDIAN_H_ = 0 // endian.h:38:1:
+ X_SYS_SOCKET_H_ = 0 // socket.h:36:1:
+ X_SYS_TYPES_H_ = 0 // types.h:41:1:
+ X_SYS_UIO_H_ = 0 // uio.h:36:1:
+ X_SYS__ENDIAN_H_ = 0 // _endian.h:34:1:
+ X_SYS__TYPES_H_ = 0 // _types.h:35:1:
+ X_TIMER_T_DEFINED_ = 0 // types.h:188:1:
+ X_TIMEVAL_DECLARED = 0 // socket.h:130:1:
+ X_TIME_T_DEFINED_ = 0 // types.h:183:1:
+ X_UINT16_T_DEFINED_ = 0 // types.h:89:1:
+ X_UINT32_T_DEFINED_ = 0 // types.h:99:1:
+ X_UINT64_T_DEFINED_ = 0 // types.h:109:1:
+ X_UINT8_T_DEFINED_ = 0 // types.h:79:1:
+ Pseudo_AF_HDRCMPLT = 31 // socket.h:197:1:
+ Pseudo_AF_PFLOW = 34 // socket.h:201:1:
+ Pseudo_AF_PIP = 25 // socket.h:190:1:
+ Pseudo_AF_PIPEX = 35 // socket.h:202:1:
+ Pseudo_AF_RTIP = 22 // socket.h:187:1:
+ Pseudo_AF_XTP = 19 // socket.h:184:1:
+ Unix = 1 // <predefined>:340:1:
)
const ( /* uio.h:57:1: */