mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-02 12:52:24 -06:00
[chore] update dependencies, bump to Go 1.19.1 (#826)
* update dependencies, bump Go version to 1.19 * bump test image Go version * update golangci-lint * update gotosocial-drone-build * sign * linting, go fmt * update swagger docs * update swagger docs * whitespace * update contributing.md * fuckin whoopsie doopsie * linterino, linteroni * fix followrequest test not starting processor * fix other api/client tests not starting processor * fix remaining tests where processor not started * bump go-runners version * don't check last-webfingered-at, processor may have updated this * update swagger command * update bun to latest version * fix embed to work the same as before with new bun Signed-off-by: kim <grufwub@gmail.com> Co-authored-by: tsmethurst <tobi.smethurst@protonmail.com>
This commit is contained in:
parent
00d38855d4
commit
a156188b3e
1135 changed files with 258905 additions and 137146 deletions
5
vendor/modernc.org/libc/netinet/in/capi_freebsd_arm.go
generated
vendored
Normal file
5
vendor/modernc.org/libc/netinet/in/capi_freebsd_arm.go
generated
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
// Code generated by 'ccgo netinet/in/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 netinet/in/in_freebsd_arm.go -pkgname in', DO NOT EDIT.
|
||||
|
||||
package in
|
||||
|
||||
var CAPI = map[string]struct{}{}
|
||||
5
vendor/modernc.org/libc/netinet/in/capi_openbsd_arm64.go
generated
vendored
Normal file
5
vendor/modernc.org/libc/netinet/in/capi_openbsd_arm64.go
generated
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
// Code generated by 'ccgo netinet/in/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 netinet/in/in_openbsd_amd64.go -pkgname in', DO NOT EDIT.
|
||||
|
||||
package in
|
||||
|
||||
var CAPI = map[string]struct{}{}
|
||||
24
vendor/modernc.org/libc/netinet/in/in_darwin_amd64.go
generated
vendored
24
vendor/modernc.org/libc/netinet/in/in_darwin_amd64.go
generated
vendored
|
|
@ -4955,20 +4955,20 @@ type X__msfilterreq = struct {
|
|||
// IP_PKTINFO: Packet information (equivalent to RFC2292 sec 5 for IPv4)
|
||||
// This structure is used for
|
||||
//
|
||||
// 1) Receiving ancilliary data about the datagram if IP_PKTINFO sockopt is
|
||||
// set on the socket. In this case ipi_ifindex will contain the interface
|
||||
// index the datagram was received on, ipi_addr is the IP address the
|
||||
// datagram was received to.
|
||||
// 1. Receiving ancilliary data about the datagram if IP_PKTINFO sockopt is
|
||||
// set on the socket. In this case ipi_ifindex will contain the interface
|
||||
// index the datagram was received on, ipi_addr is the IP address the
|
||||
// datagram was received to.
|
||||
//
|
||||
// 2) Sending a datagram using a specific interface or IP source address.
|
||||
// if ipi_ifindex is set to non-zero when in_pktinfo is passed as
|
||||
// ancilliary data of type IP_PKTINFO, this will be used as the source
|
||||
// interface to send the datagram from. If ipi_ifindex is null, ip_spec_dst
|
||||
// will be used for the source address.
|
||||
// 2. Sending a datagram using a specific interface or IP source address.
|
||||
// if ipi_ifindex is set to non-zero when in_pktinfo is passed as
|
||||
// ancilliary data of type IP_PKTINFO, this will be used as the source
|
||||
// interface to send the datagram from. If ipi_ifindex is null, ip_spec_dst
|
||||
// will be used for the source address.
|
||||
//
|
||||
// Note: if IP_BOUND_IF is set on the socket, ipi_ifindex in the ancillary
|
||||
// IP_PKTINFO option silently overrides the bound interface when it is
|
||||
// specified during send time.
|
||||
// Note: if IP_BOUND_IF is set on the socket, ipi_ifindex in the ancillary
|
||||
// IP_PKTINFO option silently overrides the bound interface when it is
|
||||
// specified during send time.
|
||||
type In_pktinfo = struct {
|
||||
Fipi_ifindex uint32
|
||||
Fipi_spec_dst struct{ Fs_addr In_addr_t }
|
||||
|
|
|
|||
24
vendor/modernc.org/libc/netinet/in/in_darwin_arm64.go
generated
vendored
24
vendor/modernc.org/libc/netinet/in/in_darwin_arm64.go
generated
vendored
|
|
@ -5256,20 +5256,20 @@ type X__msfilterreq = struct {
|
|||
// IP_PKTINFO: Packet information (equivalent to RFC2292 sec 5 for IPv4)
|
||||
// This structure is used for
|
||||
//
|
||||
// 1) Receiving ancilliary data about the datagram if IP_PKTINFO sockopt is
|
||||
// set on the socket. In this case ipi_ifindex will contain the interface
|
||||
// index the datagram was received on, ipi_addr is the IP address the
|
||||
// datagram was received to.
|
||||
// 1. Receiving ancilliary data about the datagram if IP_PKTINFO sockopt is
|
||||
// set on the socket. In this case ipi_ifindex will contain the interface
|
||||
// index the datagram was received on, ipi_addr is the IP address the
|
||||
// datagram was received to.
|
||||
//
|
||||
// 2) Sending a datagram using a specific interface or IP source address.
|
||||
// if ipi_ifindex is set to non-zero when in_pktinfo is passed as
|
||||
// ancilliary data of type IP_PKTINFO, this will be used as the source
|
||||
// interface to send the datagram from. If ipi_ifindex is null, ip_spec_dst
|
||||
// will be used for the source address.
|
||||
// 2. Sending a datagram using a specific interface or IP source address.
|
||||
// if ipi_ifindex is set to non-zero when in_pktinfo is passed as
|
||||
// ancilliary data of type IP_PKTINFO, this will be used as the source
|
||||
// interface to send the datagram from. If ipi_ifindex is null, ip_spec_dst
|
||||
// will be used for the source address.
|
||||
//
|
||||
// Note: if IP_BOUND_IF is set on the socket, ipi_ifindex in the ancillary
|
||||
// IP_PKTINFO option silently overrides the bound interface when it is
|
||||
// specified during send time.
|
||||
// Note: if IP_BOUND_IF is set on the socket, ipi_ifindex in the ancillary
|
||||
// IP_PKTINFO option silently overrides the bound interface when it is
|
||||
// specified during send time.
|
||||
type In_pktinfo = struct {
|
||||
Fipi_ifindex uint32
|
||||
Fipi_spec_dst struct{ Fs_addr In_addr_t }
|
||||
|
|
|
|||
4
vendor/modernc.org/libc/netinet/in/in_freebsd_386.go
generated
vendored
4
vendor/modernc.org/libc/netinet/in/in_freebsd_386.go
generated
vendored
|
|
@ -916,8 +916,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
|
||||
|
|
|
|||
4
vendor/modernc.org/libc/netinet/in/in_freebsd_amd64.go
generated
vendored
4
vendor/modernc.org/libc/netinet/in/in_freebsd_amd64.go
generated
vendored
|
|
@ -918,8 +918,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
|
||||
|
|
|
|||
1466
vendor/modernc.org/libc/netinet/in/in_freebsd_arm.go
generated
vendored
Normal file
1466
vendor/modernc.org/libc/netinet/in/in_freebsd_arm.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load diff
56
vendor/modernc.org/libc/netinet/in/in_linux_386.go
generated
vendored
56
vendor/modernc.org/libc/netinet/in/in_linux_386.go
generated
vendored
|
|
@ -441,7 +441,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
|
||||
)
|
||||
|
|
@ -577,8 +578,9 @@ const ( /* in.h:40:1: */
|
|||
)
|
||||
|
||||
// If __USE_KERNEL_IPV6_DEFS is 1 then the user has included the kernel
|
||||
// network headers first and we should use those ABI-identical definitions
|
||||
// instead of our own, otherwise 0.
|
||||
//
|
||||
// network headers first and we should use those ABI-identical definitions
|
||||
// instead of our own, otherwise 0.
|
||||
const ( /* in.h:99:1: */
|
||||
IPPROTO_HOPOPTS = 0 // IPv6 Hop-by-Hop options.
|
||||
IPPROTO_ROUTING = 43 // IPv6 routing header.
|
||||
|
|
@ -590,7 +592,8 @@ const ( /* in.h:99: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.
|
||||
|
|
@ -1289,7 +1292,8 @@ type X__syscall_slong_t = int32 /* types.h:196:33 */
|
|||
type X__syscall_ulong_t = uint32 /* 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 */
|
||||
|
||||
|
|
@ -1300,13 +1304,15 @@ type X__intptr_t = int32 /* 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
|
||||
// narrow only for consistency with the old way of widening too-narrow
|
||||
// types. User code should never use __time64_t.
|
||||
//
|
||||
// narrow only for consistency with the old way of widening too-narrow
|
||||
// types. User code should never use __time64_t.
|
||||
type X__time64_t = X__int64_t /* types.h:222:28 */
|
||||
|
||||
type Uint8_t = X__uint8_t /* stdint-uintn.h:24:19 */
|
||||
|
|
@ -1904,7 +1910,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
|
||||
|
|
@ -1951,7 +1958,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
|
||||
|
|
@ -2265,18 +2273,21 @@ 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 = uint32 /* 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 {
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [4]int8
|
||||
} /* 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 {
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [4]int8
|
||||
|
|
@ -2300,7 +2311,8 @@ 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 {
|
||||
|
|
@ -2312,7 +2324,8 @@ type Pthread_rwlockattr_t = struct {
|
|||
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 {
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [20]int8
|
||||
|
|
@ -2383,7 +2396,8 @@ 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
|
||||
|
|
@ -2520,7 +2534,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
|
||||
|
|
@ -2597,8 +2612,9 @@ type In_addr = struct{ Fs_addr In_addr_t } /* in.h:31:1 */
|
|||
// To select the IP level.
|
||||
|
||||
// Structure used to describe IP options for IP_OPTIONS and IP_RETOPTS.
|
||||
// The `ip_dst' field is used for the first-hop gateway when using a
|
||||
// source route (this gets put into the header proper).
|
||||
//
|
||||
// The `ip_dst' field is used for the first-hop gateway when using a
|
||||
// source route (this gets put into the header proper).
|
||||
type Ip_opts = struct {
|
||||
Fip_dst struct{ Fs_addr In_addr_t }
|
||||
Fip_opts [40]int8
|
||||
|
|
|
|||
51
vendor/modernc.org/libc/netinet/in/in_linux_amd64.go
generated
vendored
51
vendor/modernc.org/libc/netinet/in/in_linux_amd64.go
generated
vendored
|
|
@ -510,8 +510,9 @@ const ( /* in.h:40:1: */
|
|||
)
|
||||
|
||||
// If __USE_KERNEL_IPV6_DEFS is 1 then the user has included the kernel
|
||||
// network headers first and we should use those ABI-identical definitions
|
||||
// instead of our own, otherwise 0.
|
||||
//
|
||||
// network headers first and we should use those ABI-identical definitions
|
||||
// instead of our own, otherwise 0.
|
||||
const ( /* in.h:99:1: */
|
||||
IPPROTO_HOPOPTS = 0 // IPv6 Hop-by-Hop options.
|
||||
IPPROTO_ROUTING = 43 // IPv6 routing header.
|
||||
|
|
@ -549,7 +550,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
|
||||
)
|
||||
|
|
@ -597,7 +599,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.
|
||||
|
|
@ -1316,7 +1319,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 */
|
||||
|
||||
|
|
@ -1327,8 +1331,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
|
||||
|
|
@ -1932,7 +1937,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
|
||||
|
|
@ -1979,7 +1985,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
|
||||
|
|
@ -2291,18 +2298,21 @@ 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 {
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [4]int8
|
||||
} /* 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 {
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [4]int8
|
||||
|
|
@ -2326,7 +2336,8 @@ 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 {
|
||||
|
|
@ -2338,7 +2349,8 @@ type Pthread_rwlockattr_t = struct {
|
|||
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 {
|
||||
F__ccgo_pad1 [0]uint64
|
||||
F__size [32]int8
|
||||
|
|
@ -2409,7 +2421,8 @@ 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
|
||||
|
|
@ -2550,7 +2563,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
|
||||
|
|
@ -2627,8 +2641,9 @@ type In_addr = struct{ Fs_addr In_addr_t } /* in.h:31:1 */
|
|||
// To select the IP level.
|
||||
|
||||
// Structure used to describe IP options for IP_OPTIONS and IP_RETOPTS.
|
||||
// The `ip_dst' field is used for the first-hop gateway when using a
|
||||
// source route (this gets put into the header proper).
|
||||
//
|
||||
// The `ip_dst' field is used for the first-hop gateway when using a
|
||||
// source route (this gets put into the header proper).
|
||||
type Ip_opts = struct {
|
||||
Fip_dst struct{ Fs_addr In_addr_t }
|
||||
Fip_opts [40]int8
|
||||
|
|
|
|||
56
vendor/modernc.org/libc/netinet/in/in_linux_arm.go
generated
vendored
56
vendor/modernc.org/libc/netinet/in/in_linux_arm.go
generated
vendored
|
|
@ -437,7 +437,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
|
||||
)
|
||||
|
|
@ -573,8 +574,9 @@ const ( /* in.h:40:1: */
|
|||
)
|
||||
|
||||
// If __USE_KERNEL_IPV6_DEFS is 1 then the user has included the kernel
|
||||
// network headers first and we should use those ABI-identical definitions
|
||||
// instead of our own, otherwise 0.
|
||||
//
|
||||
// network headers first and we should use those ABI-identical definitions
|
||||
// instead of our own, otherwise 0.
|
||||
const ( /* in.h:99:1: */
|
||||
IPPROTO_HOPOPTS = 0 // IPv6 Hop-by-Hop options.
|
||||
IPPROTO_ROUTING = 43 // IPv6 routing header.
|
||||
|
|
@ -586,7 +588,8 @@ const ( /* in.h:99: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.
|
||||
|
|
@ -1346,7 +1349,8 @@ type X__syscall_slong_t = int32 /* types.h:196:33 */
|
|||
type X__syscall_ulong_t = uint32 /* 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 */
|
||||
|
||||
|
|
@ -1357,13 +1361,15 @@ type X__intptr_t = int32 /* 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
|
||||
// narrow only for consistency with the old way of widening too-narrow
|
||||
// types. User code should never use __time64_t.
|
||||
//
|
||||
// narrow only for consistency with the old way of widening too-narrow
|
||||
// types. User code should never use __time64_t.
|
||||
type X__time64_t = X__int64_t /* types.h:222:28 */
|
||||
|
||||
type Uint8_t = X__uint8_t /* stdint-uintn.h:24:19 */
|
||||
|
|
@ -1962,7 +1968,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
|
||||
|
|
@ -2009,7 +2016,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
|
||||
|
|
@ -2374,18 +2382,21 @@ 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 = uint32 /* 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 {
|
||||
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 {
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [4]uint8
|
||||
|
|
@ -2409,7 +2420,8 @@ 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 {
|
||||
|
|
@ -2421,7 +2433,8 @@ type Pthread_rwlockattr_t = struct {
|
|||
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 {
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [20]uint8
|
||||
|
|
@ -2492,7 +2505,8 @@ 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
|
||||
|
|
@ -2636,7 +2650,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
|
||||
|
|
@ -2713,8 +2728,9 @@ type In_addr = struct{ Fs_addr In_addr_t } /* in.h:31:1 */
|
|||
// To select the IP level.
|
||||
|
||||
// Structure used to describe IP options for IP_OPTIONS and IP_RETOPTS.
|
||||
// The `ip_dst' field is used for the first-hop gateway when using a
|
||||
// source route (this gets put into the header proper).
|
||||
//
|
||||
// The `ip_dst' field is used for the first-hop gateway when using a
|
||||
// source route (this gets put into the header proper).
|
||||
type Ip_opts = struct {
|
||||
Fip_dst struct{ Fs_addr In_addr_t }
|
||||
Fip_opts [40]uint8
|
||||
|
|
|
|||
51
vendor/modernc.org/libc/netinet/in/in_linux_arm64.go
generated
vendored
51
vendor/modernc.org/libc/netinet/in/in_linux_arm64.go
generated
vendored
|
|
@ -447,7 +447,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
|
||||
)
|
||||
|
|
@ -583,8 +584,9 @@ const ( /* in.h:40:1: */
|
|||
)
|
||||
|
||||
// If __USE_KERNEL_IPV6_DEFS is 1 then the user has included the kernel
|
||||
// network headers first and we should use those ABI-identical definitions
|
||||
// instead of our own, otherwise 0.
|
||||
//
|
||||
// network headers first and we should use those ABI-identical definitions
|
||||
// instead of our own, otherwise 0.
|
||||
const ( /* in.h:99:1: */
|
||||
IPPROTO_HOPOPTS = 0 // IPv6 Hop-by-Hop options.
|
||||
IPPROTO_ROUTING = 43 // IPv6 routing header.
|
||||
|
|
@ -596,7 +598,8 @@ const ( /* in.h:99: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.
|
||||
|
|
@ -1383,7 +1386,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 */
|
||||
|
||||
|
|
@ -1394,8 +1398,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
|
||||
|
|
@ -1998,7 +2003,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
|
||||
|
|
@ -2045,7 +2051,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
|
||||
|
|
@ -2390,18 +2397,21 @@ 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 {
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [8]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 {
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [8]uint8
|
||||
|
|
@ -2428,7 +2438,8 @@ type Pthread_mutex_t = struct {
|
|||
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 {
|
||||
|
|
@ -2440,7 +2451,8 @@ type Pthread_rwlockattr_t = struct {
|
|||
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 {
|
||||
F__ccgo_pad1 [0]uint64
|
||||
F__size [32]uint8
|
||||
|
|
@ -2511,7 +2523,8 @@ 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
|
||||
|
|
@ -2660,7 +2673,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
|
||||
|
|
@ -2737,8 +2751,9 @@ type In_addr = struct{ Fs_addr In_addr_t } /* in.h:31:1 */
|
|||
// To select the IP level.
|
||||
|
||||
// Structure used to describe IP options for IP_OPTIONS and IP_RETOPTS.
|
||||
// The `ip_dst' field is used for the first-hop gateway when using a
|
||||
// source route (this gets put into the header proper).
|
||||
//
|
||||
// The `ip_dst' field is used for the first-hop gateway when using a
|
||||
// source route (this gets put into the header proper).
|
||||
type Ip_opts = struct {
|
||||
Fip_dst struct{ Fs_addr In_addr_t }
|
||||
Fip_opts [40]uint8
|
||||
|
|
|
|||
51
vendor/modernc.org/libc/netinet/in/in_linux_ppc64le.go
generated
vendored
51
vendor/modernc.org/libc/netinet/in/in_linux_ppc64le.go
generated
vendored
|
|
@ -462,7 +462,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
|
||||
)
|
||||
|
|
@ -598,8 +599,9 @@ const ( /* in.h:40:1: */
|
|||
)
|
||||
|
||||
// If __USE_KERNEL_IPV6_DEFS is 1 then the user has included the kernel
|
||||
// network headers first and we should use those ABI-identical definitions
|
||||
// instead of our own, otherwise 0.
|
||||
//
|
||||
// network headers first and we should use those ABI-identical definitions
|
||||
// instead of our own, otherwise 0.
|
||||
const ( /* in.h:99:1: */
|
||||
IPPROTO_HOPOPTS = 0 // IPv6 Hop-by-Hop options.
|
||||
IPPROTO_ROUTING = 43 // IPv6 routing header.
|
||||
|
|
@ -611,7 +613,8 @@ const ( /* in.h:99: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.
|
||||
|
|
@ -1327,7 +1330,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 */
|
||||
|
||||
|
|
@ -1338,8 +1342,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
|
||||
|
|
@ -1942,7 +1947,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
|
||||
|
|
@ -1989,7 +1995,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
|
||||
|
|
@ -2301,18 +2308,21 @@ 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 {
|
||||
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 {
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [4]uint8
|
||||
|
|
@ -2336,7 +2346,8 @@ 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 {
|
||||
|
|
@ -2348,7 +2359,8 @@ type Pthread_rwlockattr_t = struct {
|
|||
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 {
|
||||
F__ccgo_pad1 [0]uint64
|
||||
F__size [32]uint8
|
||||
|
|
@ -2419,7 +2431,8 @@ 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
|
||||
|
|
@ -2566,7 +2579,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
|
||||
|
|
@ -2643,8 +2657,9 @@ type In_addr = struct{ Fs_addr In_addr_t } /* in.h:31:1 */
|
|||
// To select the IP level.
|
||||
|
||||
// Structure used to describe IP options for IP_OPTIONS and IP_RETOPTS.
|
||||
// The `ip_dst' field is used for the first-hop gateway when using a
|
||||
// source route (this gets put into the header proper).
|
||||
//
|
||||
// The `ip_dst' field is used for the first-hop gateway when using a
|
||||
// source route (this gets put into the header proper).
|
||||
type Ip_opts = struct {
|
||||
Fip_dst struct{ Fs_addr In_addr_t }
|
||||
Fip_opts [40]uint8
|
||||
|
|
|
|||
58
vendor/modernc.org/libc/netinet/in/in_linux_riscv64.go
generated
vendored
58
vendor/modernc.org/libc/netinet/in/in_linux_riscv64.go
generated
vendored
|
|
@ -427,8 +427,9 @@ const (
|
|||
)
|
||||
|
||||
// If __USE_KERNEL_IPV6_DEFS is 1 then the user has included the kernel
|
||||
// network headers first and we should use those ABI-identical definitions
|
||||
// instead of our own, otherwise 0.
|
||||
//
|
||||
// network headers first and we should use those ABI-identical definitions
|
||||
// instead of our own, otherwise 0.
|
||||
const ( /* in.h:103:1: */
|
||||
IPPROTO_HOPOPTS = 0 // IPv6 Hop-by-Hop options.
|
||||
IPPROTO_ROUTING = 43 // IPv6 routing header.
|
||||
|
|
@ -556,7 +557,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
|
||||
)
|
||||
|
|
@ -604,7 +606,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.
|
||||
|
|
@ -1495,7 +1498,8 @@ type X__syscall_slong_t = int64 /* types.h:197:33 */
|
|||
type X__syscall_ulong_t = uint64 /* types.h:199: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:203:19 */ // Type of file sizes and offsets (LFS).
|
||||
type X__caddr_t = uintptr /* types.h:204:14 */
|
||||
|
||||
|
|
@ -1506,8 +1510,9 @@ type X__intptr_t = int64 /* types.h:207:25 */
|
|||
type X__socklen_t = uint32 /* types.h:210: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:215:13 */
|
||||
|
||||
// Seconds since the Epoch, visible to user code when time_t is too
|
||||
|
|
@ -2110,7 +2115,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
|
||||
|
|
@ -2157,7 +2163,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
|
||||
|
|
@ -2475,9 +2482,10 @@ type X__pthread_mutex_s = struct {
|
|||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// There is a lot of padding in this structure. While it's not strictly
|
||||
// necessary on RISC-V, we're going to leave it in to be on the safe side in
|
||||
// case it's needed in the future. Most other architectures have the padding,
|
||||
// so this gives us the same extensibility as everyone else has.
|
||||
//
|
||||
// necessary on RISC-V, we're going to leave it in to be on the safe side in
|
||||
// case it's needed in the future. Most other architectures have the padding,
|
||||
// so this gives us the same extensibility as everyone else has.
|
||||
type X__pthread_rwlock_arch_t = struct {
|
||||
F__readers uint32
|
||||
F__writers uint32
|
||||
|
|
@ -2511,18 +2519,21 @@ type X__thrd_t = uint64 /* thread-shared-types.h:120:27 */
|
|||
type X__once_flag = struct{ F__data int32 } /* thread-shared-types.h:125:3 */
|
||||
|
||||
// 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 {
|
||||
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 {
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [4]uint8
|
||||
|
|
@ -2546,7 +2557,8 @@ 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 {
|
||||
|
|
@ -2558,7 +2570,8 @@ type Pthread_rwlockattr_t = struct {
|
|||
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 {
|
||||
F__ccgo_pad1 [0]uint64
|
||||
F__size [32]uint8
|
||||
|
|
@ -2629,7 +2642,8 @@ 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
|
||||
|
|
@ -2765,7 +2779,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
|
||||
|
|
@ -2842,8 +2857,9 @@ type In_addr = struct{ Fs_addr In_addr_t } /* in.h:31:1 */
|
|||
// To select the IP level.
|
||||
|
||||
// Structure used to describe IP options for IP_OPTIONS and IP_RETOPTS.
|
||||
// The `ip_dst' field is used for the first-hop gateway when using a
|
||||
// source route (this gets put into the header proper).
|
||||
//
|
||||
// The `ip_dst' field is used for the first-hop gateway when using a
|
||||
// source route (this gets put into the header proper).
|
||||
type Ip_opts = struct {
|
||||
Fip_dst struct{ Fs_addr In_addr_t }
|
||||
Fip_opts [40]uint8
|
||||
|
|
|
|||
51
vendor/modernc.org/libc/netinet/in/in_linux_s390x.go
generated
vendored
51
vendor/modernc.org/libc/netinet/in/in_linux_s390x.go
generated
vendored
|
|
@ -447,7 +447,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
|
||||
)
|
||||
|
|
@ -583,8 +584,9 @@ const ( /* in.h:40:1: */
|
|||
)
|
||||
|
||||
// If __USE_KERNEL_IPV6_DEFS is 1 then the user has included the kernel
|
||||
// network headers first and we should use those ABI-identical definitions
|
||||
// instead of our own, otherwise 0.
|
||||
//
|
||||
// network headers first and we should use those ABI-identical definitions
|
||||
// instead of our own, otherwise 0.
|
||||
const ( /* in.h:99:1: */
|
||||
IPPROTO_HOPOPTS = 0 // IPv6 Hop-by-Hop options.
|
||||
IPPROTO_ROUTING = 43 // IPv6 routing header.
|
||||
|
|
@ -596,7 +598,8 @@ const ( /* in.h:99: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.
|
||||
|
|
@ -1314,7 +1317,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 */
|
||||
|
||||
|
|
@ -1325,8 +1329,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
|
||||
|
|
@ -1929,7 +1934,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
|
||||
|
|
@ -1976,7 +1982,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
|
||||
|
|
@ -2287,18 +2294,21 @@ 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 {
|
||||
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 {
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [4]uint8
|
||||
|
|
@ -2322,7 +2332,8 @@ 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 {
|
||||
|
|
@ -2334,7 +2345,8 @@ type Pthread_rwlockattr_t = struct {
|
|||
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 {
|
||||
F__ccgo_pad1 [0]uint64
|
||||
F__size [32]uint8
|
||||
|
|
@ -2405,7 +2417,8 @@ 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
|
||||
|
|
@ -2546,7 +2559,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
|
||||
|
|
@ -2623,8 +2637,9 @@ type In_addr = struct{ Fs_addr In_addr_t } /* in.h:31:1 */
|
|||
// To select the IP level.
|
||||
|
||||
// Structure used to describe IP options for IP_OPTIONS and IP_RETOPTS.
|
||||
// The `ip_dst' field is used for the first-hop gateway when using a
|
||||
// source route (this gets put into the header proper).
|
||||
//
|
||||
// The `ip_dst' field is used for the first-hop gateway when using a
|
||||
// source route (this gets put into the header proper).
|
||||
type Ip_opts = struct {
|
||||
Fip_dst struct{ Fs_addr In_addr_t }
|
||||
Fip_opts [40]uint8
|
||||
|
|
|
|||
1252
vendor/modernc.org/libc/netinet/in/in_openbsd_arm64.go
generated
vendored
Normal file
1252
vendor/modernc.org/libc/netinet/in/in_openbsd_arm64.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue