summaryrefslogtreecommitdiff
path: root/vendor/modernc.org/libc/sys/socket/socket_openbsd_arm64.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2022-11-28 11:19:39 +0100
committerLibravatar GitHub <noreply@github.com>2022-11-28 11:19:39 +0100
commitdaf44ac2b709922512cfee3cde686b84b4868775 (patch)
tree2967df466f8d4515d32c05cf520ba3e7a19d4fae /vendor/modernc.org/libc/sys/socket/socket_openbsd_arm64.go
parent[chore]: Bump codeberg.org/gruf/go-store/v2 from 2.0.9 to 2.0.10 (#1160) (diff)
downloadgotosocial-daf44ac2b709922512cfee3cde686b84b4868775.tar.xz
[chore] Bump database dependencies (#1164)
github.com/uptrace/bun v1.1.8 -> v1.1.9 github.com/uptrace/bun/pgdialect v1.1.8 -> v1.1.9 github.com/uptrace/bun/sqlitedialect v1.1.8 -> v1.1.9 modernc.org/sqlite v1.18.2 -> v1.19.5
Diffstat (limited to 'vendor/modernc.org/libc/sys/socket/socket_openbsd_arm64.go')
-rw-r--r--vendor/modernc.org/libc/sys/socket/socket_openbsd_arm64.go211
1 files changed, 112 insertions, 99 deletions
diff --git a/vendor/modernc.org/libc/sys/socket/socket_openbsd_arm64.go b/vendor/modernc.org/libc/sys/socket/socket_openbsd_arm64.go
index cd779132d..39dc282b0 100644
--- a/vendor/modernc.org/libc/sys/socket/socket_openbsd_arm64.go
+++ b/vendor/modernc.org/libc/sys/socket/socket_openbsd_arm64.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 -ignore-unsupported-alignment -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_arm64.go -pkgname socket', DO NOT EDIT.
package socket
@@ -52,18 +52,19 @@ const (
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:
+ MSG_BCAST = 0x100 // socket.h:508:1:
+ MSG_CMSG_CLOEXEC = 0x800 // socket.h:511:1:
+ MSG_CTRUNC = 0x20 // socket.h:505:1:
+ MSG_DONTROUTE = 0x4 // socket.h:502:1:
+ MSG_DONTWAIT = 0x80 // socket.h:507:1:
+ MSG_EOR = 0x8 // socket.h:503:1:
+ MSG_MCAST = 0x200 // socket.h:509:1:
+ MSG_NOSIGNAL = 0x400 // socket.h:510:1:
+ MSG_OOB = 0x1 // socket.h:500:1:
+ MSG_PEEK = 0x2 // socket.h:501:1:
+ MSG_TRUNC = 0x10 // socket.h:504:1:
+ MSG_WAITALL = 0x40 // socket.h:506:1:
+ MSG_WAITFORONE = 0x1000 // socket.h:512: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:
@@ -133,8 +134,8 @@ const (
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:
+ SCM_RIGHTS = 0x01 // socket.h:560:1:
+ SCM_TIMESTAMP = 0x04 // socket.h:561:1:
SHUT_RD = 0 // socket.h:292:1:
SHUT_RDWR = 2 // socket.h:294:1:
SHUT_WR = 1 // socket.h:293:1:
@@ -179,9 +180,9 @@ const (
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_BYTE_ORDER = 1234 // endian.h:60:1:
+ X_CLOCKID_T_DEFINED_ = 0 // types.h:162:1:
+ X_CLOCK_T_DEFINED_ = 0 // types.h:157: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:
@@ -189,13 +190,13 @@ const (
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_MACHINE_CDEFS_H_ = 0 // cdefs.h:4:1:
+ X_MACHINE_ENDIAN_H_ = 0 // endian.h:20:1:
+ X_MACHINE__TYPES_H_ = 0 // _types.h:35:1:
+ X_MAX_PAGE_SHIFT = 12 // _types.h:57:1:
+ X_OFF_T_DEFINED_ = 0 // types.h:192:1:
X_PDP_ENDIAN = 3412 // _endian.h:44:1:
- X_PID_T_DEFINED_ = 0 // types.h:168:1:
+ X_PID_T_DEFINED_ = 0 // types.h:167:1:
X_QUAD_HIGHWORD = 1 // _endian.h:95:1:
X_QUAD_LOWWORD = 0 // _endian.h:96:1:
X_RET_PROTECTOR = 1 // <predefined>:2:1:
@@ -203,7 +204,7 @@ const (
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_STACKALIGNBYTES = 15 // _types.h:54: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:
@@ -211,9 +212,9 @@ const (
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_TIMER_T_DEFINED_ = 0 // types.h:187:1:
X_TIMEVAL_DECLARED = 0 // socket.h:130:1:
- X_TIME_T_DEFINED_ = 0 // types.h:183:1:
+ X_TIME_T_DEFINED_ = 0 // types.h:182: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:
@@ -224,7 +225,7 @@ const (
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:
+ Unix = 1 // <predefined>:360:1:
)
const ( /* uio.h:57:1: */
@@ -256,7 +257,7 @@ type X__uint128_t = struct {
type X__builtin_va_list = uintptr /* <builtin>:46:14 */
type X__float128 = float64 /* <builtin>:47:21 */
-// $OpenBSD: socket.h,v 1.100 2021/05/17 17:54:31 claudio Exp $
+// $OpenBSD: socket.h,v 1.105 2022/09/03 21:13:48 mbuhl Exp $
// $NetBSD: socket.h,v 1.14 1996/02/09 18:25:36 christos Exp $
// Copyright (c) 1982, 1985, 1986, 1988, 1993, 1994
@@ -356,10 +357,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// @(#)cdefs.h 8.7 (Berkeley) 1/21/94
-// $OpenBSD: cdefs.h,v 1.3 2013/03/28 17:30:45 martynas Exp $
-
-// Written by J.T. Conklin <jtc@wimsey.com> 01/17/95.
-// Public domain.
+// $OpenBSD: cdefs.h,v 1.1 2016/12/17 23:38:33 patrick Exp $
// Macro to test if we're using a specific version of gcc or later.
@@ -483,7 +481,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// Default values.
-// $OpenBSD: _types.h,v 1.9 2014/08/22 23:05:15 krw Exp $
+// $OpenBSD: _types.h,v 1.10 2022/08/06 13:31:13 semarie Exp $
// -
// Copyright (c) 1990, 1993
@@ -515,8 +513,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
//
// @(#)types.h 8.3 (Berkeley) 1/5/94
-// $OpenBSD: _types.h,v 1.17 2018/03/05 01:15:25 deraadt Exp $
-
+// $OpenBSD: _types.h,v 1.4 2018/03/05 01:15:25 deraadt Exp $
// -
// Copyright (c) 1990, 1993
// The Regents of the University of California. All rights reserved.
@@ -558,66 +555,68 @@ type X__float128 = float64 /* <builtin>:47:21 */
// (within reasonable limits).
// 7.18.1.1 Exact-width integer types
-type X__int8_t = int8 /* _types.h:61:22 */
-type X__uint8_t = uint8 /* _types.h:62:24 */
-type X__int16_t = int16 /* _types.h:63:17 */
-type X__uint16_t = uint16 /* _types.h:64:25 */
-type X__int32_t = int32 /* _types.h:65:15 */
-type X__uint32_t = uint32 /* _types.h:66:23 */
-type X__int64_t = int64 /* _types.h:67:20 */
-type X__uint64_t = uint64 /* _types.h:68:28 */
+type X__int8_t = int8 /* _types.h:60:22 */
+type X__uint8_t = uint8 /* _types.h:61:24 */
+type X__int16_t = int16 /* _types.h:62:17 */
+type X__uint16_t = uint16 /* _types.h:63:25 */
+type X__int32_t = int32 /* _types.h:64:15 */
+type X__uint32_t = uint32 /* _types.h:65:23 */
+// LONGLONG
+type X__int64_t = int64 /* _types.h:67:20 */
+// LONGLONG
+type X__uint64_t = uint64 /* _types.h:69:28 */
// 7.18.1.2 Minimum-width integer types
-type X__int_least8_t = X__int8_t /* _types.h:71:19 */
-type X__uint_least8_t = X__uint8_t /* _types.h:72:20 */
-type X__int_least16_t = X__int16_t /* _types.h:73:20 */
-type X__uint_least16_t = X__uint16_t /* _types.h:74:21 */
-type X__int_least32_t = X__int32_t /* _types.h:75:20 */
-type X__uint_least32_t = X__uint32_t /* _types.h:76:21 */
-type X__int_least64_t = X__int64_t /* _types.h:77:20 */
-type X__uint_least64_t = X__uint64_t /* _types.h:78:21 */
+type X__int_least8_t = X__int8_t /* _types.h:72:19 */
+type X__uint_least8_t = X__uint8_t /* _types.h:73:20 */
+type X__int_least16_t = X__int16_t /* _types.h:74:20 */
+type X__uint_least16_t = X__uint16_t /* _types.h:75:21 */
+type X__int_least32_t = X__int32_t /* _types.h:76:20 */
+type X__uint_least32_t = X__uint32_t /* _types.h:77:21 */
+type X__int_least64_t = X__int64_t /* _types.h:78:20 */
+type X__uint_least64_t = X__uint64_t /* _types.h:79:21 */
// 7.18.1.3 Fastest minimum-width integer types
-type X__int_fast8_t = X__int32_t /* _types.h:81:20 */
-type X__uint_fast8_t = X__uint32_t /* _types.h:82:21 */
-type X__int_fast16_t = X__int32_t /* _types.h:83:20 */
-type X__uint_fast16_t = X__uint32_t /* _types.h:84:21 */
-type X__int_fast32_t = X__int32_t /* _types.h:85:20 */
-type X__uint_fast32_t = X__uint32_t /* _types.h:86:21 */
-type X__int_fast64_t = X__int64_t /* _types.h:87:20 */
-type X__uint_fast64_t = X__uint64_t /* _types.h:88:21 */
+type X__int_fast8_t = X__int32_t /* _types.h:82:20 */
+type X__uint_fast8_t = X__uint32_t /* _types.h:83:21 */
+type X__int_fast16_t = X__int32_t /* _types.h:84:20 */
+type X__uint_fast16_t = X__uint32_t /* _types.h:85:21 */
+type X__int_fast32_t = X__int32_t /* _types.h:86:20 */
+type X__uint_fast32_t = X__uint32_t /* _types.h:87:21 */
+type X__int_fast64_t = X__int64_t /* _types.h:88:20 */
+type X__uint_fast64_t = X__uint64_t /* _types.h:89:21 */
// 7.18.1.4 Integer types capable of holding object pointers
-type X__intptr_t = int64 /* _types.h:103:16 */
-type X__uintptr_t = uint64 /* _types.h:104:24 */
+type X__intptr_t = int64 /* _types.h:104:16 */
+type X__uintptr_t = uint64 /* _types.h:105:24 */
// 7.18.1.5 Greatest-width integer types
-type X__intmax_t = X__int64_t /* _types.h:107:20 */
-type X__uintmax_t = X__uint64_t /* _types.h:108:21 */
+type X__intmax_t = X__int64_t /* _types.h:108:20 */
+type X__uintmax_t = X__uint64_t /* _types.h:109:21 */
// Register size
-type X__register_t = int64 /* _types.h:111:16 */
+type X__register_t = int64 /* _types.h:112:16 */
// VM system types
-type X__vaddr_t = uint64 /* _types.h:114:24 */
-type X__paddr_t = uint64 /* _types.h:115:24 */
-type X__vsize_t = uint64 /* _types.h:116:24 */
-type X__psize_t = uint64 /* _types.h:117:24 */
+type X__vaddr_t = uint64 /* _types.h:115:24 */
+type X__paddr_t = uint64 /* _types.h:116:24 */
+type X__vsize_t = uint64 /* _types.h:117:24 */
+type X__psize_t = uint64 /* _types.h:118:24 */
// Standard system types
-type X__double_t = float64 /* _types.h:120:18 */
-type X__float_t = float32 /* _types.h:121:17 */
-type X__ptrdiff_t = int64 /* _types.h:122:16 */
-type X__size_t = uint64 /* _types.h:123:24 */
-type X__ssize_t = int64 /* _types.h:124:16 */
-type X__va_list = X__builtin_va_list /* _types.h:126:27 */
+type X__double_t = float64 /* _types.h:121:18 */
+type X__float_t = float32 /* _types.h:122:17 */
+type X__ptrdiff_t = int64 /* _types.h:123:16 */
+type X__size_t = uint64 /* _types.h:124:24 */
+type X__ssize_t = int64 /* _types.h:125:16 */
+type X__va_list = X__builtin_va_list /* _types.h:127:27 */
// Wide character support types
-type X__wchar_t = int32 /* _types.h:133:15 */
-type X__wint_t = int32 /* _types.h:135:15 */
-type X__rune_t = int32 /* _types.h:136:15 */
-type X__wctrans_t = uintptr /* _types.h:137:14 */
-type X__wctype_t = uintptr /* _types.h:138:14 */
+type X__wchar_t = int32 /* _types.h:137:15 */
+type X__wint_t = int32 /* _types.h:140:15 */
+type X__rune_t = int32 /* _types.h:141:15 */
+type X__wctrans_t = uintptr /* _types.h:142:14 */
+type X__wctype_t = uintptr /* _types.h:143:14 */
type X__blkcnt_t = X__int64_t /* _types.h:39:19 */ // blocks allocated for file
type X__blksize_t = X__int32_t /* _types.h:40:19 */ // optimal blocksize for I/O
@@ -643,18 +642,17 @@ type X__sa_family_t = X__uint8_t /* _types.h:59:19 */ // sockaddr address family
type X__segsz_t = X__int32_t /* _types.h:60:19 */ // segment size
type X__socklen_t = X__uint32_t /* _types.h:61:20 */ // length type for network syscalls
type X__suseconds_t = int64 /* _types.h:62:15 */ // microseconds (signed)
-type X__swblk_t = X__int32_t /* _types.h:63:19 */ // swap offset
-type X__time_t = X__int64_t /* _types.h:64:19 */ // epoch time
-type X__timer_t = X__int32_t /* _types.h:65:19 */ // POSIX timer identifiers
-type X__uid_t = X__uint32_t /* _types.h:66:20 */ // user id
-type X__useconds_t = X__uint32_t /* _types.h:67:20 */ // microseconds
+type X__time_t = X__int64_t /* _types.h:63:19 */ // epoch time
+type X__timer_t = X__int32_t /* _types.h:64:19 */ // POSIX timer identifiers
+type X__uid_t = X__uint32_t /* _types.h:65:20 */ // user id
+type X__useconds_t = X__uint32_t /* _types.h:66:20 */ // microseconds
// 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__ccgo_pad1 [0]uint64
F__mbstate8 [128]int8
-} /* _types.h:76:3 */
+} /* _types.h:75:3 */
type Ssize_t = X__ssize_t /* uio.h:48:19 */
@@ -743,25 +741,24 @@ type Mode_t = X__mode_t /* types.h:143:18 */ // permissions
type Nlink_t = X__nlink_t /* types.h:144:19 */ // link count
type Rlim_t = X__rlim_t /* types.h:145:18 */ // resource limit
type Segsz_t = X__segsz_t /* types.h:146:19 */ // segment size
-type Swblk_t = X__swblk_t /* types.h:147:19 */ // swap offset
-type Uid_t = X__uid_t /* types.h:148:18 */ // user id
-type Useconds_t = X__useconds_t /* types.h:149:22 */ // microseconds
-type Suseconds_t = X__suseconds_t /* types.h:150:23 */ // microseconds (signed)
-type Fsblkcnt_t = X__fsblkcnt_t /* types.h:151:22 */ // file system block count
-type Fsfilcnt_t = X__fsfilcnt_t /* types.h:152:22 */ // file system file count
+type Uid_t = X__uid_t /* types.h:147:18 */ // user id
+type Useconds_t = X__useconds_t /* types.h:148:22 */ // microseconds
+type Suseconds_t = X__suseconds_t /* types.h:149:23 */ // microseconds (signed)
+type Fsblkcnt_t = X__fsblkcnt_t /* types.h:150:22 */ // file system block count
+type Fsfilcnt_t = X__fsfilcnt_t /* types.h:151:22 */ // file system file count
// The following types may be defined in multiple header files.
-type Clock_t = X__clock_t /* types.h:159:19 */
+type Clock_t = X__clock_t /* types.h:158:19 */
-type Clockid_t = X__clockid_t /* types.h:164:21 */
+type Clockid_t = X__clockid_t /* types.h:163:21 */
-type Pid_t = X__pid_t /* types.h:169:18 */
+type Pid_t = X__pid_t /* types.h:168:18 */
-type Time_t = X__time_t /* types.h:184:18 */
+type Time_t = X__time_t /* types.h:183:18 */
-type Timer_t = X__timer_t /* types.h:189:19 */
+type Timer_t = X__timer_t /* types.h:188:19 */
-type Off_t = X__off_t /* types.h:194:18 */
+type Off_t = X__off_t /* types.h:193:18 */
// Major, minor numbers, dev_t's.
@@ -886,6 +883,22 @@ type Msghdr = struct {
Fmsg_flags int32
} /* socket.h:483:1 */
+type Mmsghdr = struct {
+ Fmsg_hdr struct {
+ Fmsg_name uintptr
+ Fmsg_namelen Socklen_t
+ F__ccgo_pad1 [4]byte
+ Fmsg_iov uintptr
+ Fmsg_iovlen uint32
+ F__ccgo_pad2 [4]byte
+ Fmsg_control uintptr
+ Fmsg_controllen Socklen_t
+ Fmsg_flags int32
+ }
+ Fmsg_len uint32
+ F__ccgo_pad1 [4]byte
+} /* socket.h:493:1 */
+
// Header for ancillary data objects in msg_control buffer.
// Used for additional information with/about a datagram
// not expressible by flags. The format is a sequence
@@ -894,6 +907,6 @@ type Cmsghdr = struct {
Fcmsg_len Socklen_t
Fcmsg_level int32
Fcmsg_type int32
-} /* socket.h:512:1 */
+} /* socket.h:520:1 */
var _ int8 /* gen.c:2:13: */