chore(deps): Update sqlite dependencies
This commit is contained in:
10
vendor/modernc.org/libc/sys/socket/capi_darwin_amd64.go
generated
vendored
10
vendor/modernc.org/libc/sys/socket/capi_darwin_amd64.go
generated
vendored
@ -1,5 +1,11 @@
|
||||
// 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_darwin_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_darwin_amd64.go -pkgname socket', DO NOT EDIT.
|
||||
|
||||
package socket
|
||||
|
||||
var CAPI = map[string]struct{}{}
|
||||
var CAPI = map[string]struct{}{
|
||||
"__darwin_check_fd_set": {},
|
||||
"__darwin_check_fd_set_overflow": {},
|
||||
"__darwin_fd_clr": {},
|
||||
"__darwin_fd_isset": {},
|
||||
"__darwin_fd_set": {},
|
||||
}
|
||||
|
10
vendor/modernc.org/libc/sys/socket/capi_darwin_arm64.go
generated
vendored
10
vendor/modernc.org/libc/sys/socket/capi_darwin_arm64.go
generated
vendored
@ -1,5 +1,11 @@
|
||||
// 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 -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o sys/socket/socket_darwin_arm64.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_darwin_arm64.go -pkgname socket', DO NOT EDIT.
|
||||
|
||||
package socket
|
||||
|
||||
var CAPI = map[string]struct{}{}
|
||||
var CAPI = map[string]struct{}{
|
||||
"__darwin_check_fd_set": {},
|
||||
"__darwin_check_fd_set_overflow": {},
|
||||
"__darwin_fd_clr": {},
|
||||
"__darwin_fd_isset": {},
|
||||
"__darwin_fd_set": {},
|
||||
}
|
||||
|
2
vendor/modernc.org/libc/sys/socket/capi_freebsd_amd64.go
generated
vendored
2
vendor/modernc.org/libc/sys/socket/capi_freebsd_amd64.go
generated
vendored
@ -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_freebsd_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_freebsd_amd64.go -pkgname socket', DO NOT EDIT.
|
||||
|
||||
package socket
|
||||
|
||||
|
2
vendor/modernc.org/libc/sys/socket/capi_linux_amd64.go
generated
vendored
2
vendor/modernc.org/libc/sys/socket/capi_linux_amd64.go
generated
vendored
@ -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_linux_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_linux_amd64.go -pkgname socket', DO NOT EDIT.
|
||||
|
||||
package socket
|
||||
|
||||
|
2
vendor/modernc.org/libc/sys/socket/capi_netbsd_amd64.go
generated
vendored
2
vendor/modernc.org/libc/sys/socket/capi_netbsd_amd64.go
generated
vendored
@ -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_netbsd_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_netbsd_amd64.go -pkgname socket', DO NOT EDIT.
|
||||
|
||||
package socket
|
||||
|
||||
|
689
vendor/modernc.org/libc/sys/socket/socket_darwin_amd64.go
generated
vendored
689
vendor/modernc.org/libc/sys/socket/socket_darwin_amd64.go
generated
vendored
@ -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_darwin_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_darwin_amd64.go -pkgname socket', DO NOT EDIT.
|
||||
|
||||
package socket
|
||||
|
||||
@ -15,323 +15,323 @@ var _ atomic.Value
|
||||
var _ unsafe.Pointer
|
||||
|
||||
const (
|
||||
AF_APPLETALK = 16
|
||||
AF_CCITT = 10
|
||||
AF_CHAOS = 5
|
||||
AF_CNT = 21
|
||||
AF_COIP = 20
|
||||
AF_DATAKIT = 9
|
||||
AF_DECnet = 12
|
||||
AF_DLI = 13
|
||||
AF_E164 = 28
|
||||
AF_ECMA = 8
|
||||
AF_HYLINK = 15
|
||||
AF_IEEE80211 = 37
|
||||
AF_IMPLINK = 3
|
||||
AF_INET = 2
|
||||
AF_INET6 = 30
|
||||
AF_IPX = 23
|
||||
AF_ISDN = 28
|
||||
AF_ISO = 7
|
||||
AF_LAT = 14
|
||||
AF_LINK = 18
|
||||
AF_LOCAL = 1
|
||||
AF_MAX = 40
|
||||
AF_NATM = 31
|
||||
AF_NDRV = 27
|
||||
AF_NETBIOS = 33
|
||||
AF_NS = 6
|
||||
AF_OSI = 7
|
||||
AF_PPP = 34
|
||||
AF_PUP = 4
|
||||
AF_RESERVED_36 = 36
|
||||
AF_ROUTE = 17
|
||||
AF_SIP = 24
|
||||
AF_SNA = 11
|
||||
AF_SYSTEM = 32
|
||||
AF_UNIX = 1
|
||||
AF_UNSPEC = 0
|
||||
AF_UTUN = 38
|
||||
BIG_ENDIAN = 4321
|
||||
BYTE_ORDER = 1234
|
||||
CONNECT_DATA_AUTHENTICATED = 0x4
|
||||
CONNECT_DATA_IDEMPOTENT = 0x2
|
||||
CONNECT_RESUME_ON_READ_WRITE = 0x1
|
||||
FD_SETSIZE = 1024
|
||||
KEV_DL_ADDMULTI = 7
|
||||
KEV_DL_AWDL_RESTRICTED = 26
|
||||
KEV_DL_AWDL_UNRESTRICTED = 27
|
||||
KEV_DL_DELMULTI = 8
|
||||
KEV_DL_IFCAP_CHANGED = 19
|
||||
KEV_DL_IFDELEGATE_CHANGED = 25
|
||||
KEV_DL_IF_ATTACHED = 9
|
||||
KEV_DL_IF_DETACHED = 11
|
||||
KEV_DL_IF_DETACHING = 10
|
||||
KEV_DL_IF_IDLE_ROUTE_REFCNT = 18
|
||||
KEV_DL_ISSUES = 24
|
||||
KEV_DL_LINK_ADDRESS_CHANGED = 16
|
||||
KEV_DL_LINK_OFF = 12
|
||||
KEV_DL_LINK_ON = 13
|
||||
KEV_DL_LINK_QUALITY_METRIC_CHANGED = 20
|
||||
KEV_DL_LOW_POWER_MODE_CHANGED = 30
|
||||
KEV_DL_MASTER_ELECTED = 23
|
||||
KEV_DL_NODE_ABSENCE = 22
|
||||
KEV_DL_NODE_PRESENCE = 21
|
||||
KEV_DL_PROTO_ATTACHED = 14
|
||||
KEV_DL_PROTO_DETACHED = 15
|
||||
KEV_DL_QOS_MODE_CHANGED = 29
|
||||
KEV_DL_RRC_STATE_CHANGED = 28
|
||||
KEV_DL_SIFFLAGS = 1
|
||||
KEV_DL_SIFGENERIC = 6
|
||||
KEV_DL_SIFMEDIA = 5
|
||||
KEV_DL_SIFMETRICS = 2
|
||||
KEV_DL_SIFMTU = 3
|
||||
KEV_DL_SIFPHYS = 4
|
||||
KEV_DL_SUBCLASS = 2
|
||||
KEV_DL_WAKEFLAGS_CHANGED = 17
|
||||
KEV_INET6_ADDR_DELETED = 3
|
||||
KEV_INET6_CHANGED_ADDR = 2
|
||||
KEV_INET6_DEFROUTER = 6
|
||||
KEV_INET6_NEW_LL_ADDR = 4
|
||||
KEV_INET6_NEW_RTADV_ADDR = 5
|
||||
KEV_INET6_NEW_USER_ADDR = 1
|
||||
KEV_INET6_REQUEST_NAT64_PREFIX = 7
|
||||
KEV_INET6_SUBCLASS = 6
|
||||
KEV_INET_ADDR_DELETED = 3
|
||||
KEV_INET_ARPCOLLISION = 7
|
||||
KEV_INET_ARPRTRALIVE = 10
|
||||
KEV_INET_ARPRTRFAILURE = 9
|
||||
KEV_INET_CHANGED_ADDR = 2
|
||||
KEV_INET_NEW_ADDR = 1
|
||||
KEV_INET_PORTINUSE = 8
|
||||
KEV_INET_SIFBRDADDR = 5
|
||||
KEV_INET_SIFDSTADDR = 4
|
||||
KEV_INET_SIFNETMASK = 6
|
||||
KEV_INET_SUBCLASS = 1
|
||||
LITTLE_ENDIAN = 1234
|
||||
MSG_CTRUNC = 0x20
|
||||
MSG_DONTROUTE = 0x4
|
||||
MSG_DONTWAIT = 0x80
|
||||
MSG_EOF = 0x100
|
||||
MSG_EOR = 0x8
|
||||
MSG_FLUSH = 0x400
|
||||
MSG_HAVEMORE = 0x2000
|
||||
MSG_HOLD = 0x800
|
||||
MSG_NEEDSA = 0x10000
|
||||
MSG_OOB = 0x1
|
||||
MSG_PEEK = 0x2
|
||||
MSG_RCVMORE = 0x4000
|
||||
MSG_SEND = 0x1000
|
||||
MSG_TRUNC = 0x10
|
||||
MSG_WAITALL = 0x40
|
||||
MSG_WAITSTREAM = 0x200
|
||||
NBBY = 8
|
||||
NETSVC_MRKNG_LVL_L2 = 1
|
||||
NETSVC_MRKNG_LVL_L3L2_ALL = 2
|
||||
NETSVC_MRKNG_LVL_L3L2_BK = 3
|
||||
NETSVC_MRKNG_UNKNOWN = 0
|
||||
NET_MAXID = 40
|
||||
NET_RT_DUMP = 1
|
||||
NET_RT_DUMP2 = 7
|
||||
NET_RT_FLAGS = 2
|
||||
NET_RT_FLAGS_PRIV = 10
|
||||
NET_RT_IFLIST = 3
|
||||
NET_RT_IFLIST2 = 6
|
||||
NET_RT_MAXID = 11
|
||||
NET_RT_STAT = 4
|
||||
NET_RT_TRASH = 5
|
||||
NET_SERVICE_TYPE_AV = 6
|
||||
NET_SERVICE_TYPE_BE = 0
|
||||
NET_SERVICE_TYPE_BK = 1
|
||||
NET_SERVICE_TYPE_OAM = 7
|
||||
NET_SERVICE_TYPE_RD = 8
|
||||
NET_SERVICE_TYPE_RV = 5
|
||||
NET_SERVICE_TYPE_SIG = 2
|
||||
NET_SERVICE_TYPE_VI = 3
|
||||
NET_SERVICE_TYPE_VO = 4
|
||||
PDP_ENDIAN = 3412
|
||||
PF_APPLETALK = 16
|
||||
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_HYLINK = 15
|
||||
PF_IMPLINK = 3
|
||||
PF_INET = 2
|
||||
PF_INET6 = 30
|
||||
PF_IPX = 23
|
||||
PF_ISDN = 28
|
||||
PF_ISO = 7
|
||||
PF_KEY = 29
|
||||
PF_LAT = 14
|
||||
PF_LINK = 18
|
||||
PF_LOCAL = 1
|
||||
PF_MAX = 40
|
||||
PF_NATM = 31
|
||||
PF_NDRV = 27
|
||||
PF_NETBIOS = 33
|
||||
PF_NS = 6
|
||||
PF_OSI = 7
|
||||
PF_PIP = 25
|
||||
PF_PPP = 34
|
||||
PF_PUP = 4
|
||||
PF_RESERVED_36 = 36
|
||||
PF_ROUTE = 17
|
||||
PF_RTIP = 22
|
||||
PF_SIP = 24
|
||||
PF_SNA = 11
|
||||
PF_SYSTEM = 32
|
||||
PF_UNIX = 1
|
||||
PF_UNSPEC = 0
|
||||
PF_UTUN = 38
|
||||
PF_XTP = 19
|
||||
SAE_ASSOCID_ANY = 0
|
||||
SAE_CONNID_ANY = 0
|
||||
SCM_CREDS = 0x03
|
||||
SCM_RIGHTS = 0x01
|
||||
SCM_TIMESTAMP = 0x02
|
||||
SCM_TIMESTAMP_MONOTONIC = 0x04
|
||||
SHUT_RD = 0
|
||||
SHUT_RDWR = 2
|
||||
SHUT_WR = 1
|
||||
SOCK_DGRAM = 2
|
||||
SOCK_MAXADDRLEN = 255
|
||||
SOCK_RAW = 3
|
||||
SOCK_RDM = 4
|
||||
SOCK_SEQPACKET = 5
|
||||
SOCK_STREAM = 1
|
||||
SOL_SOCKET = 0xffff
|
||||
SOMAXCONN = 128
|
||||
SONPX_SETOPTSHUT = 0x000000001
|
||||
SO_ACCEPTCONN = 0x0002
|
||||
SO_BROADCAST = 0x0020
|
||||
SO_DEBUG = 0x0001
|
||||
SO_DONTROUTE = 0x0010
|
||||
SO_DONTTRUNC = 0x2000
|
||||
SO_ERROR = 0x1007
|
||||
SO_KEEPALIVE = 0x0008
|
||||
SO_LABEL = 0x1010
|
||||
SO_LINGER = 0x0080
|
||||
SO_LINGER_SEC = 0x1080
|
||||
SO_NETSVC_MARKING_LEVEL = 0x1119
|
||||
SO_NET_SERVICE_TYPE = 0x1116
|
||||
SO_NKE = 0x1021
|
||||
SO_NOADDRERR = 0x1023
|
||||
SO_NOSIGPIPE = 0x1022
|
||||
SO_NOTIFYCONFLICT = 0x1026
|
||||
SO_NP_EXTENSIONS = 0x1083
|
||||
SO_NREAD = 0x1020
|
||||
SO_NUMRCVPKT = 0x1112
|
||||
SO_NWRITE = 0x1024
|
||||
SO_OOBINLINE = 0x0100
|
||||
SO_PEERLABEL = 0x1011
|
||||
SO_RANDOMPORT = 0x1082
|
||||
SO_RCVBUF = 0x1002
|
||||
SO_RCVLOWAT = 0x1004
|
||||
SO_RCVTIMEO = 0x1006
|
||||
SO_REUSEADDR = 0x0004
|
||||
SO_REUSEPORT = 0x0200
|
||||
SO_REUSESHAREUID = 0x1025
|
||||
SO_SNDBUF = 0x1001
|
||||
SO_SNDLOWAT = 0x1003
|
||||
SO_SNDTIMEO = 0x1005
|
||||
SO_TIMESTAMP = 0x0400
|
||||
SO_TIMESTAMP_MONOTONIC = 0x0800
|
||||
SO_TYPE = 0x1008
|
||||
SO_UPCALLCLOSEWAIT = 0x1027
|
||||
SO_USELOOPBACK = 0x0040
|
||||
SO_WANTMORE = 0x4000
|
||||
SO_WANTOOBFLAG = 0x8000
|
||||
X_BLKCNT_T = 0
|
||||
X_BLKSIZE_T = 0
|
||||
X_BSD_I386__TYPES_H_ = 0
|
||||
X_BSD_MACHINE_ENDIAN_H_ = 0
|
||||
X_BSD_MACHINE_TYPES_H_ = 0
|
||||
X_BSD_MACHINE__TYPES_H_ = 0
|
||||
X_CADDR_T = 0
|
||||
X_CDEFS_H_ = 0
|
||||
X_CLOCK_T = 0
|
||||
X_DARWIN_FEATURE_64_BIT_INODE = 1
|
||||
X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1
|
||||
X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3
|
||||
X_DEV_T = 0
|
||||
X_ERRNO_T = 0
|
||||
X_FD_SET = 0
|
||||
X_FILE_OFFSET_BITS = 64
|
||||
X_FSBLKCNT_T = 0
|
||||
X_FSFILCNT_T = 0
|
||||
X_GID_T = 0
|
||||
X_I386__ENDIAN_H_ = 0
|
||||
X_I386__PARAM_H_ = 0
|
||||
X_ID_T = 0
|
||||
X_INO64_T = 0
|
||||
X_INO_T = 0
|
||||
X_INT16_T = 0
|
||||
X_INT32_T = 0
|
||||
X_INT64_T = 0
|
||||
X_INT8_T = 0
|
||||
X_INTPTR_T = 0
|
||||
X_IN_ADDR_T = 0
|
||||
X_IN_PORT_T = 0
|
||||
X_KEY_T = 0
|
||||
X_LP64 = 1
|
||||
X_MACHTYPES_H_ = 0
|
||||
X_MODE_T = 0
|
||||
X_NET_NETKEV_H_ = 0
|
||||
X_NLINK_T = 0
|
||||
X_Nonnull = 0
|
||||
X_Null_unspecified = 0
|
||||
X_Nullable = 0
|
||||
X_OFF_T = 0
|
||||
X_OS__OSBYTEORDERI386_H = 0
|
||||
X_OS__OSBYTEORDER_H = 0
|
||||
X_PID_T = 0
|
||||
X_PTHREAD_ATTR_T = 0
|
||||
X_PTHREAD_CONDATTR_T = 0
|
||||
X_PTHREAD_COND_T = 0
|
||||
X_PTHREAD_KEY_T = 0
|
||||
X_PTHREAD_MUTEXATTR_T = 0
|
||||
X_PTHREAD_MUTEX_T = 0
|
||||
X_PTHREAD_ONCE_T = 0
|
||||
X_PTHREAD_RWLOCKATTR_T = 0
|
||||
X_PTHREAD_RWLOCK_T = 0
|
||||
X_PTHREAD_T = 0
|
||||
X_QUAD_HIGHWORD = 1
|
||||
X_QUAD_LOWWORD = 0
|
||||
X_RSIZE_T = 0
|
||||
X_SA_FAMILY_T = 0
|
||||
X_SIZE_T = 0
|
||||
X_SOCKLEN_T = 0
|
||||
X_SSIZE_T = 0
|
||||
X_SS_MAXSIZE = 128
|
||||
X_STRUCT_IOVEC = 0
|
||||
X_SUSECONDS_T = 0
|
||||
X_SYS_SOCKET_H_ = 0
|
||||
X_SYS_TYPES_H_ = 0
|
||||
X_SYS__ENDIAN_H_ = 0
|
||||
X_SYS__PTHREAD_TYPES_H_ = 0
|
||||
X_SYS__TYPES_H_ = 0
|
||||
X_TIME_T = 0
|
||||
X_UID_T = 0
|
||||
X_UINTPTR_T = 0
|
||||
X_USECONDS_T = 0
|
||||
X_U_CHAR = 0
|
||||
X_U_INT = 0
|
||||
X_U_INT16_T = 0
|
||||
X_U_INT32_T = 0
|
||||
X_U_INT64_T = 0
|
||||
X_U_INT8_T = 0
|
||||
X_U_LONG = 0
|
||||
X_U_SHORT = 0
|
||||
Pseudo_AF_HDRCMPLT = 35
|
||||
Pseudo_AF_KEY = 29
|
||||
Pseudo_AF_PIP = 25
|
||||
Pseudo_AF_RTIP = 22
|
||||
Pseudo_AF_XTP = 19
|
||||
AF_APPLETALK = 16 // socket.h:375:1:
|
||||
AF_CCITT = 10 // socket.h:369:1:
|
||||
AF_CHAOS = 5 // socket.h:363:1:
|
||||
AF_CNT = 21 // socket.h:380:1:
|
||||
AF_COIP = 20 // socket.h:379:1:
|
||||
AF_DATAKIT = 9 // socket.h:368:1:
|
||||
AF_DECnet = 12 // socket.h:371:1:
|
||||
AF_DLI = 13 // socket.h:372:1:
|
||||
AF_E164 = 28 // socket.h:387:1:
|
||||
AF_ECMA = 8 // socket.h:367:1:
|
||||
AF_HYLINK = 15 // socket.h:374:1:
|
||||
AF_IEEE80211 = 37 // socket.h:399:1:
|
||||
AF_IMPLINK = 3 // socket.h:361:1:
|
||||
AF_INET = 2 // socket.h:359:1:
|
||||
AF_INET6 = 30 // socket.h:390:1:
|
||||
AF_IPX = 23 // socket.h:382:1:
|
||||
AF_ISDN = 28 // socket.h:386:1:
|
||||
AF_ISO = 7 // socket.h:365:1:
|
||||
AF_LAT = 14 // socket.h:373:1:
|
||||
AF_LINK = 18 // socket.h:377:1:
|
||||
AF_LOCAL = 1 // socket.h:357:1:
|
||||
AF_MAX = 40 // socket.h:401:1:
|
||||
AF_NATM = 31 // socket.h:392:1:
|
||||
AF_NDRV = 27 // socket.h:385:1:
|
||||
AF_NETBIOS = 33 // socket.h:394:1:
|
||||
AF_NS = 6 // socket.h:364:1:
|
||||
AF_OSI = 7 // socket.h:366:1:
|
||||
AF_PPP = 34 // socket.h:395:1:
|
||||
AF_PUP = 4 // socket.h:362:1:
|
||||
AF_RESERVED_36 = 36 // socket.h:398:1:
|
||||
AF_ROUTE = 17 // socket.h:376:1:
|
||||
AF_SIP = 24 // socket.h:383:1:
|
||||
AF_SNA = 11 // socket.h:370:1:
|
||||
AF_SYSTEM = 32 // socket.h:393:1:
|
||||
AF_UNIX = 1 // socket.h:355:1:
|
||||
AF_UNSPEC = 0 // socket.h:354:1:
|
||||
AF_UTUN = 38 // socket.h:400:1:
|
||||
BIG_ENDIAN = 4321 // endian.h:94:1:
|
||||
BYTE_ORDER = 1234 // endian.h:97:1:
|
||||
CONNECT_DATA_AUTHENTICATED = 0x4 // socket.h:300:1:
|
||||
CONNECT_DATA_IDEMPOTENT = 0x2 // socket.h:299:1:
|
||||
CONNECT_RESUME_ON_READ_WRITE = 0x1 // socket.h:298:1:
|
||||
FD_SETSIZE = 1024 // _fd_setsize.h:29:1:
|
||||
KEV_DL_ADDMULTI = 7 // net_kev.h:61:1:
|
||||
KEV_DL_AWDL_RESTRICTED = 26 // net_kev.h:80:1:
|
||||
KEV_DL_AWDL_UNRESTRICTED = 27 // net_kev.h:81:1:
|
||||
KEV_DL_DELMULTI = 8 // net_kev.h:62:1:
|
||||
KEV_DL_IFCAP_CHANGED = 19 // net_kev.h:73:1:
|
||||
KEV_DL_IFDELEGATE_CHANGED = 25 // net_kev.h:79:1:
|
||||
KEV_DL_IF_ATTACHED = 9 // net_kev.h:63:1:
|
||||
KEV_DL_IF_DETACHED = 11 // net_kev.h:65:1:
|
||||
KEV_DL_IF_DETACHING = 10 // net_kev.h:64:1:
|
||||
KEV_DL_IF_IDLE_ROUTE_REFCNT = 18 // net_kev.h:72:1:
|
||||
KEV_DL_ISSUES = 24 // net_kev.h:78:1:
|
||||
KEV_DL_LINK_ADDRESS_CHANGED = 16 // net_kev.h:70:1:
|
||||
KEV_DL_LINK_OFF = 12 // net_kev.h:66:1:
|
||||
KEV_DL_LINK_ON = 13 // net_kev.h:67:1:
|
||||
KEV_DL_LINK_QUALITY_METRIC_CHANGED = 20 // net_kev.h:74:1:
|
||||
KEV_DL_LOW_POWER_MODE_CHANGED = 30 // net_kev.h:84:1:
|
||||
KEV_DL_MASTER_ELECTED = 23 // net_kev.h:77:1:
|
||||
KEV_DL_NODE_ABSENCE = 22 // net_kev.h:76:1:
|
||||
KEV_DL_NODE_PRESENCE = 21 // net_kev.h:75:1:
|
||||
KEV_DL_PROTO_ATTACHED = 14 // net_kev.h:68:1:
|
||||
KEV_DL_PROTO_DETACHED = 15 // net_kev.h:69:1:
|
||||
KEV_DL_QOS_MODE_CHANGED = 29 // net_kev.h:83:1:
|
||||
KEV_DL_RRC_STATE_CHANGED = 28 // net_kev.h:82:1:
|
||||
KEV_DL_SIFFLAGS = 1 // net_kev.h:55:1:
|
||||
KEV_DL_SIFGENERIC = 6 // net_kev.h:60:1:
|
||||
KEV_DL_SIFMEDIA = 5 // net_kev.h:59:1:
|
||||
KEV_DL_SIFMETRICS = 2 // net_kev.h:56:1:
|
||||
KEV_DL_SIFMTU = 3 // net_kev.h:57:1:
|
||||
KEV_DL_SIFPHYS = 4 // net_kev.h:58:1:
|
||||
KEV_DL_SUBCLASS = 2 // net_kev.h:50:1:
|
||||
KEV_DL_WAKEFLAGS_CHANGED = 17 // net_kev.h:71:1:
|
||||
KEV_INET6_ADDR_DELETED = 3 // net_kev.h:91:1:
|
||||
KEV_INET6_CHANGED_ADDR = 2 // net_kev.h:90:1:
|
||||
KEV_INET6_DEFROUTER = 6 // net_kev.h:94:1:
|
||||
KEV_INET6_NEW_LL_ADDR = 4 // net_kev.h:92:1:
|
||||
KEV_INET6_NEW_RTADV_ADDR = 5 // net_kev.h:93:1:
|
||||
KEV_INET6_NEW_USER_ADDR = 1 // net_kev.h:89:1:
|
||||
KEV_INET6_REQUEST_NAT64_PREFIX = 7 // net_kev.h:95:1:
|
||||
KEV_INET6_SUBCLASS = 6 // net_kev.h:87:1:
|
||||
KEV_INET_ADDR_DELETED = 3 // net_kev.h:39:1:
|
||||
KEV_INET_ARPCOLLISION = 7 // net_kev.h:43:1:
|
||||
KEV_INET_ARPRTRALIVE = 10 // net_kev.h:48:1:
|
||||
KEV_INET_ARPRTRFAILURE = 9 // net_kev.h:47:1:
|
||||
KEV_INET_CHANGED_ADDR = 2 // net_kev.h:38:1:
|
||||
KEV_INET_NEW_ADDR = 1 // net_kev.h:37:1:
|
||||
KEV_INET_PORTINUSE = 8 // net_kev.h:45:1:
|
||||
KEV_INET_SIFBRDADDR = 5 // net_kev.h:41:1:
|
||||
KEV_INET_SIFDSTADDR = 4 // net_kev.h:40:1:
|
||||
KEV_INET_SIFNETMASK = 6 // net_kev.h:42:1:
|
||||
KEV_INET_SUBCLASS = 1 // net_kev.h:35:1:
|
||||
LITTLE_ENDIAN = 1234 // endian.h:93:1:
|
||||
MSG_CTRUNC = 0x20 // socket.h:563:1:
|
||||
MSG_DONTROUTE = 0x4 // socket.h:560:1:
|
||||
MSG_DONTWAIT = 0x80 // socket.h:566:1:
|
||||
MSG_EOF = 0x100 // socket.h:567:1:
|
||||
MSG_EOR = 0x8 // socket.h:561:1:
|
||||
MSG_FLUSH = 0x400 // socket.h:572:1:
|
||||
MSG_HAVEMORE = 0x2000 // socket.h:575:1:
|
||||
MSG_HOLD = 0x800 // socket.h:573:1:
|
||||
MSG_NEEDSA = 0x10000 // socket.h:578:1:
|
||||
MSG_OOB = 0x1 // socket.h:558:1:
|
||||
MSG_PEEK = 0x2 // socket.h:559:1:
|
||||
MSG_RCVMORE = 0x4000 // socket.h:576:1:
|
||||
MSG_SEND = 0x1000 // socket.h:574:1:
|
||||
MSG_TRUNC = 0x10 // socket.h:562:1:
|
||||
MSG_WAITALL = 0x40 // socket.h:564:1:
|
||||
MSG_WAITSTREAM = 0x200 // socket.h:570:1:
|
||||
NBBY = 8 // types.h:186:1:
|
||||
NETSVC_MRKNG_LVL_L2 = 1 // socket.h:283:1:
|
||||
NETSVC_MRKNG_LVL_L3L2_ALL = 2 // socket.h:284:1:
|
||||
NETSVC_MRKNG_LVL_L3L2_BK = 3 // socket.h:285:1:
|
||||
NETSVC_MRKNG_UNKNOWN = 0 // socket.h:282:1:
|
||||
NET_MAXID = 40 // socket.h:506:1:
|
||||
NET_RT_DUMP = 1 // socket.h:519:1:
|
||||
NET_RT_DUMP2 = 7 // socket.h:525:1:
|
||||
NET_RT_FLAGS = 2 // socket.h:520:1:
|
||||
NET_RT_FLAGS_PRIV = 10 // socket.h:530:1:
|
||||
NET_RT_IFLIST = 3 // socket.h:521:1:
|
||||
NET_RT_IFLIST2 = 6 // socket.h:524:1:
|
||||
NET_RT_MAXID = 11 // socket.h:531:1:
|
||||
NET_RT_STAT = 4 // socket.h:522:1:
|
||||
NET_RT_TRASH = 5 // socket.h:523:1:
|
||||
NET_SERVICE_TYPE_AV = 6 // socket.h:276:1:
|
||||
NET_SERVICE_TYPE_BE = 0 // socket.h:270:1:
|
||||
NET_SERVICE_TYPE_BK = 1 // socket.h:271:1:
|
||||
NET_SERVICE_TYPE_OAM = 7 // socket.h:277:1:
|
||||
NET_SERVICE_TYPE_RD = 8 // socket.h:278:1:
|
||||
NET_SERVICE_TYPE_RV = 5 // socket.h:275:1:
|
||||
NET_SERVICE_TYPE_SIG = 2 // socket.h:272:1:
|
||||
NET_SERVICE_TYPE_VI = 3 // socket.h:273:1:
|
||||
NET_SERVICE_TYPE_VO = 4 // socket.h:274:1:
|
||||
PDP_ENDIAN = 3412 // endian.h:95:1:
|
||||
PF_APPLETALK = 16 // socket.h:469:1:
|
||||
PF_CCITT = 10 // socket.h:463:1:
|
||||
PF_CHAOS = 5 // socket.h:457:1:
|
||||
PF_CNT = 21 // socket.h:474:1:
|
||||
PF_COIP = 20 // socket.h:473:1:
|
||||
PF_DATAKIT = 9 // socket.h:462:1:
|
||||
PF_DECnet = 12 // socket.h:465:1:
|
||||
PF_DLI = 13 // socket.h:466:1:
|
||||
PF_ECMA = 8 // socket.h:461:1:
|
||||
PF_HYLINK = 15 // socket.h:468:1:
|
||||
PF_IMPLINK = 3 // socket.h:455:1:
|
||||
PF_INET = 2 // socket.h:454:1:
|
||||
PF_INET6 = 30 // socket.h:482:1:
|
||||
PF_IPX = 23 // socket.h:476:1:
|
||||
PF_ISDN = 28 // socket.h:480:1:
|
||||
PF_ISO = 7 // socket.h:459:1:
|
||||
PF_KEY = 29 // socket.h:481:1:
|
||||
PF_LAT = 14 // socket.h:467:1:
|
||||
PF_LINK = 18 // socket.h:471:1:
|
||||
PF_LOCAL = 1 // socket.h:452:1:
|
||||
PF_MAX = 40 // socket.h:489:1:
|
||||
PF_NATM = 31 // socket.h:483:1:
|
||||
PF_NDRV = 27 // socket.h:479:1:
|
||||
PF_NETBIOS = 33 // socket.h:485:1:
|
||||
PF_NS = 6 // socket.h:458:1:
|
||||
PF_OSI = 7 // socket.h:460:1:
|
||||
PF_PIP = 25 // socket.h:478:1:
|
||||
PF_PPP = 34 // socket.h:486:1:
|
||||
PF_PUP = 4 // socket.h:456:1:
|
||||
PF_RESERVED_36 = 36 // socket.h:487:1:
|
||||
PF_ROUTE = 17 // socket.h:470:1:
|
||||
PF_RTIP = 22 // socket.h:477:1:
|
||||
PF_SIP = 24 // socket.h:475:1:
|
||||
PF_SNA = 11 // socket.h:464:1:
|
||||
PF_SYSTEM = 32 // socket.h:484:1:
|
||||
PF_UNIX = 1 // socket.h:453:1:
|
||||
PF_UNSPEC = 0 // socket.h:451:1:
|
||||
PF_UTUN = 38 // socket.h:488:1:
|
||||
PF_XTP = 19 // socket.h:472:1:
|
||||
SAE_ASSOCID_ANY = 0 // socket.h:290:1:
|
||||
SAE_CONNID_ANY = 0 // socket.h:294:1:
|
||||
SCM_CREDS = 0x03 // socket.h:661:1:
|
||||
SCM_RIGHTS = 0x01 // socket.h:658:1:
|
||||
SCM_TIMESTAMP = 0x02 // socket.h:660:1:
|
||||
SCM_TIMESTAMP_MONOTONIC = 0x04 // socket.h:662:1:
|
||||
SHUT_RD = 0 // socket.h:670:1:
|
||||
SHUT_RDWR = 2 // socket.h:672:1:
|
||||
SHUT_WR = 1 // socket.h:671:1:
|
||||
SOCK_DGRAM = 2 // socket.h:112:1:
|
||||
SOCK_MAXADDRLEN = 255 // socket.h:414:1:
|
||||
SOCK_RAW = 3 // socket.h:113:1:
|
||||
SOCK_RDM = 4 // socket.h:115:1:
|
||||
SOCK_SEQPACKET = 5 // socket.h:117:1:
|
||||
SOCK_STREAM = 1 // socket.h:111:1:
|
||||
SOL_SOCKET = 0xffff // socket.h:348:1:
|
||||
SOMAXCONN = 128 // socket.h:540:1:
|
||||
SONPX_SETOPTSHUT = 0x000000001 // socket.h:338:1:
|
||||
SO_ACCEPTCONN = 0x0002 // socket.h:123:1:
|
||||
SO_BROADCAST = 0x0020 // socket.h:127:1:
|
||||
SO_DEBUG = 0x0001 // socket.h:122:1:
|
||||
SO_DONTROUTE = 0x0010 // socket.h:126:1:
|
||||
SO_DONTTRUNC = 0x2000 // socket.h:142:1:
|
||||
SO_ERROR = 0x1007 // socket.h:160:1:
|
||||
SO_KEEPALIVE = 0x0008 // socket.h:125:1:
|
||||
SO_LABEL = 0x1010 // socket.h:163:1:
|
||||
SO_LINGER = 0x0080 // socket.h:130:1:
|
||||
SO_LINGER_SEC = 0x1080 // socket.h:176:1:
|
||||
SO_NETSVC_MARKING_LEVEL = 0x1119 // socket.h:185:1:
|
||||
SO_NET_SERVICE_TYPE = 0x1116 // socket.h:182:1:
|
||||
SO_NKE = 0x1021 // socket.h:167:1:
|
||||
SO_NOADDRERR = 0x1023 // socket.h:169:1:
|
||||
SO_NOSIGPIPE = 0x1022 // socket.h:168:1:
|
||||
SO_NOTIFYCONFLICT = 0x1026 // socket.h:173:1:
|
||||
SO_NP_EXTENSIONS = 0x1083 // socket.h:178:1:
|
||||
SO_NREAD = 0x1020 // socket.h:166:1:
|
||||
SO_NUMRCVPKT = 0x1112 // socket.h:181:1:
|
||||
SO_NWRITE = 0x1024 // socket.h:170:1:
|
||||
SO_OOBINLINE = 0x0100 // socket.h:134:1:
|
||||
SO_PEERLABEL = 0x1011 // socket.h:164:1:
|
||||
SO_RANDOMPORT = 0x1082 // socket.h:177:1:
|
||||
SO_RCVBUF = 0x1002 // socket.h:155:1:
|
||||
SO_RCVLOWAT = 0x1004 // socket.h:157:1:
|
||||
SO_RCVTIMEO = 0x1006 // socket.h:159:1:
|
||||
SO_REUSEADDR = 0x0004 // socket.h:124:1:
|
||||
SO_REUSEPORT = 0x0200 // socket.h:136:1:
|
||||
SO_REUSESHAREUID = 0x1025 // socket.h:171:1:
|
||||
SO_SNDBUF = 0x1001 // socket.h:154:1:
|
||||
SO_SNDLOWAT = 0x1003 // socket.h:156:1:
|
||||
SO_SNDTIMEO = 0x1005 // socket.h:158:1:
|
||||
SO_TIMESTAMP = 0x0400 // socket.h:137:1:
|
||||
SO_TIMESTAMP_MONOTONIC = 0x0800 // socket.h:138:1:
|
||||
SO_TYPE = 0x1008 // socket.h:161:1:
|
||||
SO_UPCALLCLOSEWAIT = 0x1027 // socket.h:174:1:
|
||||
SO_USELOOPBACK = 0x0040 // socket.h:129:1:
|
||||
SO_WANTMORE = 0x4000 // socket.h:144:1:
|
||||
SO_WANTOOBFLAG = 0x8000 // socket.h:145:1:
|
||||
X_BLKCNT_T = 0 // _blkcnt_t.h:29:1:
|
||||
X_BLKSIZE_T = 0 // _blksize_t.h:29:1:
|
||||
X_BSD_I386__TYPES_H_ = 0 // _types.h:29:1:
|
||||
X_BSD_MACHINE_ENDIAN_H_ = 0 // endian.h:32:1:
|
||||
X_BSD_MACHINE_TYPES_H_ = 0 // types.h:32:1:
|
||||
X_BSD_MACHINE__TYPES_H_ = 0 // _types.h:29:1:
|
||||
X_CADDR_T = 0 // _caddr_t.h:29:1:
|
||||
X_CDEFS_H_ = 0 // cdefs.h:68:1:
|
||||
X_CLOCK_T = 0 // _clock_t.h:29:1:
|
||||
X_DARWIN_FEATURE_64_BIT_INODE = 1 // cdefs.h:745:1:
|
||||
X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // cdefs.h:771:1:
|
||||
X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // cdefs.h:779:1:
|
||||
X_DEV_T = 0 // _dev_t.h:29:1:
|
||||
X_ERRNO_T = 0 // _errno_t.h:29:1:
|
||||
X_FD_SET = 0 // _fd_def.h:29:1:
|
||||
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
|
||||
X_FSBLKCNT_T = 0 // _fsblkcnt_t.h:29:1:
|
||||
X_FSFILCNT_T = 0 // _fsfilcnt_t.h:29:1:
|
||||
X_GID_T = 0 // _gid_t.h:29:1:
|
||||
X_I386__ENDIAN_H_ = 0 // endian.h:67:1:
|
||||
X_I386__PARAM_H_ = 0 // _param.h:30:1:
|
||||
X_ID_T = 0 // _id_t.h:29:1:
|
||||
X_INO64_T = 0 // _ino64_t.h:29:1:
|
||||
X_INO_T = 0 // _ino_t.h:29:1:
|
||||
X_INT16_T = 0 // _int16_t.h:29:1:
|
||||
X_INT32_T = 0 // _int32_t.h:29:1:
|
||||
X_INT64_T = 0 // _int64_t.h:29:1:
|
||||
X_INT8_T = 0 // _int8_t.h:29:1:
|
||||
X_INTPTR_T = 0 // _intptr_t.h:29:1:
|
||||
X_IN_ADDR_T = 0 // _in_addr_t.h:29:1:
|
||||
X_IN_PORT_T = 0 // _in_port_t.h:29:1:
|
||||
X_KEY_T = 0 // _key_t.h:29:1:
|
||||
X_LP64 = 1 // <predefined>:1:1:
|
||||
X_MACHTYPES_H_ = 0 // types.h:67:1:
|
||||
X_MODE_T = 0 // _mode_t.h:29:1:
|
||||
X_NET_NETKEV_H_ = 0 // net_kev.h:30:1:
|
||||
X_NLINK_T = 0 // _nlink_t.h:29:1:
|
||||
X_Nonnull = 0 // cdefs.h:243:1:
|
||||
X_Null_unspecified = 0 // cdefs.h:246:1:
|
||||
X_Nullable = 0 // cdefs.h:240:1:
|
||||
X_OFF_T = 0 // _off_t.h:29:1:
|
||||
X_OS__OSBYTEORDERI386_H = 0 // _OSByteOrder.h:30:1:
|
||||
X_OS__OSBYTEORDER_H = 0 // _OSByteOrder.h:30:1:
|
||||
X_PID_T = 0 // _pid_t.h:29:1:
|
||||
X_PTHREAD_ATTR_T = 0 // _pthread_attr_t.h:29:1:
|
||||
X_PTHREAD_CONDATTR_T = 0 // _pthread_condattr_t.h:29:1:
|
||||
X_PTHREAD_COND_T = 0 // _pthread_cond_t.h:29:1:
|
||||
X_PTHREAD_KEY_T = 0 // _pthread_key_t.h:29:1:
|
||||
X_PTHREAD_MUTEXATTR_T = 0 // _pthread_mutexattr_t.h:29:1:
|
||||
X_PTHREAD_MUTEX_T = 0 // _pthread_mutex_t.h:29:1:
|
||||
X_PTHREAD_ONCE_T = 0 // _pthread_once_t.h:29:1:
|
||||
X_PTHREAD_RWLOCKATTR_T = 0 // _pthread_rwlockattr_t.h:29:1:
|
||||
X_PTHREAD_RWLOCK_T = 0 // _pthread_rwlock_t.h:29:1:
|
||||
X_PTHREAD_T = 0 // _pthread_t.h:29:1:
|
||||
X_QUAD_HIGHWORD = 1 // endian.h:78:1:
|
||||
X_QUAD_LOWWORD = 0 // endian.h:79:1:
|
||||
X_RSIZE_T = 0 // _rsize_t.h:29:1:
|
||||
X_SA_FAMILY_T = 0 // _sa_family_t.h:29:1:
|
||||
X_SIZE_T = 0 // _size_t.h:29:1:
|
||||
X_SOCKLEN_T = 0 // _socklen_t.h:29:1:
|
||||
X_SSIZE_T = 0 // _ssize_t.h:29:1:
|
||||
X_SS_MAXSIZE = 128 // socket.h:429:1:
|
||||
X_STRUCT_IOVEC = 0 // _iovec_t.h:29:1:
|
||||
X_SUSECONDS_T = 0 // _suseconds_t.h:29:1:
|
||||
X_SYS_SOCKET_H_ = 0 // socket.h:73:1:
|
||||
X_SYS_TYPES_H_ = 0 // types.h:70:1:
|
||||
X_SYS__ENDIAN_H_ = 0 // _endian.h:91:1:
|
||||
X_SYS__PTHREAD_TYPES_H_ = 0 // _pthread_types.h:30:1:
|
||||
X_SYS__TYPES_H_ = 0 // _types.h:30:1:
|
||||
X_TIME_T = 0 // _time_t.h:29:1:
|
||||
X_UID_T = 0 // _uid_t.h:29:1:
|
||||
X_UINTPTR_T = 0 // _uintptr_t.h:29:1:
|
||||
X_USECONDS_T = 0 // _useconds_t.h:29:1:
|
||||
X_U_CHAR = 0 // _u_char.h:29:1:
|
||||
X_U_INT = 0 // _u_int.h:29:1:
|
||||
X_U_INT16_T = 0 // _u_int16_t.h:29:1:
|
||||
X_U_INT32_T = 0 // _u_int32_t.h:29:1:
|
||||
X_U_INT64_T = 0 // _u_int64_t.h:29:1:
|
||||
X_U_INT8_T = 0 // _u_int8_t.h:29:1:
|
||||
X_U_LONG = 0 // types.h:89:1:
|
||||
X_U_SHORT = 0 // _u_short.h:29:1:
|
||||
Pseudo_AF_HDRCMPLT = 35 // socket.h:396:1:
|
||||
Pseudo_AF_KEY = 29 // socket.h:388:1:
|
||||
Pseudo_AF_PIP = 25 // socket.h:384:1:
|
||||
Pseudo_AF_RTIP = 22 // socket.h:381:1:
|
||||
Pseudo_AF_XTP = 19 // socket.h:378:1:
|
||||
)
|
||||
|
||||
type Ptrdiff_t = int64 /* <builtin>:3:26 */
|
||||
@ -352,6 +352,8 @@ type X__uint128_t = struct {
|
||||
type X__builtin_va_list = uintptr /* <builtin>:46:14 */
|
||||
type X__float128 = float64 /* <builtin>:47:21 */
|
||||
|
||||
var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */
|
||||
|
||||
// Copyright (c) 2000-2019 Apple Inc. All rights reserved.
|
||||
//
|
||||
// @APPLE_OSREFERENCE_LICENSE_HEADER_START@
|
||||
@ -581,6 +583,13 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
// in between its arguments. __CONCAT can also concatenate double-quoted
|
||||
// strings produced by the __STRING macro, but this only works with ANSI C.
|
||||
|
||||
// In non-ANSI C environments, new programs will want ANSI-only C keywords
|
||||
// deleted from the program and old programs will want them left alone.
|
||||
// When using a compiler other than gcc, programs using the ANSI C keywords
|
||||
// const, inline etc. as normal identifiers should define -DNO_ANSI_KEYWORDS.
|
||||
// When using "gcc -traditional", we assume that this is the intent; if
|
||||
// __GNUC__ is defined but __STDC__ is not, we leave the new keywords alone.
|
||||
|
||||
// __unused denotes variables and functions that may not be used, preventing
|
||||
// the compiler from warning about it if not used.
|
||||
|
||||
@ -1009,8 +1018,8 @@ type X__darwin_ct_rune_t = int32 /* _types.h:70:33 */ // ct_rune_t
|
||||
// mbstate_t is an opaque object to keep conversion state, during multibyte
|
||||
// stream conversions. The content must not be referenced by user programs.
|
||||
type X__mbstate_t = struct {
|
||||
_ [0]uint64
|
||||
F__mbstate8 [128]int8
|
||||
F__ccgo_pad1 [0]uint64
|
||||
F__mbstate8 [128]int8
|
||||
} /* _types.h:79:3 */
|
||||
|
||||
type X__darwin_mbstate_t = X__mbstate_t /* _types.h:81:33 */ // mbstate_t
|
||||
@ -3148,15 +3157,6 @@ type Errno_t = int32 /* _errno_t.h:30:32 */
|
||||
|
||||
// __IPHONE_NA is not defined to a value but is uses as a token by macros to indicate that the API is unavailable
|
||||
|
||||
// DO NOT EDIT THIS FILE.
|
||||
//
|
||||
// It has been auto-edited by fixincludes from:
|
||||
//
|
||||
// "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/AvailabilityInternal.h"
|
||||
//
|
||||
// This had to be done to correct non-standard usages in the
|
||||
// original, manufacturer supplied header file.
|
||||
|
||||
// Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
|
||||
//
|
||||
// @APPLE_LICENSE_HEADER_START@
|
||||
@ -3427,15 +3427,6 @@ type Fd_set1 = struct{ Ffds_bits [32]X__int32_t } /* _fd_def.h:50:9 */
|
||||
|
||||
// __IPHONE_NA is not defined to a value but is uses as a token by macros to indicate that the API is unavailable
|
||||
|
||||
// DO NOT EDIT THIS FILE.
|
||||
//
|
||||
// It has been auto-edited by fixincludes from:
|
||||
//
|
||||
// "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/AvailabilityInternal.h"
|
||||
//
|
||||
// This had to be done to correct non-standard usages in the
|
||||
// original, manufacturer supplied header file.
|
||||
|
||||
// Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
|
||||
//
|
||||
// @APPLE_LICENSE_HEADER_START@
|
||||
@ -4905,13 +4896,13 @@ type Sae_connid_t = X__uint32_t /* socket.h:293:20 */
|
||||
// sockaddr endpoints
|
||||
type Sa_endpoints = struct {
|
||||
Fsae_srcif uint32
|
||||
_ [4]byte
|
||||
F__ccgo_pad1 [4]byte
|
||||
Fsae_srcaddr uintptr
|
||||
Fsae_srcaddrlen Socklen_t
|
||||
_ [4]byte
|
||||
F__ccgo_pad2 [4]byte
|
||||
Fsae_dstaddr uintptr
|
||||
Fsae_dstaddrlen Socklen_t
|
||||
_ [4]byte
|
||||
F__ccgo_pad3 [4]byte
|
||||
} /* socket.h:303:9 */
|
||||
|
||||
// connectx() flag parameters
|
||||
@ -4985,10 +4976,10 @@ type Sockaddr_storage = struct {
|
||||
type Msghdr = struct {
|
||||
Fmsg_name uintptr
|
||||
Fmsg_namelen Socklen_t
|
||||
_ [4]byte
|
||||
F__ccgo_pad1 [4]byte
|
||||
Fmsg_iov uintptr
|
||||
Fmsg_iovlen int32
|
||||
_ [4]byte
|
||||
F__ccgo_pad2 [4]byte
|
||||
Fmsg_control uintptr
|
||||
Fmsg_controllen Socklen_t
|
||||
Fmsg_flags int32
|
||||
@ -5020,12 +5011,12 @@ type Cmsghdr = struct {
|
||||
|
||||
// sendfile(2) header/trailer struct
|
||||
type Sf_hdtr = struct {
|
||||
Fheaders uintptr
|
||||
Fhdr_cnt int32
|
||||
_ [4]byte
|
||||
Ftrailers uintptr
|
||||
Ftrl_cnt int32
|
||||
_ [4]byte
|
||||
Fheaders uintptr
|
||||
Fhdr_cnt int32
|
||||
F__ccgo_pad1 [4]byte
|
||||
Ftrailers uintptr
|
||||
Ftrl_cnt int32
|
||||
F__ccgo_pad2 [4]byte
|
||||
} /* socket.h:678:1 */
|
||||
|
||||
var _ int8 /* gen.c:2:13: */
|
||||
|
1738
vendor/modernc.org/libc/sys/socket/socket_darwin_arm64.go
generated
vendored
1738
vendor/modernc.org/libc/sys/socket/socket_darwin_arm64.go
generated
vendored
File diff suppressed because it is too large
Load Diff
586
vendor/modernc.org/libc/sys/socket/socket_freebsd_amd64.go
generated
vendored
586
vendor/modernc.org/libc/sys/socket/socket_freebsd_amd64.go
generated
vendored
@ -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_freebsd_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_freebsd_amd64.go -pkgname socket', DO NOT EDIT.
|
||||
|
||||
package socket
|
||||
|
||||
@ -15,263 +15,264 @@ var _ atomic.Value
|
||||
var _ unsafe.Pointer
|
||||
|
||||
const (
|
||||
AF_APPLETALK = 16
|
||||
AF_ARP = 35
|
||||
AF_ATM = 30
|
||||
AF_BLUETOOTH = 36
|
||||
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_HYLINK = 15
|
||||
AF_HYPERV = 43
|
||||
AF_IEEE80211 = 37
|
||||
AF_IMPLINK = 3
|
||||
AF_INET = 2
|
||||
AF_INET6 = 28
|
||||
AF_INET6_SDP = 42
|
||||
AF_INET_SDP = 40
|
||||
AF_IPX = 23
|
||||
AF_ISDN = 26
|
||||
AF_ISO = 7
|
||||
AF_LAT = 14
|
||||
AF_LINK = 18
|
||||
AF_LOCAL = 1
|
||||
AF_MAX = 43
|
||||
AF_NATM = 29
|
||||
AF_NETBIOS = 6
|
||||
AF_NETGRAPH = 32
|
||||
AF_OSI = 7
|
||||
AF_PUP = 4
|
||||
AF_ROUTE = 17
|
||||
AF_SCLUSTER = 34
|
||||
AF_SIP = 24
|
||||
AF_SLOW = 33
|
||||
AF_SNA = 11
|
||||
AF_UNIX = 1
|
||||
AF_UNSPEC = 0
|
||||
AF_VENDOR00 = 39
|
||||
AF_VENDOR01 = 41
|
||||
AF_VENDOR03 = 45
|
||||
AF_VENDOR04 = 47
|
||||
AF_VENDOR05 = 49
|
||||
AF_VENDOR06 = 51
|
||||
AF_VENDOR07 = 53
|
||||
AF_VENDOR08 = 55
|
||||
AF_VENDOR09 = 57
|
||||
AF_VENDOR10 = 59
|
||||
AF_VENDOR11 = 61
|
||||
AF_VENDOR12 = 63
|
||||
AF_VENDOR13 = 65
|
||||
AF_VENDOR14 = 67
|
||||
AF_VENDOR15 = 69
|
||||
AF_VENDOR16 = 71
|
||||
AF_VENDOR17 = 73
|
||||
AF_VENDOR18 = 75
|
||||
AF_VENDOR19 = 77
|
||||
AF_VENDOR20 = 79
|
||||
AF_VENDOR21 = 81
|
||||
AF_VENDOR22 = 83
|
||||
AF_VENDOR23 = 85
|
||||
AF_VENDOR24 = 87
|
||||
AF_VENDOR25 = 89
|
||||
AF_VENDOR26 = 91
|
||||
AF_VENDOR27 = 93
|
||||
AF_VENDOR28 = 95
|
||||
AF_VENDOR29 = 97
|
||||
AF_VENDOR30 = 99
|
||||
AF_VENDOR31 = 101
|
||||
AF_VENDOR32 = 103
|
||||
AF_VENDOR33 = 105
|
||||
AF_VENDOR34 = 107
|
||||
AF_VENDOR35 = 109
|
||||
AF_VENDOR36 = 111
|
||||
AF_VENDOR37 = 113
|
||||
AF_VENDOR38 = 115
|
||||
AF_VENDOR39 = 117
|
||||
AF_VENDOR40 = 119
|
||||
AF_VENDOR41 = 121
|
||||
AF_VENDOR42 = 123
|
||||
AF_VENDOR43 = 125
|
||||
AF_VENDOR44 = 127
|
||||
AF_VENDOR45 = 129
|
||||
AF_VENDOR46 = 131
|
||||
AF_VENDOR47 = 133
|
||||
CMGROUP_MAX = 16
|
||||
MSG_CMSG_CLOEXEC = 0x00040000
|
||||
MSG_COMPAT = 0x00008000
|
||||
MSG_CTRUNC = 0x00000020
|
||||
MSG_DONTROUTE = 0x00000004
|
||||
MSG_DONTWAIT = 0x00000080
|
||||
MSG_EOF = 0x00000100
|
||||
MSG_EOR = 0x00000008
|
||||
MSG_NBIO = 0x00004000
|
||||
MSG_NOSIGNAL = 0x00020000
|
||||
MSG_NOTIFICATION = 0x00002000
|
||||
MSG_OOB = 0x00000001
|
||||
MSG_PEEK = 0x00000002
|
||||
MSG_TRUNC = 0x00000010
|
||||
MSG_WAITALL = 0x00000040
|
||||
MSG_WAITFORONE = 0x00080000
|
||||
NET_RT_DUMP = 1
|
||||
NET_RT_FLAGS = 2
|
||||
NET_RT_IFLIST = 3
|
||||
NET_RT_IFLISTL = 5
|
||||
NET_RT_IFMALIST = 4
|
||||
NET_RT_NHGRP = 7
|
||||
NET_RT_NHOP = 6
|
||||
PF_APPLETALK = 16
|
||||
PF_ARP = 35
|
||||
PF_ATM = 30
|
||||
PF_BLUETOOTH = 36
|
||||
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_HYLINK = 15
|
||||
PF_IEEE80211 = 37
|
||||
PF_IMPLINK = 3
|
||||
PF_INET = 2
|
||||
PF_INET6 = 28
|
||||
PF_INET6_SDP = 42
|
||||
PF_INET_SDP = 40
|
||||
PF_IPX = 23
|
||||
PF_ISDN = 26
|
||||
PF_ISO = 7
|
||||
PF_KEY = 27
|
||||
PF_LAT = 14
|
||||
PF_LINK = 18
|
||||
PF_LOCAL = 1
|
||||
PF_MAX = 43
|
||||
PF_NATM = 29
|
||||
PF_NETBIOS = 6
|
||||
PF_NETGRAPH = 32
|
||||
PF_OSI = 7
|
||||
PF_PIP = 25
|
||||
PF_PUP = 4
|
||||
PF_ROUTE = 17
|
||||
PF_RTIP = 22
|
||||
PF_SCLUSTER = 34
|
||||
PF_SIP = 24
|
||||
PF_SLOW = 33
|
||||
PF_SNA = 11
|
||||
PF_UNIX = 1
|
||||
PF_UNSPEC = 0
|
||||
PF_XTP = 19
|
||||
PRU_FLUSH_RD = 0
|
||||
PRU_FLUSH_RDWR = 2
|
||||
PRU_FLUSH_WR = 1
|
||||
SCM_BINTIME = 0x04
|
||||
SCM_CREDS = 0x03
|
||||
SCM_CREDS2 = 0x08
|
||||
SCM_MONOTONIC = 0x06
|
||||
SCM_REALTIME = 0x05
|
||||
SCM_RIGHTS = 0x01
|
||||
SCM_TIMESTAMP = 0x02
|
||||
SCM_TIME_INFO = 0x07
|
||||
SF_MNOWAIT = 0x00000002
|
||||
SF_NOCACHE = 0x00000010
|
||||
SF_NODISKIO = 0x00000001
|
||||
SF_SYNC = 0x00000004
|
||||
SF_USER_READAHEAD = 0x00000008
|
||||
SHUT_RD = 0
|
||||
SHUT_RDWR = 2
|
||||
SHUT_WR = 1
|
||||
SOCK_CLOEXEC = 0x10000000
|
||||
SOCK_DGRAM = 2
|
||||
SOCK_MAXADDRLEN = 255
|
||||
SOCK_NONBLOCK = 0x20000000
|
||||
SOCK_RAW = 3
|
||||
SOCK_RDM = 4
|
||||
SOCK_SEQPACKET = 5
|
||||
SOCK_STREAM = 1
|
||||
SOL_SOCKET = 0xffff
|
||||
SOMAXCONN = 128
|
||||
SO_ACCEPTCONN = 0x00000002
|
||||
SO_ACCEPTFILTER = 0x00001000
|
||||
SO_BINTIME = 0x00002000
|
||||
SO_BROADCAST = 0x00000020
|
||||
SO_DEBUG = 0x00000001
|
||||
SO_DOMAIN = 0x1019
|
||||
SO_DONTROUTE = 0x00000010
|
||||
SO_ERROR = 0x1007
|
||||
SO_KEEPALIVE = 0x00000008
|
||||
SO_LABEL = 0x1009
|
||||
SO_LINGER = 0x00000080
|
||||
SO_LISTENINCQLEN = 0x1013
|
||||
SO_LISTENQLEN = 0x1012
|
||||
SO_LISTENQLIMIT = 0x1011
|
||||
SO_MAX_PACING_RATE = 0x1018
|
||||
SO_NOSIGPIPE = 0x00000800
|
||||
SO_NO_DDP = 0x00008000
|
||||
SO_NO_OFFLOAD = 0x00004000
|
||||
SO_OOBINLINE = 0x00000100
|
||||
SO_PEERLABEL = 0x1010
|
||||
SO_PROTOCOL = 0x1016
|
||||
SO_PROTOTYPE = 4118
|
||||
SO_RCVBUF = 0x1002
|
||||
SO_RCVLOWAT = 0x1004
|
||||
SO_RCVTIMEO = 0x1006
|
||||
SO_REUSEADDR = 0x00000004
|
||||
SO_REUSEPORT = 0x00000200
|
||||
SO_REUSEPORT_LB = 0x00010000
|
||||
SO_SETFIB = 0x1014
|
||||
SO_SNDBUF = 0x1001
|
||||
SO_SNDLOWAT = 0x1003
|
||||
SO_SNDTIMEO = 0x1005
|
||||
SO_TIMESTAMP = 0x00000400
|
||||
SO_TS_BINTIME = 1
|
||||
SO_TS_CLOCK = 0x1017
|
||||
SO_TS_CLOCK_MAX = 3
|
||||
SO_TS_DEFAULT = 0
|
||||
SO_TS_MONOTONIC = 3
|
||||
SO_TS_REALTIME = 2
|
||||
SO_TS_REALTIME_MICRO = 0
|
||||
SO_TYPE = 0x1008
|
||||
SO_USELOOPBACK = 0x00000040
|
||||
SO_USER_COOKIE = 0x1015
|
||||
SO_VENDOR = 0x80000000
|
||||
ST_INFO_HW = 0x0001
|
||||
ST_INFO_HW_HPREC = 0x0002
|
||||
X_FILE_OFFSET_BITS = 64
|
||||
X_GID_T_DECLARED = 0
|
||||
X_LP64 = 1
|
||||
X_MACHINE__LIMITS_H_ = 0
|
||||
X_MACHINE__TYPES_H_ = 0
|
||||
X_Nonnull = 0
|
||||
X_Null_unspecified = 0
|
||||
X_Nullable = 0
|
||||
X_OFF_T_DECLARED = 0
|
||||
X_PID_T_DECLARED = 0
|
||||
X_SA_FAMILY_T_DECLARED = 0
|
||||
X_SIZE_T_DECLARED = 0
|
||||
X_SOCKLEN_T_DECLARED = 0
|
||||
X_SSIZE_T_DECLARED = 0
|
||||
X_SS_MAXSIZE = 128
|
||||
X_SYS_CDEFS_H_ = 0
|
||||
X_SYS_SOCKET_H_ = 0
|
||||
X_SYS__IOVEC_H_ = 0
|
||||
X_SYS__SOCKADDR_STORAGE_H_ = 0
|
||||
X_SYS__TYPES_H_ = 0
|
||||
X_UID_T_DECLARED = 0
|
||||
X_UINT32_T_DECLARED = 0
|
||||
X_UINTPTR_T_DECLARED = 0
|
||||
X_X86_INCLUDE__ALIGN_H_ = 0
|
||||
Pseudo_AF_HDRCMPLT = 31
|
||||
Pseudo_AF_KEY = 27
|
||||
Pseudo_AF_PIP = 25
|
||||
Pseudo_AF_RTIP = 22
|
||||
Pseudo_AF_XTP = 19
|
||||
Unix = 1
|
||||
AF_APPLETALK = 16 // socket.h:240:1:
|
||||
AF_ARP = 35 // socket.h:264:1:
|
||||
AF_ATM = 30 // socket.h:257:1:
|
||||
AF_BLUETOOTH = 36 // socket.h:265:1:
|
||||
AF_CCITT = 10 // socket.h:234:1:
|
||||
AF_CHAOS = 5 // socket.h:228:1:
|
||||
AF_CNT = 21 // socket.h:245:1:
|
||||
AF_COIP = 20 // socket.h:244:1:
|
||||
AF_DATAKIT = 9 // socket.h:233:1:
|
||||
AF_DECnet = 12 // socket.h:236:1:
|
||||
AF_DLI = 13 // socket.h:237:1:
|
||||
AF_E164 = 26 // socket.h:251:1:
|
||||
AF_ECMA = 8 // socket.h:232:1:
|
||||
AF_HYLINK = 15 // socket.h:239:1:
|
||||
AF_HYPERV = 43 // socket.h:269:1:
|
||||
AF_IEEE80211 = 37 // socket.h:266:1:
|
||||
AF_IMPLINK = 3 // socket.h:226:1:
|
||||
AF_INET = 2 // socket.h:224:1:
|
||||
AF_INET6 = 28 // socket.h:254:1:
|
||||
AF_INET6_SDP = 42 // socket.h:268:1:
|
||||
AF_INET_SDP = 40 // socket.h:267:1:
|
||||
AF_IPX = 23 // socket.h:247:1:
|
||||
AF_ISDN = 26 // socket.h:250:1:
|
||||
AF_ISO = 7 // socket.h:230:1:
|
||||
AF_LAT = 14 // socket.h:238:1:
|
||||
AF_LINK = 18 // socket.h:242:1:
|
||||
AF_LOCAL = 1 // socket.h:221:1:
|
||||
AF_MAX = 43 // socket.h:270:1:
|
||||
AF_NATM = 29 // socket.h:256:1:
|
||||
AF_NETBIOS = 6 // socket.h:229:1:
|
||||
AF_NETGRAPH = 32 // socket.h:261:1:
|
||||
AF_OSI = 7 // socket.h:231:1:
|
||||
AF_PUP = 4 // socket.h:227:1:
|
||||
AF_ROUTE = 17 // socket.h:241:1:
|
||||
AF_SCLUSTER = 34 // socket.h:263:1:
|
||||
AF_SIP = 24 // socket.h:248:1:
|
||||
AF_SLOW = 33 // socket.h:262:1:
|
||||
AF_SNA = 11 // socket.h:235:1:
|
||||
AF_UNIX = 1 // socket.h:223:1:
|
||||
AF_UNSPEC = 0 // socket.h:219:1:
|
||||
AF_VENDOR00 = 39 // socket.h:276:1:
|
||||
AF_VENDOR01 = 41 // socket.h:277:1:
|
||||
AF_VENDOR03 = 45 // socket.h:278:1:
|
||||
AF_VENDOR04 = 47 // socket.h:279:1:
|
||||
AF_VENDOR05 = 49 // socket.h:280:1:
|
||||
AF_VENDOR06 = 51 // socket.h:281:1:
|
||||
AF_VENDOR07 = 53 // socket.h:282:1:
|
||||
AF_VENDOR08 = 55 // socket.h:283:1:
|
||||
AF_VENDOR09 = 57 // socket.h:284:1:
|
||||
AF_VENDOR10 = 59 // socket.h:285:1:
|
||||
AF_VENDOR11 = 61 // socket.h:286:1:
|
||||
AF_VENDOR12 = 63 // socket.h:287:1:
|
||||
AF_VENDOR13 = 65 // socket.h:288:1:
|
||||
AF_VENDOR14 = 67 // socket.h:289:1:
|
||||
AF_VENDOR15 = 69 // socket.h:290:1:
|
||||
AF_VENDOR16 = 71 // socket.h:291:1:
|
||||
AF_VENDOR17 = 73 // socket.h:292:1:
|
||||
AF_VENDOR18 = 75 // socket.h:293:1:
|
||||
AF_VENDOR19 = 77 // socket.h:294:1:
|
||||
AF_VENDOR20 = 79 // socket.h:295:1:
|
||||
AF_VENDOR21 = 81 // socket.h:296:1:
|
||||
AF_VENDOR22 = 83 // socket.h:297:1:
|
||||
AF_VENDOR23 = 85 // socket.h:298:1:
|
||||
AF_VENDOR24 = 87 // socket.h:299:1:
|
||||
AF_VENDOR25 = 89 // socket.h:300:1:
|
||||
AF_VENDOR26 = 91 // socket.h:301:1:
|
||||
AF_VENDOR27 = 93 // socket.h:302:1:
|
||||
AF_VENDOR28 = 95 // socket.h:303:1:
|
||||
AF_VENDOR29 = 97 // socket.h:304:1:
|
||||
AF_VENDOR30 = 99 // socket.h:305:1:
|
||||
AF_VENDOR31 = 101 // socket.h:306:1:
|
||||
AF_VENDOR32 = 103 // socket.h:307:1:
|
||||
AF_VENDOR33 = 105 // socket.h:308:1:
|
||||
AF_VENDOR34 = 107 // socket.h:309:1:
|
||||
AF_VENDOR35 = 109 // socket.h:310:1:
|
||||
AF_VENDOR36 = 111 // socket.h:311:1:
|
||||
AF_VENDOR37 = 113 // socket.h:312:1:
|
||||
AF_VENDOR38 = 115 // socket.h:313:1:
|
||||
AF_VENDOR39 = 117 // socket.h:314:1:
|
||||
AF_VENDOR40 = 119 // socket.h:315:1:
|
||||
AF_VENDOR41 = 121 // socket.h:316:1:
|
||||
AF_VENDOR42 = 123 // socket.h:317:1:
|
||||
AF_VENDOR43 = 125 // socket.h:318:1:
|
||||
AF_VENDOR44 = 127 // socket.h:319:1:
|
||||
AF_VENDOR45 = 129 // socket.h:320:1:
|
||||
AF_VENDOR46 = 131 // socket.h:321:1:
|
||||
AF_VENDOR47 = 133 // socket.h:322:1:
|
||||
CMGROUP_MAX = 16 // socket.h:495:1:
|
||||
MSG_CMSG_CLOEXEC = 0x00040000 // socket.h:468:1:
|
||||
MSG_COMPAT = 0x00008000 // socket.h:459:1:
|
||||
MSG_CTRUNC = 0x00000020 // socket.h:448:1:
|
||||
MSG_DONTROUTE = 0x00000004 // socket.h:445:1:
|
||||
MSG_DONTWAIT = 0x00000080 // socket.h:451:1:
|
||||
MSG_EOF = 0x00000100 // socket.h:452:1:
|
||||
MSG_EOR = 0x00000008 // socket.h:446:1:
|
||||
MSG_NBIO = 0x00004000 // socket.h:458:1:
|
||||
MSG_NOSIGNAL = 0x00020000 // socket.h:465:1:
|
||||
MSG_NOTIFICATION = 0x00002000 // socket.h:457:1:
|
||||
MSG_OOB = 0x00000001 // socket.h:443:1:
|
||||
MSG_PEEK = 0x00000002 // socket.h:444:1:
|
||||
MSG_TRUNC = 0x00000010 // socket.h:447:1:
|
||||
MSG_WAITALL = 0x00000040 // socket.h:449:1:
|
||||
MSG_WAITFORONE = 0x00080000 // socket.h:469:1:
|
||||
NET_RT_DUMP = 1 // socket.h:414:1:
|
||||
NET_RT_FLAGS = 2 // socket.h:415:1:
|
||||
NET_RT_IFLIST = 3 // socket.h:416:1:
|
||||
NET_RT_IFLISTL = 5 // socket.h:418:1:
|
||||
NET_RT_IFMALIST = 4 // socket.h:417:1:
|
||||
NET_RT_NHGRP = 7 // socket.h:421:1:
|
||||
NET_RT_NHOP = 6 // socket.h:420:1:
|
||||
PF_APPLETALK = 16 // socket.h:371:1:
|
||||
PF_ARP = 35 // socket.h:389:1:
|
||||
PF_ATM = 30 // socket.h:385:1:
|
||||
PF_BLUETOOTH = 36 // socket.h:390:1:
|
||||
PF_CCITT = 10 // socket.h:365:1:
|
||||
PF_CHAOS = 5 // socket.h:359:1:
|
||||
PF_CNT = 21 // socket.h:376:1:
|
||||
PF_COIP = 20 // socket.h:375:1:
|
||||
PF_DATAKIT = 9 // socket.h:364:1:
|
||||
PF_DECnet = 12 // socket.h:367:1:
|
||||
PF_DLI = 13 // socket.h:368:1:
|
||||
PF_ECMA = 8 // socket.h:363:1:
|
||||
PF_HYLINK = 15 // socket.h:370:1:
|
||||
PF_IEEE80211 = 37 // socket.h:391:1:
|
||||
PF_IMPLINK = 3 // socket.h:357:1:
|
||||
PF_INET = 2 // socket.h:356:1:
|
||||
PF_INET6 = 28 // socket.h:383:1:
|
||||
PF_INET6_SDP = 42 // socket.h:393:1:
|
||||
PF_INET_SDP = 40 // socket.h:392:1:
|
||||
PF_IPX = 23 // socket.h:378:1:
|
||||
PF_ISDN = 26 // socket.h:381:1:
|
||||
PF_ISO = 7 // socket.h:361:1:
|
||||
PF_KEY = 27 // socket.h:382:1:
|
||||
PF_LAT = 14 // socket.h:369:1:
|
||||
PF_LINK = 18 // socket.h:373:1:
|
||||
PF_LOCAL = 1 // socket.h:354:1:
|
||||
PF_MAX = 43 // socket.h:395:1:
|
||||
PF_NATM = 29 // socket.h:384:1:
|
||||
PF_NETBIOS = 6 // socket.h:360:1:
|
||||
PF_NETGRAPH = 32 // socket.h:386:1:
|
||||
PF_OSI = 7 // socket.h:362:1:
|
||||
PF_PIP = 25 // socket.h:380:1:
|
||||
PF_PUP = 4 // socket.h:358:1:
|
||||
PF_ROUTE = 17 // socket.h:372:1:
|
||||
PF_RTIP = 22 // socket.h:379:1:
|
||||
PF_SCLUSTER = 34 // socket.h:388:1:
|
||||
PF_SIP = 24 // socket.h:377:1:
|
||||
PF_SLOW = 33 // socket.h:387:1:
|
||||
PF_SNA = 11 // socket.h:366:1:
|
||||
PF_UNIX = 1 // socket.h:355:1:
|
||||
PF_UNSPEC = 0 // socket.h:353:1:
|
||||
PF_XTP = 19 // socket.h:374:1:
|
||||
PRU_FLUSH_RD = 0 // socket.h:636:1:
|
||||
PRU_FLUSH_RDWR = 2 // socket.h:638:1:
|
||||
PRU_FLUSH_WR = 1 // socket.h:637:1:
|
||||
SCM_BINTIME = 0x04 // socket.h:587:1:
|
||||
SCM_CREDS = 0x03 // socket.h:586:1:
|
||||
SCM_CREDS2 = 0x08 // socket.h:591:1:
|
||||
SCM_MONOTONIC = 0x06 // socket.h:589:1:
|
||||
SCM_REALTIME = 0x05 // socket.h:588:1:
|
||||
SCM_RIGHTS = 0x01 // socket.h:583:1:
|
||||
SCM_TIMESTAMP = 0x02 // socket.h:585:1:
|
||||
SCM_TIME_INFO = 0x07 // socket.h:590:1:
|
||||
SF_MNOWAIT = 0x00000002 // socket.h:656:1:
|
||||
SF_NOCACHE = 0x00000010 // socket.h:659:1:
|
||||
SF_NODISKIO = 0x00000001 // socket.h:655:1:
|
||||
SF_SYNC = 0x00000004 // socket.h:657:1:
|
||||
SF_USER_READAHEAD = 0x00000008 // socket.h:658:1:
|
||||
SHUT_RD = 0 // socket.h:629:1:
|
||||
SHUT_RDWR = 2 // socket.h:631:1:
|
||||
SHUT_WR = 1 // socket.h:630:1:
|
||||
SOCK_CLOEXEC = 0x10000000 // socket.h:114:1:
|
||||
SOCK_DGRAM = 2 // socket.h:103:1:
|
||||
SOCK_MAXADDRLEN = 255 // socket.h:335:1:
|
||||
SOCK_NONBLOCK = 0x20000000 // socket.h:115:1:
|
||||
SOCK_RAW = 3 // socket.h:104:1:
|
||||
SOCK_RDM = 4 // socket.h:106:1:
|
||||
SOCK_SEQPACKET = 5 // socket.h:108:1:
|
||||
SOCK_STREAM = 1 // socket.h:102:1:
|
||||
SOL_SOCKET = 0xffff // socket.h:214:1:
|
||||
SOMAXCONN = 128 // socket.h:427:1:
|
||||
SO_ACCEPTCONN = 0x00000002 // socket.h:130:1:
|
||||
SO_ACCEPTFILTER = 0x00001000 // socket.h:144:1:
|
||||
SO_BINTIME = 0x00002000 // socket.h:145:1:
|
||||
SO_BROADCAST = 0x00000020 // socket.h:134:1:
|
||||
SO_DEBUG = 0x00000001 // socket.h:129:1:
|
||||
SO_DOMAIN = 0x1019 // socket.h:175:1:
|
||||
SO_DONTROUTE = 0x00000010 // socket.h:133:1:
|
||||
SO_ERROR = 0x1007 // socket.h:161:1:
|
||||
SO_KEEPALIVE = 0x00000008 // socket.h:132:1:
|
||||
SO_LABEL = 0x1009 // socket.h:164:1:
|
||||
SO_LINGER = 0x00000080 // socket.h:138:1:
|
||||
SO_LISTENINCQLEN = 0x1013 // socket.h:168:1:
|
||||
SO_LISTENQLEN = 0x1012 // socket.h:167:1:
|
||||
SO_LISTENQLIMIT = 0x1011 // socket.h:166:1:
|
||||
SO_MAX_PACING_RATE = 0x1018 // socket.h:174:1:
|
||||
SO_NOSIGPIPE = 0x00000800 // socket.h:143:1:
|
||||
SO_NO_DDP = 0x00008000 // socket.h:148:1:
|
||||
SO_NO_OFFLOAD = 0x00004000 // socket.h:147:1:
|
||||
SO_OOBINLINE = 0x00000100 // socket.h:139:1:
|
||||
SO_PEERLABEL = 0x1010 // socket.h:165:1:
|
||||
SO_PROTOCOL = 0x1016 // socket.h:171:1:
|
||||
SO_PROTOTYPE = 4118 // socket.h:172:1:
|
||||
SO_RCVBUF = 0x1002 // socket.h:156:1:
|
||||
SO_RCVLOWAT = 0x1004 // socket.h:158:1:
|
||||
SO_RCVTIMEO = 0x1006 // socket.h:160:1:
|
||||
SO_RERROR = 0x00020000 // socket.h:150:1:
|
||||
SO_REUSEADDR = 0x00000004 // socket.h:131:1:
|
||||
SO_REUSEPORT = 0x00000200 // socket.h:141:1:
|
||||
SO_REUSEPORT_LB = 0x00010000 // socket.h:149:1:
|
||||
SO_SETFIB = 0x1014 // socket.h:169:1:
|
||||
SO_SNDBUF = 0x1001 // socket.h:155:1:
|
||||
SO_SNDLOWAT = 0x1003 // socket.h:157:1:
|
||||
SO_SNDTIMEO = 0x1005 // socket.h:159:1:
|
||||
SO_TIMESTAMP = 0x00000400 // socket.h:142:1:
|
||||
SO_TS_BINTIME = 1 // socket.h:180:1:
|
||||
SO_TS_CLOCK = 0x1017 // socket.h:173:1:
|
||||
SO_TS_CLOCK_MAX = 3 // socket.h:184:1:
|
||||
SO_TS_DEFAULT = 0 // socket.h:183:1:
|
||||
SO_TS_MONOTONIC = 3 // socket.h:182:1:
|
||||
SO_TS_REALTIME = 2 // socket.h:181:1:
|
||||
SO_TS_REALTIME_MICRO = 0 // socket.h:179:1:
|
||||
SO_TYPE = 0x1008 // socket.h:162:1:
|
||||
SO_USELOOPBACK = 0x00000040 // socket.h:136:1:
|
||||
SO_USER_COOKIE = 0x1015 // socket.h:170:1:
|
||||
SO_VENDOR = 0x80000000 // socket.h:193:1:
|
||||
ST_INFO_HW = 0x0001 // socket.h:599:1:
|
||||
ST_INFO_HW_HPREC = 0x0002 // socket.h:600:1:
|
||||
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
|
||||
X_GID_T_DECLARED = 0 // socket.h:53:1:
|
||||
X_LP64 = 1 // <predefined>:1:1:
|
||||
X_MACHINE__LIMITS_H_ = 0 // _limits.h:36:1:
|
||||
X_MACHINE__TYPES_H_ = 0 // _types.h:42:1:
|
||||
X_Nonnull = 0 // cdefs.h:790:1:
|
||||
X_Null_unspecified = 0 // cdefs.h:792:1:
|
||||
X_Nullable = 0 // cdefs.h:791:1:
|
||||
X_OFF_T_DECLARED = 0 // socket.h:58:1:
|
||||
X_PID_T_DECLARED = 0 // socket.h:63:1:
|
||||
X_SA_FAMILY_T_DECLARED = 0 // socket.h:69:1:
|
||||
X_SIZE_T_DECLARED = 0 // _iovec.h:42:1:
|
||||
X_SOCKLEN_T_DECLARED = 0 // socket.h:74:1:
|
||||
X_SSIZE_T_DECLARED = 0 // socket.h:79:1:
|
||||
X_SS_MAXSIZE = 128 // _sockaddr_storage.h:41:1:
|
||||
X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
|
||||
X_SYS_SOCKET_H_ = 0 // socket.h:36:1:
|
||||
X_SYS__IOVEC_H_ = 0 // _iovec.h:36:1:
|
||||
X_SYS__SOCKADDR_STORAGE_H_ = 0 // _sockaddr_storage.h:36:1:
|
||||
X_SYS__TYPES_H_ = 0 // _types.h:32:1:
|
||||
X_UID_T_DECLARED = 0 // socket.h:85:1:
|
||||
X_UINT32_T_DECLARED = 0 // socket.h:91:1:
|
||||
X_UINTPTR_T_DECLARED = 0 // socket.h:96:1:
|
||||
X_X86_INCLUDE__ALIGN_H_ = 0 // _align.h:44:1:
|
||||
Pseudo_AF_HDRCMPLT = 31 // socket.h:258:1:
|
||||
Pseudo_AF_KEY = 27 // socket.h:252:1:
|
||||
Pseudo_AF_PIP = 25 // socket.h:249:1:
|
||||
Pseudo_AF_RTIP = 22 // socket.h:246:1:
|
||||
Pseudo_AF_XTP = 19 // socket.h:243:1:
|
||||
Unix = 1 // <predefined>:340:1:
|
||||
)
|
||||
|
||||
type Ptrdiff_t = int64 /* <builtin>:3:26 */
|
||||
@ -541,12 +542,15 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
|
||||
// Function should not be analyzed.
|
||||
|
||||
// Function or variable should not be sanitized, i.e. by AddressSanitizer.
|
||||
// Function or variable should not be sanitized, e.g., by AddressSanitizer.
|
||||
// GCC has the nosanitize attribute, but as a function attribute only, and
|
||||
// warns on use as a variable attribute.
|
||||
|
||||
// Guard variables and structure members by lock.
|
||||
|
||||
// Alignment builtins for better type checking and improved code generation.
|
||||
// Provide fallback versions for other compilers (GCC/Clang < 10):
|
||||
|
||||
// -
|
||||
// SPDX-License-Identifier: BSD-2-Clause-FreeBSD
|
||||
//
|
||||
@ -789,8 +793,8 @@ type X__cpusetid_t = int32 /* _types.h:70:14 */ // cpuset identifier.
|
||||
type X__daddr_t = X__int64_t /* _types.h:71:19 */ // bwrite(3), FIOBMAP2, etc
|
||||
|
||||
// Unusual type definitions.
|
||||
// rune_t is declared to be an ``int'' instead of the more natural
|
||||
// ``unsigned long'' or ``long''. Two things are happening here. It is not
|
||||
// rune_t is declared to be an “int” instead of the more natural
|
||||
// “unsigned long” or “long”. Two things are happening here. It is not
|
||||
// unsigned so that EOF (-1) can be naturally assigned to it and used. Also,
|
||||
// it looks like 10646 will be a 31 bit standard. This means that if your
|
||||
// ints cannot hold 32 bits, you will be in trouble. The reason an int was
|
||||
@ -823,8 +827,8 @@ type X__fixpt_t = X__uint32_t /* _types.h:115:20 */ // fixed point number
|
||||
// mbstate_t is an opaque object to keep conversion state during multibyte
|
||||
// stream conversions.
|
||||
type X__mbstate_t = struct {
|
||||
_ [0]uint64
|
||||
F__mbstate8 [128]int8
|
||||
F__ccgo_pad1 [0]uint64
|
||||
F__mbstate8 [128]int8
|
||||
} /* _types.h:124:3 */
|
||||
|
||||
type X__rman_res_t = X__uintmax_t /* _types.h:126:25 */
|
||||
@ -925,12 +929,12 @@ type Uintptr_t = X__uintptr_t /* socket.h:95:21 */
|
||||
type Linger = struct {
|
||||
Fl_onoff int32
|
||||
Fl_linger int32
|
||||
} /* socket.h:198:1 */
|
||||
} /* socket.h:199:1 */
|
||||
|
||||
type Accept_filter_arg = struct {
|
||||
Faf_name [16]int8
|
||||
Faf_arg [240]int8
|
||||
} /* socket.h:204:1 */
|
||||
} /* socket.h:205:1 */
|
||||
|
||||
// Level number for (get/set)sockopt() to apply to socket itself.
|
||||
|
||||
@ -945,14 +949,14 @@ type Sockaddr = struct {
|
||||
Fsa_len uint8
|
||||
Fsa_family Sa_family_t
|
||||
Fsa_data [14]int8
|
||||
} /* socket.h:328:1 */
|
||||
} /* socket.h:329:1 */
|
||||
|
||||
// Structure used by kernel to pass protocol
|
||||
// information in raw sockets.
|
||||
type Sockproto = struct {
|
||||
Fsp_family uint16
|
||||
Fsp_protocol uint16
|
||||
} /* socket.h:340:1 */
|
||||
} /* socket.h:341:1 */
|
||||
|
||||
// -
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
@ -1020,14 +1024,14 @@ type Sockaddr_storage = struct {
|
||||
type Msghdr = struct {
|
||||
Fmsg_name uintptr
|
||||
Fmsg_namelen Socklen_t
|
||||
_ [4]byte
|
||||
F__ccgo_pad1 [4]byte
|
||||
Fmsg_iov uintptr
|
||||
Fmsg_iovlen int32
|
||||
_ [4]byte
|
||||
F__ccgo_pad2 [4]byte
|
||||
Fmsg_control uintptr
|
||||
Fmsg_controllen Socklen_t
|
||||
Fmsg_flags int32
|
||||
} /* socket.h:432:1 */
|
||||
} /* socket.h:433:1 */
|
||||
|
||||
// 0x00000200 unused
|
||||
// 0x00000400 unused
|
||||
@ -1042,7 +1046,7 @@ type Cmsghdr = struct {
|
||||
Fcmsg_len Socklen_t
|
||||
Fcmsg_level int32
|
||||
Fcmsg_type int32
|
||||
} /* socket.h:481:1 */
|
||||
} /* socket.h:482:1 */
|
||||
|
||||
// While we may have more groups than this, the cmsgcred struct must
|
||||
// be able to fit in an mbuf and we have historically supported a
|
||||
@ -1059,9 +1063,9 @@ type Cmsgcred = struct {
|
||||
Fcmcred_euid Uid_t
|
||||
Fcmcred_gid Gid_t
|
||||
Fcmcred_ngroups int16
|
||||
_ [2]byte
|
||||
F__ccgo_pad1 [2]byte
|
||||
Fcmcred_groups [16]Gid_t
|
||||
} /* socket.h:503:1 */
|
||||
} /* socket.h:504:1 */
|
||||
|
||||
// Socket credentials (LOCAL_CREDS).
|
||||
type Sockcred = struct {
|
||||
@ -1071,7 +1075,7 @@ type Sockcred = struct {
|
||||
Fsc_egid Gid_t
|
||||
Fsc_ngroups int32
|
||||
Fsc_groups [1]Gid_t
|
||||
} /* socket.h:515:1 */
|
||||
} /* socket.h:516:1 */
|
||||
|
||||
// Compute size of a sockcred structure with groups.
|
||||
|
||||
@ -1085,7 +1089,7 @@ type Sockcred2 = struct {
|
||||
Fsc_egid Gid_t
|
||||
Fsc_ngroups int32
|
||||
Fsc_groups [1]Gid_t
|
||||
} /* socket.h:533:1 */
|
||||
} /* socket.h:534:1 */
|
||||
|
||||
// given pointer to struct cmsghdr, return pointer to data
|
||||
|
||||
@ -1102,26 +1106,26 @@ type Sock_timestamp_info = struct {
|
||||
Fst_info_flags X__uint32_t
|
||||
Fst_info_pad0 X__uint32_t
|
||||
Fst_info_rsv [7]X__uint64_t
|
||||
} /* socket.h:592:1 */
|
||||
} /* socket.h:593:1 */
|
||||
|
||||
// 4.3 compat sockaddr, move to compat file later
|
||||
type Osockaddr = struct {
|
||||
Fsa_family uint16
|
||||
Fsa_data [14]int8
|
||||
} /* socket.h:607:1 */
|
||||
} /* socket.h:608:1 */
|
||||
|
||||
// 4.3-compat message header (move to compat file later).
|
||||
type Omsghdr = struct {
|
||||
Fmsg_name uintptr
|
||||
Fmsg_namelen int32
|
||||
_ [4]byte
|
||||
F__ccgo_pad1 [4]byte
|
||||
Fmsg_iov uintptr
|
||||
Fmsg_iovlen int32
|
||||
_ [4]byte
|
||||
F__ccgo_pad2 [4]byte
|
||||
Fmsg_accrights uintptr
|
||||
Fmsg_accrightslen int32
|
||||
_ [4]byte
|
||||
} /* socket.h:615:1 */
|
||||
F__ccgo_pad3 [4]byte
|
||||
} /* socket.h:616:1 */
|
||||
|
||||
// howto arguments for shutdown(2), specified by Posix.1g.
|
||||
|
||||
@ -1130,13 +1134,13 @@ type Omsghdr = struct {
|
||||
|
||||
// sendfile(2) header/trailer struct
|
||||
type Sf_hdtr = struct {
|
||||
Fheaders uintptr
|
||||
Fhdr_cnt int32
|
||||
_ [4]byte
|
||||
Ftrailers uintptr
|
||||
Ftrl_cnt int32
|
||||
_ [4]byte
|
||||
} /* socket.h:644:1 */
|
||||
Fheaders uintptr
|
||||
Fhdr_cnt int32
|
||||
F__ccgo_pad1 [4]byte
|
||||
Ftrailers uintptr
|
||||
Ftrl_cnt int32
|
||||
F__ccgo_pad2 [4]byte
|
||||
} /* socket.h:645:1 */
|
||||
|
||||
// Sendfile-specific flag(s)
|
||||
|
||||
@ -1145,15 +1149,15 @@ type Mmsghdr = struct {
|
||||
Fmsg_hdr struct {
|
||||
Fmsg_name uintptr
|
||||
Fmsg_namelen Socklen_t
|
||||
_ [4]byte
|
||||
F__ccgo_pad1 [4]byte
|
||||
Fmsg_iov uintptr
|
||||
Fmsg_iovlen int32
|
||||
_ [4]byte
|
||||
F__ccgo_pad2 [4]byte
|
||||
Fmsg_control uintptr
|
||||
Fmsg_controllen Socklen_t
|
||||
Fmsg_flags int32
|
||||
}
|
||||
Fmsg_len Ssize_t
|
||||
} /* socket.h:668:1 */
|
||||
} /* socket.h:669:1 */
|
||||
|
||||
var _ int8 /* gen.c:2:13: */
|
||||
|
817
vendor/modernc.org/libc/sys/socket/socket_linux_386.go
generated
vendored
817
vendor/modernc.org/libc/sys/socket/socket_linux_386.go
generated
vendored
File diff suppressed because it is too large
Load Diff
1280
vendor/modernc.org/libc/sys/socket/socket_linux_amd64.go
generated
vendored
1280
vendor/modernc.org/libc/sys/socket/socket_linux_amd64.go
generated
vendored
File diff suppressed because it is too large
Load Diff
919
vendor/modernc.org/libc/sys/socket/socket_linux_arm.go
generated
vendored
919
vendor/modernc.org/libc/sys/socket/socket_linux_arm.go
generated
vendored
File diff suppressed because it is too large
Load Diff
864
vendor/modernc.org/libc/sys/socket/socket_linux_arm64.go
generated
vendored
864
vendor/modernc.org/libc/sys/socket/socket_linux_arm64.go
generated
vendored
File diff suppressed because it is too large
Load Diff
157
vendor/modernc.org/libc/sys/socket/socket_linux_s390x.go
generated
vendored
157
vendor/modernc.org/libc/sys/socket/socket_linux_s390x.go
generated
vendored
@ -129,8 +129,8 @@ const (
|
||||
SCM_WIFI_STATUS = 41
|
||||
SIOCATMARK = 0x8905
|
||||
SIOCGPGRP = 0x8904
|
||||
SIOCGSTAMPNS_OLD = 0x8907
|
||||
SIOCGSTAMP_OLD = 0x8906
|
||||
SIOCGSTAMP = 0x8906
|
||||
SIOCGSTAMPNS = 0x8907
|
||||
SIOCSPGRP = 0x8902
|
||||
SOL_AAL = 265
|
||||
SOL_ALG = 279
|
||||
@ -304,7 +304,8 @@ const ( /* socket.h:200:1: */
|
||||
)
|
||||
|
||||
// Socket level message types. This must match the definitions in
|
||||
// <linux/socket.h>.
|
||||
//
|
||||
// <linux/socket.h>.
|
||||
const ( /* socket.h:332:1: */
|
||||
SCM_RIGHTS = 1
|
||||
)
|
||||
@ -352,7 +353,8 @@ const ( /* socket_type.h:24:1: */
|
||||
)
|
||||
|
||||
// The following constants should be used for the second parameter of
|
||||
// `shutdown'.
|
||||
//
|
||||
// `shutdown'.
|
||||
const ( /* socket.h:41:1: */
|
||||
SHUT_RD = 0 // No more receptions.
|
||||
SHUT_WR = 1 // No more transmissions.
|
||||
@ -385,11 +387,6 @@ type X__float128 = float64 /* <builtin>:47:21 */
|
||||
// Define this type if we are doing the whole job,
|
||||
// or if we want this type in particular.
|
||||
|
||||
// In 4.3bsd-net2, leave these undefined to indicate that size_t, etc.
|
||||
// are already defined.
|
||||
// BSD/OS 3.1 and FreeBSD [23].x require the MACHINE_ANSI_H check here.
|
||||
// NetBSD 5 requires the I386_ANSI_H and X86_64_ANSI_H checks here.
|
||||
|
||||
// A null pointer constant.
|
||||
|
||||
// Structure for scatter/gather I/O.
|
||||
@ -398,7 +395,7 @@ type Iovec = struct {
|
||||
Fiov_len Size_t
|
||||
} /* struct_iovec.h:26:1 */
|
||||
|
||||
// Copyright (C) 1989-2017 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1989-2020 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of GCC.
|
||||
//
|
||||
@ -430,15 +427,6 @@ type Iovec = struct {
|
||||
// This avoids lossage on SunOS but only if stdtypes.h comes first.
|
||||
// There's no way to win with the other order! Sun lossage.
|
||||
|
||||
// On 4.3bsd-net2, make sure ansi.h is included, so we have
|
||||
// one less case to deal with in the following.
|
||||
// On FreeBSD 5, machine/ansi.h does not exist anymore...
|
||||
|
||||
// In 4.3bsd-net2, machine/ansi.h defines these symbols, which are
|
||||
// defined if the corresponding type is *not* defined.
|
||||
// FreeBSD-2.1 defines _MACHINE_ANSI_H_ instead of _ANSI_H_.
|
||||
// NetBSD defines _I386_ANSI_H_ and _X86_64_ANSI_H_ instead of _ANSI_H_
|
||||
|
||||
// Sequent's header files use _PTRDIFF_T_ in some conflicting way.
|
||||
// Just ignore it.
|
||||
|
||||
@ -473,11 +461,6 @@ type Iovec = struct {
|
||||
// Define this type if we are doing the whole job,
|
||||
// or if we want this type in particular.
|
||||
|
||||
// In 4.3bsd-net2, leave these undefined to indicate that size_t, etc.
|
||||
// are already defined.
|
||||
// BSD/OS 3.1 and FreeBSD [23].x require the MACHINE_ANSI_H check here.
|
||||
// NetBSD 5 requires the I386_ANSI_H and X86_64_ANSI_H checks here.
|
||||
|
||||
// A null pointer constant.
|
||||
|
||||
// This operating system-specific header file defines the SOCK_*, PF_*,
|
||||
@ -501,7 +484,7 @@ type Iovec = struct {
|
||||
// License along with the GNU C Library; if not, see
|
||||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Copyright (C) 1989-2017 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1989-2020 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of GCC.
|
||||
//
|
||||
@ -533,15 +516,6 @@ type Iovec = struct {
|
||||
// This avoids lossage on SunOS but only if stdtypes.h comes first.
|
||||
// There's no way to win with the other order! Sun lossage.
|
||||
|
||||
// On 4.3bsd-net2, make sure ansi.h is included, so we have
|
||||
// one less case to deal with in the following.
|
||||
// On FreeBSD 5, machine/ansi.h does not exist anymore...
|
||||
|
||||
// In 4.3bsd-net2, machine/ansi.h defines these symbols, which are
|
||||
// defined if the corresponding type is *not* defined.
|
||||
// FreeBSD-2.1 defines _MACHINE_ANSI_H_ instead of _ANSI_H_.
|
||||
// NetBSD defines _I386_ANSI_H_ and _X86_64_ANSI_H_ instead of _ANSI_H_
|
||||
|
||||
// Sequent's header files use _PTRDIFF_T_ in some conflicting way.
|
||||
// Just ignore it.
|
||||
|
||||
@ -576,11 +550,6 @@ type Iovec = struct {
|
||||
// Define this type if we are doing the whole job,
|
||||
// or if we want this type in particular.
|
||||
|
||||
// In 4.3bsd-net2, leave these undefined to indicate that size_t, etc.
|
||||
// are already defined.
|
||||
// BSD/OS 3.1 and FreeBSD [23].x require the MACHINE_ANSI_H check here.
|
||||
// NetBSD 5 requires the I386_ANSI_H and X86_64_ANSI_H checks here.
|
||||
|
||||
// A null pointer constant.
|
||||
|
||||
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
|
||||
@ -857,7 +826,8 @@ type X__syscall_slong_t = int64 /* types.h:196:33 */
|
||||
type X__syscall_ulong_t = uint64 /* types.h:198:33 */
|
||||
|
||||
// These few don't really vary by system, they always correspond
|
||||
// to one of the other defined types.
|
||||
//
|
||||
// to one of the other defined types.
|
||||
type X__loff_t = X__off64_t /* types.h:202:19 */ // Type of file sizes and offsets (LFS).
|
||||
type X__caddr_t = uintptr /* types.h:203:14 */
|
||||
|
||||
@ -868,8 +838,9 @@ type X__intptr_t = int64 /* types.h:206:25 */
|
||||
type X__socklen_t = uint32 /* types.h:209:23 */
|
||||
|
||||
// C99: An integer type that can be accessed as an atomic entity,
|
||||
// even in the presence of asynchronous interrupts.
|
||||
// It is not currently necessary for this to be machine-specific.
|
||||
//
|
||||
// even in the presence of asynchronous interrupts.
|
||||
// It is not currently necessary for this to be machine-specific.
|
||||
type X__sig_atomic_t = int32 /* types.h:214:13 */
|
||||
|
||||
// Seconds since the Epoch, visible to user code when time_t is too
|
||||
@ -1002,7 +973,7 @@ type Time_t = X__time_t /* time_t.h:7:18 */
|
||||
// Timer ID returned by `timer_create'.
|
||||
type Timer_t = X__timer_t /* timer_t.h:7:19 */
|
||||
|
||||
// Copyright (C) 1989-2017 Free Software Foundation, Inc.
|
||||
// Copyright (C) 1989-2020 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of GCC.
|
||||
//
|
||||
@ -1034,15 +1005,6 @@ type Timer_t = X__timer_t /* timer_t.h:7:19 */
|
||||
// This avoids lossage on SunOS but only if stdtypes.h comes first.
|
||||
// There's no way to win with the other order! Sun lossage.
|
||||
|
||||
// On 4.3bsd-net2, make sure ansi.h is included, so we have
|
||||
// one less case to deal with in the following.
|
||||
// On FreeBSD 5, machine/ansi.h does not exist anymore...
|
||||
|
||||
// In 4.3bsd-net2, machine/ansi.h defines these symbols, which are
|
||||
// defined if the corresponding type is *not* defined.
|
||||
// FreeBSD-2.1 defines _MACHINE_ANSI_H_ instead of _ANSI_H_.
|
||||
// NetBSD defines _I386_ANSI_H_ and _X86_64_ANSI_H_ instead of _ANSI_H_
|
||||
|
||||
// Sequent's header files use _PTRDIFF_T_ in some conflicting way.
|
||||
// Just ignore it.
|
||||
|
||||
@ -1077,11 +1039,6 @@ type Timer_t = X__timer_t /* timer_t.h:7:19 */
|
||||
// Define this type if we are doing the whole job,
|
||||
// or if we want this type in particular.
|
||||
|
||||
// In 4.3bsd-net2, leave these undefined to indicate that size_t, etc.
|
||||
// are already defined.
|
||||
// BSD/OS 3.1 and FreeBSD [23].x require the MACHINE_ANSI_H check here.
|
||||
// NetBSD 5 requires the I386_ANSI_H and X86_64_ANSI_H checks here.
|
||||
|
||||
// A null pointer constant.
|
||||
|
||||
// Old compatibility names for C types.
|
||||
@ -1252,7 +1209,8 @@ type Sigset_t = X__sigset_t /* sigset_t.h:7:20 */
|
||||
// Never include this file directly; use <sys/types.h> instead.
|
||||
|
||||
// A time value that is accurate to the nearest
|
||||
// microsecond but also has a range of years.
|
||||
//
|
||||
// microsecond but also has a range of years.
|
||||
type Timeval = struct {
|
||||
Ftv_sec X__time_t
|
||||
Ftv_usec X__suseconds_t
|
||||
@ -1299,7 +1257,8 @@ type Timeval = struct {
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
// POSIX.1b structure for a time value. This is like a `struct timeval' but
|
||||
// has nanoseconds instead of microseconds.
|
||||
//
|
||||
// has nanoseconds instead of microseconds.
|
||||
type Timespec = struct {
|
||||
Ftv_sec X__time_t
|
||||
Ftv_nsec X__syscall_slong_t
|
||||
@ -1594,7 +1553,7 @@ type X__pthread_rwlock_arch_t = struct {
|
||||
F__pad1 uint64
|
||||
F__pad2 uint64
|
||||
F__flags uint32
|
||||
_ [4]byte
|
||||
F__ccgo_pad1 [4]byte
|
||||
} /* struct_rwlock.h:23:1 */
|
||||
|
||||
// Common definition of pthread_cond_t.
|
||||
@ -1610,21 +1569,24 @@ type X__pthread_cond_s = struct {
|
||||
} /* thread-shared-types.h:92:1 */
|
||||
|
||||
// Thread identifiers. The structure of the attribute type is not
|
||||
// exposed on purpose.
|
||||
//
|
||||
// exposed on purpose.
|
||||
type Pthread_t = uint64 /* pthreadtypes.h:27:27 */
|
||||
|
||||
// Data structures for mutex handling. The structure of the attribute
|
||||
// type is not exposed on purpose.
|
||||
//
|
||||
// type is not exposed on purpose.
|
||||
type Pthread_mutexattr_t = struct {
|
||||
_ [0]uint32
|
||||
F__size [4]uint8
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [4]uint8
|
||||
} /* pthreadtypes.h:36:3 */
|
||||
|
||||
// Data structure for condition variable handling. The structure of
|
||||
// the attribute type is not exposed on purpose.
|
||||
//
|
||||
// the attribute type is not exposed on purpose.
|
||||
type Pthread_condattr_t = struct {
|
||||
_ [0]uint32
|
||||
F__size [4]uint8
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [4]uint8
|
||||
} /* pthreadtypes.h:45:3 */
|
||||
|
||||
// Keys for thread-specific data
|
||||
@ -1634,8 +1596,8 @@ type Pthread_key_t = uint32 /* pthreadtypes.h:49:22 */
|
||||
type Pthread_once_t = int32 /* pthreadtypes.h:53:30 */
|
||||
|
||||
type Pthread_attr_t1 = struct {
|
||||
_ [0]uint64
|
||||
F__size [56]uint8
|
||||
F__ccgo_pad1 [0]uint64
|
||||
F__size [56]uint8
|
||||
} /* pthreadtypes.h:56:1 */
|
||||
|
||||
type Pthread_attr_t = Pthread_attr_t1 /* pthreadtypes.h:62:30 */
|
||||
@ -1645,27 +1607,29 @@ type Pthread_mutex_t = struct{ F__data X__pthread_mutex_s } /* pthreadtypes.h:72
|
||||
type Pthread_cond_t = struct{ F__data X__pthread_cond_s } /* pthreadtypes.h:80:3 */
|
||||
|
||||
// Data structure for reader-writer lock variable handling. The
|
||||
// structure of the attribute type is deliberately not exposed.
|
||||
//
|
||||
// structure of the attribute type is deliberately not exposed.
|
||||
type Pthread_rwlock_t = struct{ F__data X__pthread_rwlock_arch_t } /* pthreadtypes.h:91:3 */
|
||||
|
||||
type Pthread_rwlockattr_t = struct {
|
||||
_ [0]uint64
|
||||
F__size [8]uint8
|
||||
F__ccgo_pad1 [0]uint64
|
||||
F__size [8]uint8
|
||||
} /* pthreadtypes.h:97:3 */
|
||||
|
||||
// POSIX spinlock data type.
|
||||
type Pthread_spinlock_t = int32 /* pthreadtypes.h:103:22 */
|
||||
|
||||
// POSIX barriers data type. The structure of the type is
|
||||
// deliberately not exposed.
|
||||
//
|
||||
// deliberately not exposed.
|
||||
type Pthread_barrier_t = struct {
|
||||
_ [0]uint64
|
||||
F__size [32]uint8
|
||||
F__ccgo_pad1 [0]uint64
|
||||
F__size [32]uint8
|
||||
} /* pthreadtypes.h:112:3 */
|
||||
|
||||
type Pthread_barrierattr_t = struct {
|
||||
_ [0]uint32
|
||||
F__size [4]uint8
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [4]uint8
|
||||
} /* pthreadtypes.h:118:3 */
|
||||
|
||||
// Type for length arguments in socket calls.
|
||||
@ -1728,25 +1692,26 @@ type Sockaddr_storage = struct {
|
||||
} /* socket.h:191:1 */
|
||||
|
||||
// Structure describing messages sent by
|
||||
// `sendmsg' and received by `recvmsg'.
|
||||
//
|
||||
// `sendmsg' and received by `recvmsg'.
|
||||
type Msghdr = struct {
|
||||
Fmsg_name uintptr
|
||||
Fmsg_namelen Socklen_t
|
||||
_ [4]byte
|
||||
F__ccgo_pad1 [4]byte
|
||||
Fmsg_iov uintptr
|
||||
Fmsg_iovlen Size_t
|
||||
Fmsg_control uintptr
|
||||
Fmsg_controllen Size_t
|
||||
Fmsg_flags int32
|
||||
_ [4]byte
|
||||
F__ccgo_pad2 [4]byte
|
||||
} /* socket.h:257:1 */
|
||||
|
||||
// Structure used for storage of ancillary data object information.
|
||||
type Cmsghdr = struct {
|
||||
_ [0]uint64
|
||||
Fcmsg_len Size_t
|
||||
Fcmsg_level int32
|
||||
Fcmsg_type int32
|
||||
F__ccgo_pad1 [0]uint64
|
||||
Fcmsg_len Size_t
|
||||
Fcmsg_level int32
|
||||
Fcmsg_type int32
|
||||
} /* socket.h:275:1 */
|
||||
|
||||
// SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
|
||||
@ -1836,16 +1801,17 @@ type X__kernel_old_gid_t = X__kernel_gid_t /* posix_types.h:55:24 */
|
||||
type X__kernel_fsid_t = struct{ Fval [2]int32 } /* posix_types.h:81:3 */
|
||||
|
||||
// anything below here should be completely generic
|
||||
type X__kernel_off_t = X__kernel_long_t /* posix_types.h:87:25 */
|
||||
type X__kernel_loff_t = int64 /* posix_types.h:88:19 */
|
||||
type X__kernel_time_t = X__kernel_long_t /* posix_types.h:89:25 */
|
||||
type X__kernel_time64_t = int64 /* posix_types.h:90:19 */
|
||||
type X__kernel_clock_t = X__kernel_long_t /* posix_types.h:91:25 */
|
||||
type X__kernel_timer_t = int32 /* posix_types.h:92:14 */
|
||||
type X__kernel_clockid_t = int32 /* posix_types.h:93:14 */
|
||||
type X__kernel_caddr_t = uintptr /* posix_types.h:94:14 */
|
||||
type X__kernel_uid16_t = uint16 /* posix_types.h:95:24 */
|
||||
type X__kernel_gid16_t = uint16 /* posix_types.h:96:24 */
|
||||
type X__kernel_off_t = X__kernel_long_t /* posix_types.h:87:25 */
|
||||
type X__kernel_loff_t = int64 /* posix_types.h:88:19 */
|
||||
type X__kernel_old_time_t = X__kernel_long_t /* posix_types.h:89:25 */
|
||||
type X__kernel_time_t = X__kernel_long_t /* posix_types.h:90:25 */
|
||||
type X__kernel_time64_t = int64 /* posix_types.h:91:19 */
|
||||
type X__kernel_clock_t = X__kernel_long_t /* posix_types.h:92:25 */
|
||||
type X__kernel_timer_t = int32 /* posix_types.h:93:14 */
|
||||
type X__kernel_clockid_t = int32 /* posix_types.h:94:14 */
|
||||
type X__kernel_caddr_t = uintptr /* posix_types.h:95:14 */
|
||||
type X__kernel_uid16_t = uint16 /* posix_types.h:96:24 */
|
||||
type X__kernel_gid16_t = uint16 /* posix_types.h:97:24 */
|
||||
|
||||
// SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
|
||||
|
||||
@ -1868,7 +1834,8 @@ type Linger = struct {
|
||||
} /* socket.h:361:1 */
|
||||
|
||||
// This is the 4.3 BSD `struct sockaddr' format, which is used as wire
|
||||
// format in the grotty old 4.3 `talk' protocol.
|
||||
//
|
||||
// format in the grotty old 4.3 `talk' protocol.
|
||||
type Osockaddr = struct {
|
||||
Fsa_family uint16
|
||||
Fsa_data [14]uint8
|
||||
|
364
vendor/modernc.org/libc/sys/socket/socket_netbsd_amd64.go
generated
vendored
364
vendor/modernc.org/libc/sys/socket/socket_netbsd_amd64.go
generated
vendored
@ -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_netbsd_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_netbsd_amd64.go -pkgname socket', DO NOT EDIT.
|
||||
|
||||
package socket
|
||||
|
||||
@ -15,173 +15,173 @@ var _ atomic.Value
|
||||
var _ unsafe.Pointer
|
||||
|
||||
const (
|
||||
AF_APPLETALK = 16
|
||||
AF_ARP = 28
|
||||
AF_BLUETOOTH = 31
|
||||
AF_CAN = 35
|
||||
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_ETHER = 36
|
||||
AF_HYLINK = 15
|
||||
AF_IEEE80211 = 32
|
||||
AF_IMPLINK = 3
|
||||
AF_INET = 2
|
||||
AF_INET6 = 24
|
||||
AF_IPX = 23
|
||||
AF_ISDN = 26
|
||||
AF_ISO = 7
|
||||
AF_LAT = 14
|
||||
AF_LINK = 18
|
||||
AF_LOCAL = 1
|
||||
AF_MAX = 37
|
||||
AF_MPLS = 33
|
||||
AF_NATM = 27
|
||||
AF_NS = 6
|
||||
AF_OROUTE = 17
|
||||
AF_OSI = 7
|
||||
AF_PUP = 4
|
||||
AF_ROUTE = 34
|
||||
AF_SNA = 11
|
||||
AF_UNIX = 1
|
||||
AF_UNSPEC = 0
|
||||
MSG_BCAST = 0x0100
|
||||
MSG_CMSG_CLOEXEC = 0x0800
|
||||
MSG_CONTROLMBUF = 0x2000000
|
||||
MSG_CTRUNC = 0x0020
|
||||
MSG_DONTROUTE = 0x0004
|
||||
MSG_DONTWAIT = 0x0080
|
||||
MSG_EOR = 0x0008
|
||||
MSG_IOVUSRSPACE = 0x4000000
|
||||
MSG_LENUSRSPACE = 0x8000000
|
||||
MSG_MCAST = 0x0200
|
||||
MSG_NAMEMBUF = 0x1000000
|
||||
MSG_NBIO = 0x1000
|
||||
MSG_NOSIGNAL = 0x0400
|
||||
MSG_NOTIFICATION = 0x4000
|
||||
MSG_OOB = 0x0001
|
||||
MSG_PEEK = 0x0002
|
||||
MSG_TRUNC = 0x0010
|
||||
MSG_USERFLAGS = 0x0ffffff
|
||||
MSG_WAITALL = 0x0040
|
||||
MSG_WAITFORONE = 0x2000
|
||||
NET_RT_DUMP = 1
|
||||
NET_RT_FLAGS = 2
|
||||
NET_RT_IFLIST = 6
|
||||
NET_RT_OIFLIST = 5
|
||||
NET_RT_OOIFLIST = 4
|
||||
NET_RT_OOOIFLIST = 3
|
||||
PCB_ALL = 0
|
||||
PCB_SLOP = 20
|
||||
PF_APPLETALK = 16
|
||||
PF_ARP = 28
|
||||
PF_BLUETOOTH = 31
|
||||
PF_CAN = 35
|
||||
PF_CCITT = 10
|
||||
PF_CHAOS = 5
|
||||
PF_CNT = 21
|
||||
PF_COIP = 20
|
||||
PF_DATAKIT = 9
|
||||
PF_DECnet = 12
|
||||
PF_DLI = 13
|
||||
PF_E164 = 26
|
||||
PF_ECMA = 8
|
||||
PF_ETHER = 36
|
||||
PF_HYLINK = 15
|
||||
PF_IMPLINK = 3
|
||||
PF_INET = 2
|
||||
PF_INET6 = 24
|
||||
PF_IPX = 23
|
||||
PF_ISDN = 26
|
||||
PF_ISO = 7
|
||||
PF_KEY = 29
|
||||
PF_LAT = 14
|
||||
PF_LINK = 18
|
||||
PF_LOCAL = 1
|
||||
PF_MAX = 37
|
||||
PF_MPLS = 33
|
||||
PF_NATM = 27
|
||||
PF_NS = 6
|
||||
PF_OROUTE = 17
|
||||
PF_OSI = 7
|
||||
PF_PIP = 25
|
||||
PF_PUP = 4
|
||||
PF_ROUTE = 34
|
||||
PF_RTIP = 22
|
||||
PF_SNA = 11
|
||||
PF_UNIX = 1
|
||||
PF_UNSPEC = 0
|
||||
PF_XTP = 19
|
||||
SCM_CREDS = 0x10
|
||||
SCM_RIGHTS = 0x01
|
||||
SCM_TIMESTAMP = 0x08
|
||||
SHUT_RD = 0
|
||||
SHUT_RDWR = 2
|
||||
SHUT_WR = 1
|
||||
SOCK_CLOEXEC = 0x10000000
|
||||
SOCK_CONN_DGRAM = 6
|
||||
SOCK_DCCP = 6
|
||||
SOCK_DGRAM = 2
|
||||
SOCK_FLAGS_MASK = 0xf0000000
|
||||
SOCK_NONBLOCK = 0x20000000
|
||||
SOCK_NOSIGPIPE = 0x40000000
|
||||
SOCK_RAW = 3
|
||||
SOCK_RDM = 4
|
||||
SOCK_SEQPACKET = 5
|
||||
SOCK_STREAM = 1
|
||||
SOL_SOCKET = 0xffff
|
||||
SOMAXCONN = 128
|
||||
SO_ACCEPTCONN = 0x0002
|
||||
SO_ACCEPTFILTER = 0x1000
|
||||
SO_BROADCAST = 0x0020
|
||||
SO_DEBUG = 0x0001
|
||||
SO_DEFOPTS = 27645
|
||||
SO_DONTROUTE = 0x0010
|
||||
SO_ERROR = 0x1007
|
||||
SO_KEEPALIVE = 0x0008
|
||||
SO_LINGER = 0x0080
|
||||
SO_NOHEADER = 0x100a
|
||||
SO_NOSIGPIPE = 0x0800
|
||||
SO_OOBINLINE = 0x0100
|
||||
SO_OVERFLOWED = 0x1009
|
||||
SO_RCVBUF = 0x1002
|
||||
SO_RCVLOWAT = 0x1004
|
||||
SO_RCVTIMEO = 0x100c
|
||||
SO_RERROR = 0x4000
|
||||
SO_REUSEADDR = 0x0004
|
||||
SO_REUSEPORT = 0x0200
|
||||
SO_SNDBUF = 0x1001
|
||||
SO_SNDLOWAT = 0x1003
|
||||
SO_SNDTIMEO = 0x100b
|
||||
SO_TIMESTAMP = 0x2000
|
||||
SO_TYPE = 0x1008
|
||||
SO_USELOOPBACK = 0x0040
|
||||
UIO_MAXIOV = 1024
|
||||
X_AMD64_INT_TYPES_H_ = 0
|
||||
X_FILE_OFFSET_BITS = 64
|
||||
X_LP64 = 1
|
||||
X_NETBSD_SOURCE = 1
|
||||
X_SS_MAXSIZE = 128
|
||||
X_SYS_ANSI_H_ = 0
|
||||
X_SYS_CDEFS_ELF_H_ = 0
|
||||
X_SYS_CDEFS_H_ = 0
|
||||
X_SYS_COMMON_ANSI_H_ = 0
|
||||
X_SYS_COMMON_INT_TYPES_H_ = 0
|
||||
X_SYS_SIGTYPES_H_ = 0
|
||||
X_SYS_SOCKET_H_ = 0
|
||||
X_SYS_UIO_H_ = 0
|
||||
X_X86_64_CDEFS_H_ = 0
|
||||
Pseudo_AF_HDRCMPLT = 30
|
||||
Pseudo_AF_KEY = 29
|
||||
Pseudo_AF_PIP = 25
|
||||
Pseudo_AF_RTIP = 22
|
||||
Pseudo_AF_XTP = 19
|
||||
AF_APPLETALK = 16 // socket.h:218:1:
|
||||
AF_ARP = 28 // socket.h:237:1:
|
||||
AF_BLUETOOTH = 31 // socket.h:243:1:
|
||||
AF_CAN = 35 // socket.h:247:1:
|
||||
AF_CCITT = 10 // socket.h:212:1:
|
||||
AF_CHAOS = 5 // socket.h:206:1:
|
||||
AF_CNT = 21 // socket.h:225:1:
|
||||
AF_COIP = 20 // socket.h:224:1:
|
||||
AF_DATAKIT = 9 // socket.h:211:1:
|
||||
AF_DECnet = 12 // socket.h:214:1:
|
||||
AF_DLI = 13 // socket.h:215:1:
|
||||
AF_E164 = 26 // socket.h:235:1:
|
||||
AF_ECMA = 8 // socket.h:210:1:
|
||||
AF_ETHER = 36 // socket.h:248:1:
|
||||
AF_HYLINK = 15 // socket.h:217:1:
|
||||
AF_IEEE80211 = 32 // socket.h:244:1:
|
||||
AF_IMPLINK = 3 // socket.h:204:1:
|
||||
AF_INET = 2 // socket.h:203:1:
|
||||
AF_INET6 = 24 // socket.h:230:1:
|
||||
AF_IPX = 23 // socket.h:229:1:
|
||||
AF_ISDN = 26 // socket.h:234:1:
|
||||
AF_ISO = 7 // socket.h:208:1:
|
||||
AF_LAT = 14 // socket.h:216:1:
|
||||
AF_LINK = 18 // socket.h:220:1:
|
||||
AF_LOCAL = 1 // socket.h:201:1:
|
||||
AF_MAX = 37 // socket.h:249:1:
|
||||
AF_MPLS = 33 // socket.h:245:1:
|
||||
AF_NATM = 27 // socket.h:236:1:
|
||||
AF_NS = 6 // socket.h:207:1:
|
||||
AF_OROUTE = 17 // socket.h:219:1:
|
||||
AF_OSI = 7 // socket.h:209:1:
|
||||
AF_PUP = 4 // socket.h:205:1:
|
||||
AF_ROUTE = 34 // socket.h:246:1:
|
||||
AF_SNA = 11 // socket.h:213:1:
|
||||
AF_UNIX = 1 // socket.h:202:1:
|
||||
AF_UNSPEC = 0 // socket.h:200:1:
|
||||
MSG_BCAST = 0x0100 // socket.h:497:1:
|
||||
MSG_CMSG_CLOEXEC = 0x0800 // socket.h:501:1:
|
||||
MSG_CONTROLMBUF = 0x2000000 // socket.h:515:1:
|
||||
MSG_CTRUNC = 0x0020 // socket.h:494:1:
|
||||
MSG_DONTROUTE = 0x0004 // socket.h:491:1:
|
||||
MSG_DONTWAIT = 0x0080 // socket.h:496:1:
|
||||
MSG_EOR = 0x0008 // socket.h:492:1:
|
||||
MSG_IOVUSRSPACE = 0x4000000 // socket.h:516:1:
|
||||
MSG_LENUSRSPACE = 0x8000000 // socket.h:517:1:
|
||||
MSG_MCAST = 0x0200 // socket.h:498:1:
|
||||
MSG_NAMEMBUF = 0x1000000 // socket.h:514:1:
|
||||
MSG_NBIO = 0x1000 // socket.h:502:1:
|
||||
MSG_NOSIGNAL = 0x0400 // socket.h:499:1:
|
||||
MSG_NOTIFICATION = 0x4000 // socket.h:504:1:
|
||||
MSG_OOB = 0x0001 // socket.h:489:1:
|
||||
MSG_PEEK = 0x0002 // socket.h:490:1:
|
||||
MSG_TRUNC = 0x0010 // socket.h:493:1:
|
||||
MSG_USERFLAGS = 0x0ffffff // socket.h:513:1:
|
||||
MSG_WAITALL = 0x0040 // socket.h:495:1:
|
||||
MSG_WAITFORONE = 0x2000 // socket.h:503:1:
|
||||
NET_RT_DUMP = 1 // socket.h:457:1:
|
||||
NET_RT_FLAGS = 2 // socket.h:458:1:
|
||||
NET_RT_IFLIST = 6 // socket.h:462:1:
|
||||
NET_RT_OIFLIST = 5 // socket.h:461:1:
|
||||
NET_RT_OOIFLIST = 4 // socket.h:460:1:
|
||||
NET_RT_OOOIFLIST = 3 // socket.h:459:1:
|
||||
PCB_ALL = 0 // socket.h:444:1:
|
||||
PCB_SLOP = 20 // socket.h:443:1:
|
||||
PF_APPLETALK = 16 // socket.h:334:1:
|
||||
PF_ARP = 28 // socket.h:351:1:
|
||||
PF_BLUETOOTH = 31 // socket.h:355:1:
|
||||
PF_CAN = 35 // socket.h:358:1:
|
||||
PF_CCITT = 10 // socket.h:328:1:
|
||||
PF_CHAOS = 5 // socket.h:322:1:
|
||||
PF_CNT = 21 // socket.h:341:1:
|
||||
PF_COIP = 20 // socket.h:340:1:
|
||||
PF_DATAKIT = 9 // socket.h:327:1:
|
||||
PF_DECnet = 12 // socket.h:330:1:
|
||||
PF_DLI = 13 // socket.h:331:1:
|
||||
PF_E164 = 26 // socket.h:349:1:
|
||||
PF_ECMA = 8 // socket.h:326:1:
|
||||
PF_ETHER = 36 // socket.h:359:1:
|
||||
PF_HYLINK = 15 // socket.h:333:1:
|
||||
PF_IMPLINK = 3 // socket.h:320:1:
|
||||
PF_INET = 2 // socket.h:319:1:
|
||||
PF_INET6 = 24 // socket.h:342:1:
|
||||
PF_IPX = 23 // socket.h:343:1:
|
||||
PF_ISDN = 26 // socket.h:348:1:
|
||||
PF_ISO = 7 // socket.h:324:1:
|
||||
PF_KEY = 29 // socket.h:353:1:
|
||||
PF_LAT = 14 // socket.h:332:1:
|
||||
PF_LINK = 18 // socket.h:336:1:
|
||||
PF_LOCAL = 1 // socket.h:317:1:
|
||||
PF_MAX = 37 // socket.h:361:1:
|
||||
PF_MPLS = 33 // socket.h:356:1:
|
||||
PF_NATM = 27 // socket.h:350:1:
|
||||
PF_NS = 6 // socket.h:323:1:
|
||||
PF_OROUTE = 17 // socket.h:335:1:
|
||||
PF_OSI = 7 // socket.h:325:1:
|
||||
PF_PIP = 25 // socket.h:346:1:
|
||||
PF_PUP = 4 // socket.h:321:1:
|
||||
PF_ROUTE = 34 // socket.h:357:1:
|
||||
PF_RTIP = 22 // socket.h:345:1:
|
||||
PF_SNA = 11 // socket.h:329:1:
|
||||
PF_UNIX = 1 // socket.h:318:1:
|
||||
PF_UNSPEC = 0 // socket.h:316:1:
|
||||
PF_XTP = 19 // socket.h:338:1:
|
||||
SCM_CREDS = 0x10 // socket.h:581:1:
|
||||
SCM_RIGHTS = 0x01 // socket.h:576:1:
|
||||
SCM_TIMESTAMP = 0x08 // socket.h:580:1:
|
||||
SHUT_RD = 0 // socket.h:587:1:
|
||||
SHUT_RDWR = 2 // socket.h:589:1:
|
||||
SHUT_WR = 1 // socket.h:588:1:
|
||||
SOCK_CLOEXEC = 0x10000000 // socket.h:113:1:
|
||||
SOCK_CONN_DGRAM = 6 // socket.h:110:1:
|
||||
SOCK_DCCP = 6 // socket.h:111:1:
|
||||
SOCK_DGRAM = 2 // socket.h:106:1:
|
||||
SOCK_FLAGS_MASK = 0xf0000000 // socket.h:116:1:
|
||||
SOCK_NONBLOCK = 0x20000000 // socket.h:114:1:
|
||||
SOCK_NOSIGPIPE = 0x40000000 // socket.h:115:1:
|
||||
SOCK_RAW = 3 // socket.h:107:1:
|
||||
SOCK_RDM = 4 // socket.h:108:1:
|
||||
SOCK_SEQPACKET = 5 // socket.h:109:1:
|
||||
SOCK_STREAM = 1 // socket.h:105:1:
|
||||
SOL_SOCKET = 0xffff // socket.h:195:1:
|
||||
SOMAXCONN = 128 // socket.h:470:1:
|
||||
SO_ACCEPTCONN = 0x0002 // socket.h:122:1:
|
||||
SO_ACCEPTFILTER = 0x1000 // socket.h:133:1:
|
||||
SO_BROADCAST = 0x0020 // socket.h:126:1:
|
||||
SO_DEBUG = 0x0001 // socket.h:121:1:
|
||||
SO_DEFOPTS = 27645 // socket.h:138:1:
|
||||
SO_DONTROUTE = 0x0010 // socket.h:125:1:
|
||||
SO_ERROR = 0x1007 // socket.h:169:1:
|
||||
SO_KEEPALIVE = 0x0008 // socket.h:124:1:
|
||||
SO_LINGER = 0x0080 // socket.h:128:1:
|
||||
SO_NOHEADER = 0x100a // socket.h:173:1:
|
||||
SO_NOSIGPIPE = 0x0800 // socket.h:132:1:
|
||||
SO_OOBINLINE = 0x0100 // socket.h:129:1:
|
||||
SO_OVERFLOWED = 0x1009 // socket.h:171:1:
|
||||
SO_RCVBUF = 0x1002 // socket.h:164:1:
|
||||
SO_RCVLOWAT = 0x1004 // socket.h:166:1:
|
||||
SO_RCVTIMEO = 0x100c // socket.h:178:1:
|
||||
SO_RERROR = 0x4000 // socket.h:135:1:
|
||||
SO_REUSEADDR = 0x0004 // socket.h:123:1:
|
||||
SO_REUSEPORT = 0x0200 // socket.h:130:1:
|
||||
SO_SNDBUF = 0x1001 // socket.h:163:1:
|
||||
SO_SNDLOWAT = 0x1003 // socket.h:165:1:
|
||||
SO_SNDTIMEO = 0x100b // socket.h:177:1:
|
||||
SO_TIMESTAMP = 0x2000 // socket.h:134:1:
|
||||
SO_TYPE = 0x1008 // socket.h:170:1:
|
||||
SO_USELOOPBACK = 0x0040 // socket.h:127:1:
|
||||
UIO_MAXIOV = 1024 // uio.h:97:1:
|
||||
X_AMD64_INT_TYPES_H_ = 0 // int_types.h:35:1:
|
||||
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
|
||||
X_LP64 = 1 // <predefined>:268:1:
|
||||
X_NETBSD_SOURCE = 1 // featuretest.h:70:1:
|
||||
X_SS_MAXSIZE = 128 // socket.h:294:1:
|
||||
X_SYS_ANSI_H_ = 0 // ansi.h:33:1:
|
||||
X_SYS_CDEFS_ELF_H_ = 0 // cdefs_elf.h:31:1:
|
||||
X_SYS_CDEFS_H_ = 0 // cdefs.h:37:1:
|
||||
X_SYS_COMMON_ANSI_H_ = 0 // common_ansi.h:33:1:
|
||||
X_SYS_COMMON_INT_TYPES_H_ = 0 // common_int_types.h:33:1:
|
||||
X_SYS_SIGTYPES_H_ = 0 // sigtypes.h:40:1:
|
||||
X_SYS_SOCKET_H_ = 0 // socket.h:64:1:
|
||||
X_SYS_UIO_H_ = 0 // uio.h:35:1:
|
||||
X_X86_64_CDEFS_H_ = 0 // cdefs.h:4:1:
|
||||
Pseudo_AF_HDRCMPLT = 30 // socket.h:240:1:
|
||||
Pseudo_AF_KEY = 29 // socket.h:239:1:
|
||||
Pseudo_AF_PIP = 25 // socket.h:232:1:
|
||||
Pseudo_AF_RTIP = 22 // socket.h:227:1:
|
||||
Pseudo_AF_XTP = 19 // socket.h:222:1:
|
||||
)
|
||||
|
||||
// file offset
|
||||
@ -323,8 +323,8 @@ type X__wctype_t = uintptr /* ansi.h:54:31 */
|
||||
// mbstate_t is an opaque object to keep conversion state, during multibyte
|
||||
// stream conversions. The content must not be referenced by user programs.
|
||||
type X__mbstate_t = struct {
|
||||
F__mbstateL X__int64_t
|
||||
_ [120]byte
|
||||
F__mbstateL X__int64_t
|
||||
F__ccgo_pad1 [120]byte
|
||||
} /* ansi.h:63:3 */
|
||||
|
||||
type X__va_list = X__builtin_va_list /* ansi.h:72:27 */
|
||||
@ -662,10 +662,10 @@ type Sigset_t = struct{ F__bits [4]X__uint32_t } /* sigtypes.h:62:3 */
|
||||
// Macro for manipulating signal masks.
|
||||
|
||||
type Sigaltstack = struct {
|
||||
Fss_sp uintptr
|
||||
Fss_size Size_t
|
||||
Fss_flags int32
|
||||
_ [4]byte
|
||||
Fss_sp uintptr
|
||||
Fss_size Size_t
|
||||
Fss_flags int32
|
||||
F__ccgo_pad1 [4]byte
|
||||
} /* sigtypes.h:108:9 */
|
||||
|
||||
// Macro for manipulating signal masks.
|
||||
@ -758,7 +758,7 @@ type Kinfo_pcb = struct {
|
||||
Fsa_family X__sa_family_t
|
||||
Fsa_data [14]int8
|
||||
}
|
||||
_ [248]byte
|
||||
F__ccgo_pad1 [248]byte
|
||||
}
|
||||
Fki_d struct {
|
||||
F_kid_dst struct {
|
||||
@ -766,7 +766,7 @@ type Kinfo_pcb = struct {
|
||||
Fsa_family X__sa_family_t
|
||||
Fsa_data [14]int8
|
||||
}
|
||||
_ [248]byte
|
||||
F__ccgo_pad1 [248]byte
|
||||
}
|
||||
Fki_inode X__uint64_t
|
||||
Fki_vnode X__uint64_t
|
||||
@ -823,10 +823,10 @@ type Kinfo_pcb = struct {
|
||||
type Msghdr = struct {
|
||||
Fmsg_name uintptr
|
||||
Fmsg_namelen X__socklen_t
|
||||
_ [4]byte
|
||||
F__ccgo_pad1 [4]byte
|
||||
Fmsg_iov uintptr
|
||||
Fmsg_iovlen int32
|
||||
_ [4]byte
|
||||
F__ccgo_pad2 [4]byte
|
||||
Fmsg_control uintptr
|
||||
Fmsg_controllen X__socklen_t
|
||||
Fmsg_flags int32
|
||||
@ -836,16 +836,16 @@ type Mmsghdr = struct {
|
||||
Fmsg_hdr struct {
|
||||
Fmsg_name uintptr
|
||||
Fmsg_namelen X__socklen_t
|
||||
_ [4]byte
|
||||
F__ccgo_pad1 [4]byte
|
||||
Fmsg_iov uintptr
|
||||
Fmsg_iovlen int32
|
||||
_ [4]byte
|
||||
F__ccgo_pad2 [4]byte
|
||||
Fmsg_control uintptr
|
||||
Fmsg_controllen X__socklen_t
|
||||
Fmsg_flags int32
|
||||
}
|
||||
Fmsg_len uint32
|
||||
_ [4]byte
|
||||
Fmsg_len uint32
|
||||
F__ccgo_pad1 [4]byte
|
||||
} /* socket.h:506:1 */
|
||||
|
||||
// Extra flags used internally only
|
||||
|
Reference in New Issue
Block a user