Update dependencies (#1929)

This commit is contained in:
Wim
2022-11-27 00:42:16 +01:00
committed by GitHub
parent 6da9d567dc
commit 4fd0a76727
1126 changed files with 1057766 additions and 1385139 deletions

View File

@@ -1,4 +1,4 @@
// 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 -o netinet/in/in_darwin_amd64.go -pkgname in', DO NOT EDIT.
// 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_darwin_amd64.go -pkgname in', DO NOT EDIT.
package in

View 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{}{}

View 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_amd64.go -pkgname in', DO NOT EDIT.
package in
var CAPI = map[string]struct{}{}

View 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_netbsd_arm.go -pkgname in', DO NOT EDIT.
package in
var CAPI = map[string]struct{}{}

View 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_386.go -pkgname in', DO NOT EDIT.
package in
var CAPI = map[string]struct{}{}

View 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_arm64.go -pkgname in', DO NOT EDIT.
package in
var CAPI = map[string]struct{}{}

File diff suppressed because it is too large Load Diff

View File

@@ -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 }

View File

@@ -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

View File

@@ -15,40 +15,42 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
BIG_ENDIAN = 4321 // endian.h:63:1:
BYTE_ORDER = 1234 // endian.h:65:1:
BIG_ENDIAN = 4321 // _endian.h:70:1:
BYTE_ORDER = 1234 // _endian.h:72:1:
ICMP6_FILTER = 18 // in6.h:420:1:
ICMPV6CTL_ND6_ONLINKNSRFC4861 = 47 // in6.h:638:1:
INET6_ADDRSTRLEN = 46 // in6.h:112:1:
INET_ADDRSTRLEN = 16 // in.h:130:1:
IN_CLASSA_HOST = 0x00ffffff // in.h:352:1:
IN_CLASSA_MAX = 128 // in.h:353:1:
IN_CLASSA_NET = 0xff000000 // in.h:350:1:
IN_CLASSA_NSHIFT = 24 // in.h:351:1:
IN_CLASSB_HOST = 0x0000ffff // in.h:358:1:
IN_CLASSB_MAX = 65536 // in.h:359:1:
IN_CLASSB_NET = 0xffff0000 // in.h:356:1:
IN_CLASSB_NSHIFT = 16 // in.h:357:1:
IN_CLASSC_HOST = 0x000000ff // in.h:364:1:
IN_CLASSC_NET = 0xffffff00 // in.h:362:1:
IN_CLASSC_NSHIFT = 8 // in.h:363:1:
IN_CLASSD_HOST = 0x0fffffff // in.h:369:1:
IN_CLASSD_NET = 0xf0000000 // in.h:367:1:
IN_CLASSD_NSHIFT = 28 // in.h:368:1:
IN_LOOPBACKNET = 127 // in.h:401:1:
IPCTL_ACCEPTSOURCEROUTE = 13 // in.h:634:1:
IPCTL_DEFTTL = 3 // in.h:622:1:
IPCTL_DIRECTEDBROADCAST = 9 // in.h:630:1:
IPCTL_FASTFORWARDING = 14 // in.h:635:1:
IPCTL_FORWARDING = 1 // in.h:620:1:
IPCTL_GIF_TTL = 16 // in.h:637:1:
IPCTL_INTRDQDROPS = 18 // in.h:639:1:
IPCTL_INTRDQMAXLEN = 17 // in.h:638:1:
IPCTL_INTRQDROPS = 11 // in.h:632:1:
IPCTL_INTRQMAXLEN = 10 // in.h:631:1:
IPCTL_SENDREDIRECTS = 2 // in.h:621:1:
IPCTL_SOURCEROUTE = 8 // in.h:629:1:
IPCTL_STATS = 12 // in.h:633:1:
IN_CLASSA_HOST = 0x00ffffff // in.h:357:1:
IN_CLASSA_MAX = 128 // in.h:358:1:
IN_CLASSA_NET = 0xff000000 // in.h:355:1:
IN_CLASSA_NSHIFT = 24 // in.h:356:1:
IN_CLASSB_HOST = 0x0000ffff // in.h:363:1:
IN_CLASSB_MAX = 65536 // in.h:364:1:
IN_CLASSB_NET = 0xffff0000 // in.h:361:1:
IN_CLASSB_NSHIFT = 16 // in.h:362:1:
IN_CLASSC_HOST = 0x000000ff // in.h:369:1:
IN_CLASSC_NET = 0xffffff00 // in.h:367:1:
IN_CLASSC_NSHIFT = 8 // in.h:368:1:
IN_CLASSD_HOST = 0x0fffffff // in.h:379:1:
IN_CLASSD_NET = 0xf0000000 // in.h:377:1:
IN_CLASSD_NSHIFT = 28 // in.h:378:1:
IN_HISTORICAL_NETS = 0 // in.h:351:1:
IN_LOOPBACKNET = 127 // in.h:412:1:
IN_NETMASK_DEFAULT = 0xffffff00 // in.h:372:1:
IPCTL_ACCEPTSOURCEROUTE = 13 // in.h:646:1:
IPCTL_DEFTTL = 3 // in.h:634:1:
IPCTL_DIRECTEDBROADCAST = 9 // in.h:642:1:
IPCTL_FASTFORWARDING = 14 // in.h:647:1:
IPCTL_FORWARDING = 1 // in.h:632:1:
IPCTL_GIF_TTL = 16 // in.h:649:1:
IPCTL_INTRDQDROPS = 18 // in.h:651:1:
IPCTL_INTRDQMAXLEN = 17 // in.h:650:1:
IPCTL_INTRQDROPS = 11 // in.h:644:1:
IPCTL_INTRQMAXLEN = 10 // in.h:643:1:
IPCTL_SENDREDIRECTS = 2 // in.h:633:1:
IPCTL_SOURCEROUTE = 8 // in.h:641:1:
IPCTL_STATS = 12 // in.h:645:1:
IPPORT_EPHEMERALFIRST = 10000 // in.h:325:1:
IPPORT_EPHEMERALLAST = 65535 // in.h:326:1:
IPPORT_HIFIRSTAUTO = 49152 // in.h:331:1:
@@ -284,123 +286,124 @@ const (
IPV6_USE_MIN_MTU = 42 // in6.h:460:1:
IPV6_V6ONLY = 27 // in6.h:433:1:
IPV6_VLAN_PCP = 75 // in6.h:515:1:
IP_ADD_MEMBERSHIP = 12 // in.h:422:1:
IP_ADD_SOURCE_MEMBERSHIP = 70 // in.h:478:1:
IP_BINDANY = 24 // in.h:435:1:
IP_BINDMULTI = 25 // in.h:436:1:
IP_BLOCK_SOURCE = 72 // in.h:480:1:
IP_DEFAULT_MULTICAST_LOOP = 1 // in.h:509:1:
IP_DEFAULT_MULTICAST_TTL = 1 // in.h:508:1:
IP_DONTFRAG = 67 // in.h:474:1:
IP_DROP_MEMBERSHIP = 13 // in.h:423:1:
IP_DROP_SOURCE_MEMBERSHIP = 71 // in.h:479:1:
IP_DUMMYNET3 = 49 // in.h:453:1:
IP_DUMMYNET_CONFIGURE = 60 // in.h:467:1:
IP_DUMMYNET_DEL = 61 // in.h:468:1:
IP_DUMMYNET_FLUSH = 62 // in.h:469:1:
IP_DUMMYNET_GET = 64 // in.h:470:1:
IP_FLOWID = 90 // in.h:499:1:
IP_FLOWTYPE = 91 // in.h:500:1:
IP_FW3 = 48 // in.h:452:1:
IP_FW_ADD = 50 // in.h:455:1:
IP_FW_DEL = 51 // in.h:456:1:
IP_FW_FLUSH = 52 // in.h:457:1:
IP_FW_GET = 54 // in.h:459:1:
IP_FW_NAT_CFG = 56 // in.h:462:1:
IP_FW_NAT_DEL = 57 // in.h:463:1:
IP_FW_NAT_GET_CONFIG = 58 // in.h:464:1:
IP_FW_NAT_GET_LOG = 59 // in.h:465:1:
IP_FW_RESETLOG = 55 // in.h:460:1:
IP_FW_TABLE_ADD = 40 // in.h:446:1:
IP_FW_TABLE_DEL = 41 // in.h:447:1:
IP_FW_TABLE_FLUSH = 42 // in.h:448:1:
IP_FW_TABLE_GETSIZE = 43 // in.h:449:1:
IP_FW_TABLE_LIST = 44 // in.h:450:1:
IP_FW_ZERO = 53 // in.h:458:1:
IP_HDRINCL = 2 // in.h:410:1:
IP_IPSEC_POLICY = 21 // in.h:432:1:
IP_MAX_GROUP_SRC_FILTER = 512 // in.h:520:1:
IP_MAX_MEMBERSHIPS = 4095 // in.h:514:1:
IP_MAX_SOCK_MUTE_FILTER = 128 // in.h:522:1:
IP_MAX_SOCK_SRC_FILTER = 128 // in.h:521:1:
IP_MINTTL = 66 // in.h:473:1:
IP_MSFILTER = 74 // in.h:484:1:
IP_MULTICAST_IF = 9 // in.h:418:1:
IP_MULTICAST_LOOP = 11 // in.h:421:1:
IP_MULTICAST_TTL = 10 // in.h:420:1:
IP_MULTICAST_VIF = 14 // in.h:424:1:
IP_ONESBCAST = 23 // in.h:434:1:
IP_OPTIONS = 1 // in.h:409:1:
IP_ORIGDSTADDR = 27 // in.h:438:1:
IP_PORTRANGE = 19 // in.h:429:1:
IP_PORTRANGE_DEFAULT = 0 // in.h:613:1:
IP_PORTRANGE_HIGH = 1 // in.h:614:1:
IP_PORTRANGE_LOW = 2 // in.h:615:1:
IP_RECVDSTADDR = 7 // in.h:415:1:
IP_RECVFLOWID = 93 // in.h:502:1:
IP_RECVIF = 20 // in.h:430:1:
IP_RECVOPTS = 5 // in.h:413:1:
IP_RECVORIGDSTADDR = 27 // in.h:439:1:
IP_RECVRETOPTS = 6 // in.h:414:1:
IP_RECVRSSBUCKETID = 94 // in.h:503:1:
IP_RECVTOS = 68 // in.h:475:1:
IP_RECVTTL = 65 // in.h:472:1:
IP_RETOPTS = 8 // in.h:417:1:
IP_RSSBUCKETID = 92 // in.h:501:1:
IP_RSS_LISTEN_BUCKET = 26 // in.h:437:1:
IP_RSVP_OFF = 16 // in.h:426:1:
IP_RSVP_ON = 15 // in.h:425:1:
IP_RSVP_VIF_OFF = 18 // in.h:428:1:
IP_RSVP_VIF_ON = 17 // in.h:427:1:
IP_SENDSRCADDR = 7 // in.h:416:1:
IP_TOS = 3 // in.h:411:1:
IP_TTL = 4 // in.h:412:1:
IP_UNBLOCK_SOURCE = 73 // in.h:481:1:
IP_VLAN_PCP = 75 // in.h:487:1:
LITTLE_ENDIAN = 1234 // endian.h:62:1:
MCAST_BLOCK_SOURCE = 84 // in.h:495:1:
MCAST_EXCLUDE = 2 // in.h:607:1:
MCAST_INCLUDE = 1 // in.h:606:1:
MCAST_JOIN_GROUP = 80 // in.h:491:1:
MCAST_JOIN_SOURCE_GROUP = 82 // in.h:493:1:
MCAST_LEAVE_GROUP = 81 // in.h:492:1:
MCAST_LEAVE_SOURCE_GROUP = 83 // in.h:494:1:
MCAST_UNBLOCK_SOURCE = 85 // in.h:496:1:
MCAST_UNDEFINED = 0 // in.h:605:1:
PDP_ENDIAN = 3412 // endian.h:64:1:
IP_ADD_MEMBERSHIP = 12 // in.h:434:1:
IP_ADD_SOURCE_MEMBERSHIP = 70 // in.h:490:1:
IP_BINDANY = 24 // in.h:447:1:
IP_BINDMULTI = 25 // in.h:448:1:
IP_BLOCK_SOURCE = 72 // in.h:492:1:
IP_DEFAULT_MULTICAST_LOOP = 1 // in.h:521:1:
IP_DEFAULT_MULTICAST_TTL = 1 // in.h:520:1:
IP_DONTFRAG = 67 // in.h:486:1:
IP_DROP_MEMBERSHIP = 13 // in.h:435:1:
IP_DROP_SOURCE_MEMBERSHIP = 71 // in.h:491:1:
IP_DUMMYNET3 = 49 // in.h:465:1:
IP_DUMMYNET_CONFIGURE = 60 // in.h:479:1:
IP_DUMMYNET_DEL = 61 // in.h:480:1:
IP_DUMMYNET_FLUSH = 62 // in.h:481:1:
IP_DUMMYNET_GET = 64 // in.h:482:1:
IP_FLOWID = 90 // in.h:511:1:
IP_FLOWTYPE = 91 // in.h:512:1:
IP_FW3 = 48 // in.h:464:1:
IP_FW_ADD = 50 // in.h:467:1:
IP_FW_DEL = 51 // in.h:468:1:
IP_FW_FLUSH = 52 // in.h:469:1:
IP_FW_GET = 54 // in.h:471:1:
IP_FW_NAT_CFG = 56 // in.h:474:1:
IP_FW_NAT_DEL = 57 // in.h:475:1:
IP_FW_NAT_GET_CONFIG = 58 // in.h:476:1:
IP_FW_NAT_GET_LOG = 59 // in.h:477:1:
IP_FW_RESETLOG = 55 // in.h:472:1:
IP_FW_TABLE_ADD = 40 // in.h:458:1:
IP_FW_TABLE_DEL = 41 // in.h:459:1:
IP_FW_TABLE_FLUSH = 42 // in.h:460:1:
IP_FW_TABLE_GETSIZE = 43 // in.h:461:1:
IP_FW_TABLE_LIST = 44 // in.h:462:1:
IP_FW_ZERO = 53 // in.h:470:1:
IP_HDRINCL = 2 // in.h:422:1:
IP_IPSEC_POLICY = 21 // in.h:444:1:
IP_MAX_GROUP_SRC_FILTER = 512 // in.h:532:1:
IP_MAX_MEMBERSHIPS = 4095 // in.h:526:1:
IP_MAX_SOCK_MUTE_FILTER = 128 // in.h:534:1:
IP_MAX_SOCK_SRC_FILTER = 128 // in.h:533:1:
IP_MINTTL = 66 // in.h:485:1:
IP_MSFILTER = 74 // in.h:496:1:
IP_MULTICAST_IF = 9 // in.h:430:1:
IP_MULTICAST_LOOP = 11 // in.h:433:1:
IP_MULTICAST_TTL = 10 // in.h:432:1:
IP_MULTICAST_VIF = 14 // in.h:436:1:
IP_ONESBCAST = 23 // in.h:446:1:
IP_OPTIONS = 1 // in.h:421:1:
IP_ORIGDSTADDR = 27 // in.h:450:1:
IP_PORTRANGE = 19 // in.h:441:1:
IP_PORTRANGE_DEFAULT = 0 // in.h:625:1:
IP_PORTRANGE_HIGH = 1 // in.h:626:1:
IP_PORTRANGE_LOW = 2 // in.h:627:1:
IP_RECVDSTADDR = 7 // in.h:427:1:
IP_RECVFLOWID = 93 // in.h:514:1:
IP_RECVIF = 20 // in.h:442:1:
IP_RECVOPTS = 5 // in.h:425:1:
IP_RECVORIGDSTADDR = 27 // in.h:451:1:
IP_RECVRETOPTS = 6 // in.h:426:1:
IP_RECVRSSBUCKETID = 94 // in.h:515:1:
IP_RECVTOS = 68 // in.h:487:1:
IP_RECVTTL = 65 // in.h:484:1:
IP_RETOPTS = 8 // in.h:429:1:
IP_RSSBUCKETID = 92 // in.h:513:1:
IP_RSS_LISTEN_BUCKET = 26 // in.h:449:1:
IP_RSVP_OFF = 16 // in.h:438:1:
IP_RSVP_ON = 15 // in.h:437:1:
IP_RSVP_VIF_OFF = 18 // in.h:440:1:
IP_RSVP_VIF_ON = 17 // in.h:439:1:
IP_SENDSRCADDR = 7 // in.h:428:1:
IP_TOS = 3 // in.h:423:1:
IP_TTL = 4 // in.h:424:1:
IP_UNBLOCK_SOURCE = 73 // in.h:493:1:
IP_VLAN_PCP = 75 // in.h:499:1:
LITTLE_ENDIAN = 1234 // _endian.h:69:1:
MCAST_BLOCK_SOURCE = 84 // in.h:507:1:
MCAST_EXCLUDE = 2 // in.h:619:1:
MCAST_INCLUDE = 1 // in.h:618:1:
MCAST_JOIN_GROUP = 80 // in.h:503:1:
MCAST_JOIN_SOURCE_GROUP = 82 // in.h:505:1:
MCAST_LEAVE_GROUP = 81 // in.h:504:1:
MCAST_LEAVE_SOURCE_GROUP = 83 // in.h:506:1:
MCAST_UNBLOCK_SOURCE = 85 // in.h:508:1:
MCAST_UNDEFINED = 0 // in.h:617:1:
PDP_ENDIAN = 3412 // _endian.h:71:1:
SIN6_LEN = 0 // in6.h:122:1:
X_BIG_ENDIAN = 4321 // endian.h:52:1:
X_BIG_ENDIAN = 4321 // _endian.h:47:1:
X_BYTEORDER_FUNC_DEFINED = 0 // in.h:118:1:
X_BYTEORDER_PROTOTYPED = 0 // in.h:108:1:
X_BYTE_ORDER = 1234 // endian.h:55:1:
X_BYTE_ORDER = 1234 // _endian.h:40:1:
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
X_IN_ADDR_T_DECLARED = 0 // in.h:68:1:
X_IN_PORT_T_DECLARED = 0 // in.h:73:1:
X_LITTLE_ENDIAN = 1234 // endian.h:51:1:
X_LITTLE_ENDIAN = 1234 // _endian.h:46:1:
X_LP64 = 1 // <predefined>:1:1:
X_MACHINE_ENDIAN_H_ = 0 // endian.h:36:1:
X_MACHINE__LIMITS_H_ = 0 // _limits.h:36:1:
X_MACHINE__TYPES_H_ = 0 // _types.h:42:1:
X_NETINET6_IN6_H_ = 0 // in6.h:71:1:
X_NETINET_IN_H_ = 0 // in.h:36:1:
X_Nonnull = 0 // cdefs.h:783:1:
X_Null_unspecified = 0 // cdefs.h:785:1:
X_Nullable = 0 // cdefs.h:784:1:
X_PDP_ENDIAN = 3412 // endian.h:53:1:
X_QUAD_HIGHWORD = 1 // endian.h:44:1:
X_QUAD_LOWWORD = 0 // endian.h:45:1:
X_Nonnull = 0 // cdefs.h:790:1:
X_Null_unspecified = 0 // cdefs.h:792:1:
X_Nullable = 0 // cdefs.h:791:1:
X_PDP_ENDIAN = 3412 // _endian.h:48:1:
X_QUAD_HIGHWORD = 1 // _endian.h:55:1:
X_QUAD_LOWWORD = 0 // _endian.h:56:1:
X_SA_FAMILY_T_DECLARED = 0 // in.h:78:1:
X_SIZE_T_DECLARED = 0 // in6.h:701:1:
X_SOCKLEN_T_DECLARED = 0 // in.h:91:1:
X_SS_MAXSIZE = 128 // _sockaddr_storage.h:41:1:
X_STRUCT_IN_ADDR_DECLARED = 0 // in.h:86:1:
X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
X_SYS__ENDIAN_H_ = 0 // _endian.h:33:1:
X_SYS__SOCKADDR_STORAGE_H_ = 0 // _sockaddr_storage.h:36:1:
X_SYS__TYPES_H_ = 0 // _types.h:32:1:
X_UINT16_T_DECLARED = 0 // in.h:58:1:
X_UINT32_T_DECLARED = 0 // in.h:63:1:
X_UINT8_T_DECLARED = 0 // in.h:53:1:
Unix = 1 // <predefined>:337:1:
Unix = 1 // <predefined>:340:1:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
@@ -670,12 +673,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
//
@@ -918,8 +924,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
@@ -1004,42 +1010,6 @@ type X__gnuc_va_list = X__va_list /* _types.h:140:20 */ // compatibility w/GN
// @(#)endian.h 7.8 (Berkeley) 4/3/91
// $FreeBSD$
// -
// SPDX-License-Identifier: BSD-3-Clause
//
// Copyright (c) 1991, 1993
// The Regents of the University of California. All rights reserved.
//
// This code is derived from software contributed to Berkeley by
// Berkeley Software Design, Inc.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
// 1. Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// 2. Redistributions in binary form must reproduce the above copyright
// notice, this list of conditions and the following disclaimer in the
// documentation and/or other materials provided with the distribution.
// 3. Neither the name of the University nor the names of its contributors
// may be used to endorse or promote products derived from this software
// without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// @(#)cdefs.h 8.8 (Berkeley) 1/9/95
// $FreeBSD$
// -
// SPDX-License-Identifier: BSD-2-Clause-FreeBSD
//
@@ -1069,14 +1039,48 @@ type X__gnuc_va_list = X__va_list /* _types.h:140:20 */ // compatibility w/GN
//
// $FreeBSD$
// Define the order of 32-bit words in 64-bit words.
// -
// SPDX-License-Identifier: BSD-3-Clause
//
// Copyright (c) 1987, 1991 Regents of the University of California.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
// 1. Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// 2. Redistributions in binary form must reproduce the above copyright
// notice, this list of conditions and the following disclaimer in the
// documentation and/or other materials provided with the distribution.
// 3. Neither the name of the University nor the names of its contributors
// may be used to endorse or promote products derived from this software
// without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
// BSD Compatiblity
// Definitions for byte order, according to byte significance from low
// address to high.
// Define the order of 32-bit words in 64-bit words.
// Deprecated variants that don't have enough underscores to be useful in more
// strict namespaces.
// bswap primitives, based on compiler builtins
// Protocols common to RFC 1700, POSIX, and X/Open.
type Uint8_t = X__uint8_t /* in.h:52:20 */
@@ -1218,9 +1222,10 @@ type Sockaddr_in = struct {
// 512, but that conflicts with some well-known-services that firewalls may
// have a fit if we use.
// Definitions of bits in internet address integers.
// On subnets, the decomposition of addresses to host and net parts
// is done according to subnet mask, not the masks here.
// Historical definitions of bits in internet address integers
// (pre-CIDR). Class A/B/C are long obsolete, and now deprecated.
// Hide these definitions from the kernel unless IN_HISTORICAL_NETS
// is defined. Provide the historical definitions to user level for now.
// Options for use with [gs]etsockopt at the IP level.
// First word of comment is data type; bool is stored in int.
@@ -1253,7 +1258,7 @@ type Sockaddr_in = struct {
type Ip_mreq = struct {
Fimr_multiaddr struct{ Fs_addr In_addr_t }
Fimr_interface struct{ Fs_addr In_addr_t }
} /* in.h:527:1 */
} /* in.h:539:1 */
// Modified argument structure for IP_MULTICAST_IF, obtained from Linux.
// This is used to specify an interface index for multicast sends, as
@@ -1262,14 +1267,14 @@ type Ip_mreqn = struct {
Fimr_multiaddr struct{ Fs_addr In_addr_t }
Fimr_address struct{ Fs_addr In_addr_t }
Fimr_ifindex int32
} /* in.h:537:1 */
} /* in.h:549:1 */
// Argument structure for IPv4 Multicast Source Filter APIs. [RFC3678]
type Ip_mreq_source = struct {
Fimr_multiaddr struct{ Fs_addr In_addr_t }
Fimr_sourceaddr struct{ Fs_addr In_addr_t }
Fimr_interface struct{ Fs_addr In_addr_t }
} /* in.h:546:1 */
} /* in.h:558:1 */
// Argument structures for Protocol-Independent Multicast Source
// Filter APIs. [RFC3678]
@@ -1283,7 +1288,7 @@ type Group_req = struct {
F__ss_align X__int64_t
F__ss_pad2 [112]int8
}
} /* in.h:556:1 */
} /* in.h:568:1 */
type Group_source_req = struct {
Fgsr_interface Uint32_t
@@ -1302,7 +1307,7 @@ type Group_source_req = struct {
F__ss_align X__int64_t
F__ss_pad2 [112]int8
}
} /* in.h:561:1 */
} /* in.h:573:1 */
// The following structure is private; do not use it from user applications.
// It is used to communicate IP_MSFILTER/IPV6_MSFILTER information between
@@ -1320,7 +1325,7 @@ type X__msfilterreq = struct {
F__ss_pad2 [112]int8
}
Fmsfr_srcs uintptr
} /* in.h:574:1 */
} /* in.h:586:1 */
// Filter modes; also used to represent per-socket filter mode internally.

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

1529
vendor/modernc.org/libc/netinet/in/in_freebsd_arm64.go generated vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

2913
vendor/modernc.org/libc/netinet/in/in_netbsd_arm.go generated vendored Normal file

File diff suppressed because it is too large Load Diff

1240
vendor/modernc.org/libc/netinet/in/in_openbsd_386.go generated vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -244,8 +244,8 @@ const (
SIN6_LEN = 0 // in6.h:104: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_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:
@@ -261,29 +261,29 @@ const (
X_MAX_PAGE_SHIFT = 12 // _types.h:52:1:
X_NETINET6_IN6_H_ = 0 // in6.h:69:1:
X_NETINET_IN_H_ = 0 // in.h:39:1:
X_OFF_T_DEFINED_ = 0 // types.h:193: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:
X_SA_FAMILY_T_DEFINED_ = 0 // in.h:57:1:
X_SIZE_T_DEFINED_ = 0 // types.h:173:1:
X_SIZE_T_DEFINED_ = 0 // types.h:172:1:
X_SOCKLEN_T_DEFINED_ = 0 // in6.h:400:1:
X_SSIZE_T_DEFINED_ = 0 // types.h:178:1:
X_SSIZE_T_DEFINED_ = 0 // types.h:177:1:
X_STACKALIGNBYTES = 15 // _types.h:49:1:
X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
X_SYS_ENDIAN_H_ = 0 // endian.h:38:1:
X_SYS_TYPES_H_ = 0 // types.h:41: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_TIME_T_DEFINED_ = 0 // types.h:183:1:
X_TIMER_T_DEFINED_ = 0 // types.h:187: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:
X_UINT8_T_DEFINED_ = 0 // types.h:79:1:
Unix = 1 // <predefined>:340:1:
Unix = 1 // <predefined>:344:1:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
@@ -499,7 +499,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// Default values.
// $OpenBSD: types.h,v 1.48 2019/02/09 04:54:11 guenther Exp $
// $OpenBSD: types.h,v 1.49 2022/08/06 13:31:13 semarie Exp $
// $NetBSD: types.h,v 1.29 1996/11/15 22:48:25 jtc Exp $
// -
@@ -669,7 +669,7 @@ type X__float128 = float64 /* <builtin>:47:21 */
// get the correct setting direction for the platform and sets internal
// ('__' prefix) macros appropriately.
// $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
@@ -829,18 +829,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 */
// Tell sys/endian.h we have MD variants of the swap macros.
@@ -922,27 +921,26 @@ 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 Ssize_t = X__ssize_t /* types.h:179:19 */
type Ssize_t = X__ssize_t /* types.h:178:19 */
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.

1248
vendor/modernc.org/libc/netinet/in/in_openbsd_arm64.go generated vendored Normal file

File diff suppressed because it is too large Load Diff