in

package
v1.33.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2024 License: BSD-3-Clause, BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AF_ALG                           = 38
	AF_APPLETALK                     = 5
	AF_ASH                           = 18
	AF_ATMPVC                        = 8
	AF_ATMSVC                        = 20
	AF_AX25                          = 3
	AF_BLUETOOTH                     = 31
	AF_BRIDGE                        = 7
	AF_CAIF                          = 37
	AF_CAN                           = 29
	AF_DECnet                        = 12
	AF_ECONET                        = 19
	AF_FILE                          = 1
	AF_IB                            = 27
	AF_IEEE802154                    = 36
	AF_INET                          = 2
	AF_INET6                         = 10
	AF_IPX                           = 4
	AF_IRDA                          = 23
	AF_ISDN                          = 34
	AF_IUCV                          = 32
	AF_KCM                           = 41
	AF_KEY                           = 15
	AF_LLC                           = 26
	AF_LOCAL                         = 1
	AF_MAX                           = 45
	AF_MPLS                          = 28
	AF_NETBEUI                       = 13
	AF_NETLINK                       = 16
	AF_NETROM                        = 6
	AF_NFC                           = 39
	AF_PACKET                        = 17
	AF_PHONET                        = 35
	AF_PPPOX                         = 24
	AF_QIPCRTR                       = 42
	AF_RDS                           = 21
	AF_ROSE                          = 11
	AF_ROUTE                         = 16
	AF_RXRPC                         = 33
	AF_SECURITY                      = 14
	AF_SMC                           = 43
	AF_SNA                           = 22
	AF_TIPC                          = 30
	AF_UNIX                          = 1
	AF_UNSPEC                        = 0
	AF_VSOCK                         = 40
	AF_WANPIPE                       = 25
	AF_X25                           = 9
	AF_XDP                           = 44
	BIG_ENDIAN                       = 4321
	BYTE_ORDER                       = 1234
	FD_SETSIZE                       = 1024
	FIOGETOWN                        = 0x8903
	FIOSETOWN                        = 0x8901
	INET6_ADDRSTRLEN                 = 46
	INET_ADDRSTRLEN                  = 16
	IN_CLASSA_HOST                   = 16777215
	IN_CLASSA_MAX                    = 128
	IN_CLASSA_NET                    = 0xff000000
	IN_CLASSA_NSHIFT                 = 24
	IN_CLASSB_HOST                   = 65535
	IN_CLASSB_MAX                    = 65536
	IN_CLASSB_NET                    = 0xffff0000
	IN_CLASSB_NSHIFT                 = 16
	IN_CLASSC_HOST                   = 255
	IN_CLASSC_NET                    = 0xffffff00
	IN_CLASSC_NSHIFT                 = 8
	IN_LOOPBACKNET                   = 127
	IPV6_2292DSTOPTS                 = 4
	IPV6_2292HOPLIMIT                = 8
	IPV6_2292HOPOPTS                 = 3
	IPV6_2292PKTINFO                 = 2
	IPV6_2292PKTOPTIONS              = 6
	IPV6_2292RTHDR                   = 5
	IPV6_ADDRFORM                    = 1
	IPV6_ADDR_PREFERENCES            = 72
	IPV6_ADD_MEMBERSHIP              = 20
	IPV6_AUTHHDR                     = 10
	IPV6_AUTOFLOWLABEL               = 70
	IPV6_CHECKSUM                    = 7
	IPV6_DONTFRAG                    = 62
	IPV6_DROP_MEMBERSHIP             = 21
	IPV6_DSTOPTS                     = 59
	IPV6_FREEBIND                    = 78
	IPV6_HDRINCL                     = 36
	IPV6_HOPLIMIT                    = 52
	IPV6_HOPOPTS                     = 54
	IPV6_IPSEC_POLICY                = 34
	IPV6_JOIN_ANYCAST                = 27
	IPV6_JOIN_GROUP                  = 20
	IPV6_LEAVE_ANYCAST               = 28
	IPV6_LEAVE_GROUP                 = 21
	IPV6_MINHOPCOUNT                 = 73
	IPV6_MTU                         = 24
	IPV6_MTU_DISCOVER                = 23
	IPV6_MULTICAST_ALL               = 29
	IPV6_MULTICAST_HOPS              = 18
	IPV6_MULTICAST_IF                = 17
	IPV6_MULTICAST_LOOP              = 19
	IPV6_NEXTHOP                     = 9
	IPV6_ORIGDSTADDR                 = 74
	IPV6_PATHMTU                     = 61
	IPV6_PKTINFO                     = 50
	IPV6_PMTUDISC_DO                 = 2
	IPV6_PMTUDISC_DONT               = 0
	IPV6_PMTUDISC_INTERFACE          = 4
	IPV6_PMTUDISC_OMIT               = 5
	IPV6_PMTUDISC_PROBE              = 3
	IPV6_PMTUDISC_WANT               = 1
	IPV6_RECVDSTOPTS                 = 58
	IPV6_RECVERR                     = 25
	IPV6_RECVFRAGSIZE                = 77
	IPV6_RECVHOPLIMIT                = 51
	IPV6_RECVHOPOPTS                 = 53
	IPV6_RECVORIGDSTADDR             = 74
	IPV6_RECVPATHMTU                 = 60
	IPV6_RECVPKTINFO                 = 49
	IPV6_RECVRTHDR                   = 56
	IPV6_RECVTCLASS                  = 66
	IPV6_ROUTER_ALERT                = 22
	IPV6_ROUTER_ALERT_ISOLATE        = 30
	IPV6_RTHDR                       = 57
	IPV6_RTHDRDSTOPTS                = 55
	IPV6_RTHDR_LOOSE                 = 0
	IPV6_RTHDR_STRICT                = 1
	IPV6_RTHDR_TYPE_0                = 0
	IPV6_RXDSTOPTS                   = 59
	IPV6_RXHOPOPTS                   = 54
	IPV6_TCLASS                      = 67
	IPV6_TRANSPARENT                 = 75
	IPV6_UNICAST_HOPS                = 16
	IPV6_UNICAST_IF                  = 76
	IPV6_V6ONLY                      = 26
	IPV6_XFRM_POLICY                 = 35
	IP_ADD_MEMBERSHIP                = 35
	IP_ADD_SOURCE_MEMBERSHIP         = 39
	IP_BIND_ADDRESS_NO_PORT          = 24
	IP_BLOCK_SOURCE                  = 38
	IP_CHECKSUM                      = 23
	IP_DEFAULT_MULTICAST_LOOP        = 1
	IP_DEFAULT_MULTICAST_TTL         = 1
	IP_DROP_MEMBERSHIP               = 36
	IP_DROP_SOURCE_MEMBERSHIP        = 40
	IP_FREEBIND                      = 15
	IP_HDRINCL                       = 3
	IP_IPSEC_POLICY                  = 16
	IP_MAX_MEMBERSHIPS               = 20
	IP_MINTTL                        = 21
	IP_MSFILTER                      = 41
	IP_MTU                           = 14
	IP_MTU_DISCOVER                  = 10
	IP_MULTICAST_ALL                 = 49
	IP_MULTICAST_IF                  = 32
	IP_MULTICAST_LOOP                = 34
	IP_MULTICAST_TTL                 = 33
	IP_NODEFRAG                      = 22
	IP_OPTIONS                       = 4
	IP_ORIGDSTADDR                   = 20
	IP_PASSSEC                       = 18
	IP_PKTINFO                       = 8
	IP_PKTOPTIONS                    = 9
	IP_PMTUDISC                      = 10
	IP_PMTUDISC_DO                   = 2
	IP_PMTUDISC_DONT                 = 0
	IP_PMTUDISC_INTERFACE            = 4
	IP_PMTUDISC_OMIT                 = 5
	IP_PMTUDISC_PROBE                = 3
	IP_PMTUDISC_WANT                 = 1
	IP_RECVERR                       = 11
	IP_RECVFRAGSIZE                  = 25
	IP_RECVOPTS                      = 6
	IP_RECVORIGDSTADDR               = 20
	IP_RECVRETOPTS                   = 7
	IP_RECVTOS                       = 13
	IP_RECVTTL                       = 12
	IP_RETOPTS                       = 7
	IP_ROUTER_ALERT                  = 5
	IP_TOS                           = 1
	IP_TRANSPARENT                   = 19
	IP_TTL                           = 2
	IP_UNBLOCK_SOURCE                = 37
	IP_UNICAST_IF                    = 50
	IP_XFRM_POLICY                   = 17
	LITTLE_ENDIAN                    = 1234
	MCAST_BLOCK_SOURCE               = 43
	MCAST_EXCLUDE                    = 0
	MCAST_INCLUDE                    = 1
	MCAST_JOIN_GROUP                 = 42
	MCAST_JOIN_SOURCE_GROUP          = 46
	MCAST_LEAVE_GROUP                = 45
	MCAST_LEAVE_SOURCE_GROUP         = 47
	MCAST_MSFILTER                   = 48
	MCAST_UNBLOCK_SOURCE             = 44
	PDP_ENDIAN                       = 3412
	PF_ALG                           = 38
	PF_APPLETALK                     = 5
	PF_ASH                           = 18
	PF_ATMPVC                        = 8
	PF_ATMSVC                        = 20
	PF_AX25                          = 3
	PF_BLUETOOTH                     = 31
	PF_BRIDGE                        = 7
	PF_CAIF                          = 37
	PF_CAN                           = 29
	PF_DECnet                        = 12
	PF_ECONET                        = 19
	PF_FILE                          = 1
	PF_IB                            = 27
	PF_IEEE802154                    = 36
	PF_INET                          = 2
	PF_INET6                         = 10
	PF_IPX                           = 4
	PF_IRDA                          = 23
	PF_ISDN                          = 34
	PF_IUCV                          = 32
	PF_KCM                           = 41
	PF_KEY                           = 15
	PF_LLC                           = 26
	PF_LOCAL                         = 1
	PF_MAX                           = 45
	PF_MPLS                          = 28
	PF_NETBEUI                       = 13
	PF_NETLINK                       = 16
	PF_NETROM                        = 6
	PF_NFC                           = 39
	PF_PACKET                        = 17
	PF_PHONET                        = 35
	PF_PPPOX                         = 24
	PF_QIPCRTR                       = 42
	PF_RDS                           = 21
	PF_ROSE                          = 11
	PF_ROUTE                         = 16
	PF_RXRPC                         = 33
	PF_SECURITY                      = 14
	PF_SMC                           = 43
	PF_SNA                           = 22
	PF_TIPC                          = 30
	PF_UNIX                          = 1
	PF_UNSPEC                        = 0
	PF_VSOCK                         = 40
	PF_WANPIPE                       = 25
	PF_X25                           = 9
	PF_XDP                           = 44
	SCM_TIMESTAMP                    = 29
	SCM_TIMESTAMPING                 = 37
	SCM_TIMESTAMPING_OPT_STATS       = 54
	SCM_TIMESTAMPING_PKTINFO         = 58
	SCM_TIMESTAMPNS                  = 35
	SCM_TXTIME                       = 61
	SCM_WIFI_STATUS                  = 41
	SIOCATMARK                       = 0x8905
	SIOCGPGRP                        = 0x8904
	SIOCGSTAMP                       = 0x8906
	SIOCGSTAMPNS                     = 0x8907
	SIOCSPGRP                        = 0x8902
	SOL_AAL                          = 265
	SOL_ALG                          = 279
	SOL_ATM                          = 264
	SOL_BLUETOOTH                    = 274
	SOL_CAIF                         = 278
	SOL_DCCP                         = 269
	SOL_DECNET                       = 261
	SOL_ICMPV6                       = 58
	SOL_IP                           = 0
	SOL_IPV6                         = 41
	SOL_IRDA                         = 266
	SOL_IUCV                         = 277
	SOL_KCM                          = 281
	SOL_LLC                          = 268
	SOL_NETBEUI                      = 267
	SOL_NETLINK                      = 270
	SOL_NFC                          = 280
	SOL_PACKET                       = 263
	SOL_PNPIPE                       = 275
	SOL_PPPOL2TP                     = 273
	SOL_RAW                          = 255
	SOL_RDS                          = 276
	SOL_RXRPC                        = 272
	SOL_SOCKET                       = 1
	SOL_TIPC                         = 271
	SOL_TLS                          = 282
	SOL_X25                          = 262
	SOL_XDP                          = 283
	SOMAXCONN                        = 4096
	SO_ACCEPTCONN                    = 30
	SO_ATTACH_BPF                    = 50
	SO_ATTACH_FILTER                 = 26
	SO_ATTACH_REUSEPORT_CBPF         = 51
	SO_ATTACH_REUSEPORT_EBPF         = 52
	SO_BINDTODEVICE                  = 25
	SO_BINDTOIFINDEX                 = 62
	SO_BPF_EXTENSIONS                = 48
	SO_BROADCAST                     = 6
	SO_BSDCOMPAT                     = 14
	SO_BUSY_POLL                     = 46
	SO_CNX_ADVICE                    = 53
	SO_COOKIE                        = 57
	SO_DEBUG                         = 1
	SO_DETACH_BPF                    = 27
	SO_DETACH_FILTER                 = 27
	SO_DETACH_REUSEPORT_BPF          = 68
	SO_DOMAIN                        = 39
	SO_DONTROUTE                     = 5
	SO_ERROR                         = 4
	SO_GET_FILTER                    = 26
	SO_INCOMING_CPU                  = 49
	SO_INCOMING_NAPI_ID              = 56
	SO_KEEPALIVE                     = 9
	SO_LINGER                        = 13
	SO_LOCK_FILTER                   = 44
	SO_MARK                          = 36
	SO_MAX_PACING_RATE               = 47
	SO_MEMINFO                       = 55
	SO_NOFCS                         = 43
	SO_NO_CHECK                      = 11
	SO_OOBINLINE                     = 10
	SO_PASSCRED                      = 16
	SO_PASSSEC                       = 34
	SO_PEEK_OFF                      = 42
	SO_PEERCRED                      = 17
	SO_PEERGROUPS                    = 59
	SO_PEERNAME                      = 28
	SO_PEERSEC                       = 31
	SO_PRIORITY                      = 12
	SO_PROTOCOL                      = 38
	SO_RCVBUF                        = 8
	SO_RCVBUFFORCE                   = 33
	SO_RCVLOWAT                      = 18
	SO_RCVTIMEO                      = 20
	SO_RCVTIMEO_NEW                  = 66
	SO_RCVTIMEO_OLD                  = 20
	SO_REUSEADDR                     = 2
	SO_REUSEPORT                     = 15
	SO_RXQ_OVFL                      = 40
	SO_SECURITY_AUTHENTICATION       = 22
	SO_SECURITY_ENCRYPTION_NETWORK   = 24
	SO_SECURITY_ENCRYPTION_TRANSPORT = 23
	SO_SELECT_ERR_QUEUE              = 45
	SO_SNDBUF                        = 7
	SO_SNDBUFFORCE                   = 32
	SO_SNDLOWAT                      = 19
	SO_SNDTIMEO                      = 21
	SO_SNDTIMEO_NEW                  = 67
	SO_SNDTIMEO_OLD                  = 21
	SO_TIMESTAMP                     = 29
	SO_TIMESTAMPING                  = 37
	SO_TIMESTAMPING_NEW              = 65
	SO_TIMESTAMPING_OLD              = 37
	SO_TIMESTAMPNS                   = 35
	SO_TIMESTAMPNS_NEW               = 64
	SO_TIMESTAMPNS_OLD               = 35
	SO_TIMESTAMP_NEW                 = 63
	SO_TIMESTAMP_OLD                 = 29
	SO_TXTIME                        = 61
	SO_TYPE                          = 3
	SO_WIFI_STATUS                   = 41
	SO_ZEROCOPY                      = 60
	X_ASM_X86_POSIX_TYPES_64_H       = 0
	X_ATFILE_SOURCE                  = 1
	X_BITS_BYTESWAP_H                = 1
	X_BITS_ENDIANNESS_H              = 1
	X_BITS_ENDIAN_H                  = 1
	X_BITS_PTHREADTYPES_ARCH_H       = 1
	X_BITS_PTHREADTYPES_COMMON_H     = 1
	X_BITS_SOCKADDR_H                = 1
	X_BITS_STDINT_INTN_H             = 1
	X_BITS_STDINT_UINTN_H            = 1
	X_BITS_TIME64_H                  = 1
	X_BITS_TYPESIZES_H               = 1
	X_BITS_TYPES_H                   = 1
	X_BITS_UINTN_IDENTITY_H          = 1
	X_BSD_SIZE_T_                    = 0
	X_BSD_SIZE_T_DEFINED_            = 0
	X_DEFAULT_SOURCE                 = 1
	X_ENDIAN_H                       = 1
	X_FEATURES_H                     = 1
	X_FILE_OFFSET_BITS               = 64
	X_GCC_SIZE_T                     = 0
	X_LINUX_POSIX_TYPES_H            = 0
	X_LP64                           = 1
	X_NETINET_IN_H                   = 1
	X_POSIX_C_SOURCE                 = 200809
	X_POSIX_SOURCE                   = 1
	X_RWLOCK_INTERNAL_H              = 0
	X_SIZET_                         = 0
	X_SIZE_T                         = 0
	X_SIZE_T_                        = 0
	X_SIZE_T_DECLARED                = 0
	X_SIZE_T_DEFINED                 = 0
	X_SIZE_T_DEFINED_                = 0
	X_SS_SIZE                        = 128
	X_STDC_PREDEF_H                  = 1
	X_STRUCT_TIMESPEC                = 1
	X_SYS_CDEFS_H                    = 1
	X_SYS_SELECT_H                   = 1
	X_SYS_SIZE_T_H                   = 0
	X_SYS_SOCKET_H                   = 1
	X_SYS_TYPES_H                    = 1
	X_THREAD_MUTEX_INTERNAL_H        = 1
	X_THREAD_SHARED_TYPES_H          = 1
	X_T_SIZE                         = 0
	X_T_SIZE_                        = 0
	Linux                            = 1
	Unix                             = 1
)
View Source
const (
	IPPORT_ECHO       = 7
	IPPORT_DISCARD    = 9
	IPPORT_SYSTAT     = 11
	IPPORT_DAYTIME    = 13
	IPPORT_NETSTAT    = 15
	IPPORT_FTP        = 21
	IPPORT_TELNET     = 23
	IPPORT_SMTP       = 25
	IPPORT_TIMESERVER = 37
	IPPORT_NAMESERVER = 42
	IPPORT_WHOIS      = 43
	IPPORT_MTP        = 57

	IPPORT_TFTP    = 69
	IPPORT_RJE     = 77
	IPPORT_FINGER  = 79
	IPPORT_TTYLINK = 87
	IPPORT_SUPDUP  = 95

	IPPORT_EXECSERVER  = 512
	IPPORT_LOGINSERVER = 513
	IPPORT_CMDSERVER   = 514
	IPPORT_EFSSERVER   = 520

	IPPORT_BIFFUDP     = 512
	IPPORT_WHOSERVER   = 513
	IPPORT_ROUTESERVER = 520

	IPPORT_RESERVED = 1024

	IPPORT_USERRESERVED = 5000
)
View Source
const (
	IPPROTO_IP      = 0
	IPPROTO_ICMP    = 1
	IPPROTO_IGMP    = 2
	IPPROTO_IPIP    = 4
	IPPROTO_TCP     = 6
	IPPROTO_EGP     = 8
	IPPROTO_PUP     = 12
	IPPROTO_UDP     = 17
	IPPROTO_IDP     = 22
	IPPROTO_TP      = 29
	IPPROTO_DCCP    = 33
	IPPROTO_IPV6    = 41
	IPPROTO_RSVP    = 46
	IPPROTO_GRE     = 47
	IPPROTO_ESP     = 50
	IPPROTO_AH      = 51
	IPPROTO_MTP     = 92
	IPPROTO_BEETPH  = 94
	IPPROTO_ENCAP   = 98
	IPPROTO_PIM     = 103
	IPPROTO_COMP    = 108
	IPPROTO_SCTP    = 132
	IPPROTO_UDPLITE = 136
	IPPROTO_MPLS    = 137
	IPPROTO_RAW     = 255
	IPPROTO_MAX     = 256
)
View Source
const (
	IPPROTO_HOPOPTS  = 0
	IPPROTO_ROUTING  = 43
	IPPROTO_FRAGMENT = 44
	IPPROTO_ICMPV6   = 58
	IPPROTO_NONE     = 59
	IPPROTO_DSTOPTS  = 60
	IPPROTO_MH       = 135
)
View Source
const (
	MSG_OOB        = 1
	MSG_PEEK       = 2
	MSG_DONTROUTE  = 4
	MSG_CTRUNC     = 8
	MSG_PROXY      = 16
	MSG_TRUNC      = 32
	MSG_DONTWAIT   = 64
	MSG_EOR        = 128
	MSG_WAITALL    = 256
	MSG_FIN        = 512
	MSG_SYN        = 1024
	MSG_CONFIRM    = 2048
	MSG_RST        = 4096
	MSG_ERRQUEUE   = 8192
	MSG_NOSIGNAL   = 16384
	MSG_MORE       = 32768
	MSG_WAITFORONE = 65536
	MSG_BATCH      = 262144
	MSG_ZEROCOPY   = 67108864
	MSG_FASTOPEN   = 536870912

	MSG_CMSG_CLOEXEC = 1073741824
)
View Source
const (
	SOCK_STREAM = 1

	SOCK_DGRAM = 2

	SOCK_RAW       = 3
	SOCK_RDM       = 4
	SOCK_SEQPACKET = 5

	SOCK_DCCP   = 6
	SOCK_PACKET = 10

	SOCK_CLOEXEC = 524288

	SOCK_NONBLOCK = 2048
)
View Source
const (
	SHUT_RD   = 0
	SHUT_WR   = 1
	SHUT_RDWR = 2
)
View Source
const (
	SCM_RIGHTS = 1
)

Variables

View Source
var CAPI = map[string]struct{}{}

Functions

This section is empty.

Types

type Blkcnt_t

type Blkcnt_t = X__blkcnt64_t

type Blksize_t

type Blksize_t = X__blksize_t

type Caddr_t

type Caddr_t = X__caddr_t

type Clock_t

type Clock_t = X__clock_t

type Clockid_t

type Clockid_t = X__clockid_t

type Cmsghdr

type Cmsghdr = struct {
	F__ccgo_pad1 [0]uint64
	Fcmsg_len    Size_t
	Fcmsg_level  int32
	Fcmsg_type   int32
}

type Daddr_t

type Daddr_t = X__daddr_t

type Dev_t

type Dev_t = X__dev_t

type Fd_mask

type Fd_mask = X__fd_mask

type Fd_set

type Fd_set = struct{ F__fds_bits [16]X__fd_mask }

type Fsblkcnt_t

type Fsblkcnt_t = X__fsblkcnt64_t

type Fsfilcnt_t

type Fsfilcnt_t = X__fsfilcnt64_t

type Fsid_t

type Fsid_t = X__fsid_t

type Gid_t

type Gid_t = X__gid_t

type Group_filter

type Group_filter = struct {
	Fgf_interface Uint32_t
	F__ccgo_pad1  [4]byte
	Fgf_group     struct {
		Fss_family    Sa_family_t
		F__ss_padding [118]int8
		F__ss_align   uint64
	}
	Fgf_fmode  Uint32_t
	Fgf_numsrc Uint32_t
	Fgf_slist  [1]struct {
		Fss_family    Sa_family_t
		F__ss_padding [118]int8
		F__ss_align   uint64
	}
}

type Group_req

type Group_req = struct {
	Fgr_interface Uint32_t
	F__ccgo_pad1  [4]byte
	Fgr_group     struct {
		Fss_family    Sa_family_t
		F__ss_padding [118]int8
		F__ss_align   uint64
	}
}

type Group_source_req

type Group_source_req = struct {
	Fgsr_interface Uint32_t
	F__ccgo_pad1   [4]byte
	Fgsr_group     struct {
		Fss_family    Sa_family_t
		F__ss_padding [118]int8
		F__ss_align   uint64
	}
	Fgsr_source struct {
		Fss_family    Sa_family_t
		F__ss_padding [118]int8
		F__ss_align   uint64
	}
}

type Id_t

type Id_t = X__id_t

type In6_addr

type In6_addr = struct {
	F__in6_u struct {
		F__ccgo_pad1 [0]uint32
		F__u6_addr8  [16]Uint8_t
	}
}

type In_addr

type In_addr = struct{ Fs_addr In_addr_t }

type In_addr_t

type In_addr_t = Uint32_t

type In_pktinfo

type In_pktinfo = struct {
	Fipi_ifindex  int32
	Fipi_spec_dst struct{ Fs_addr In_addr_t }
	Fipi_addr     struct{ Fs_addr In_addr_t }
}

type In_port_t

type In_port_t = Uint16_t

type Ino_t

type Ino_t = X__ino64_t

type Int16_t

type Int16_t = X__int16_t

type Int32_t

type Int32_t = X__int32_t

type Int64_t

type Int64_t = X__int64_t

type Int8_t

type Int8_t = X__int8_t

type Iovec

type Iovec = struct {
	Fiov_base uintptr
	Fiov_len  Size_t
}

type Ip_mreq

type Ip_mreq = struct {
	Fimr_multiaddr struct{ Fs_addr In_addr_t }
	Fimr_interface struct{ Fs_addr In_addr_t }
}

type Ip_mreq_source

type Ip_mreq_source = struct {
	Fimr_multiaddr  struct{ Fs_addr In_addr_t }
	Fimr_interface  struct{ Fs_addr In_addr_t }
	Fimr_sourceaddr struct{ Fs_addr In_addr_t }
}

type Ip_mreqn

type Ip_mreqn = struct {
	Fimr_multiaddr struct{ Fs_addr In_addr_t }
	Fimr_address   struct{ Fs_addr In_addr_t }
	Fimr_ifindex   int32
}

type Ip_msfilter

type Ip_msfilter = struct {
	Fimsf_multiaddr struct{ Fs_addr In_addr_t }
	Fimsf_interface struct{ Fs_addr In_addr_t }
	Fimsf_fmode     Uint32_t
	Fimsf_numsrc    Uint32_t
	Fimsf_slist     [1]struct{ Fs_addr In_addr_t }
}

type Ip_opts

type Ip_opts = struct {
	Fip_dst  struct{ Fs_addr In_addr_t }
	Fip_opts [40]int8
}

type Ipv6_mreq

type Ipv6_mreq = struct {
	Fipv6mr_multiaddr struct {
		F__in6_u struct {
			F__ccgo_pad1 [0]uint32
			F__u6_addr8  [16]Uint8_t
		}
	}
	Fipv6mr_interface uint32
}

type Key_t

type Key_t = X__key_t

type Linger

type Linger = struct {
	Fl_onoff  int32
	Fl_linger int32
}

type Loff_t

type Loff_t = X__loff_t

type Mode_t

type Mode_t = X__mode_t

type Msghdr

type Msghdr = struct {
	Fmsg_name       uintptr
	Fmsg_namelen    Socklen_t
	F__ccgo_pad1    [4]byte
	Fmsg_iov        uintptr
	Fmsg_iovlen     Size_t
	Fmsg_control    uintptr
	Fmsg_controllen Size_t
	Fmsg_flags      int32
	F__ccgo_pad2    [4]byte
}
type Nlink_t = X__nlink_t

type Off_t

type Off_t = X__off64_t

type Osockaddr

type Osockaddr = struct {
	Fsa_family uint16
	Fsa_data   [14]uint8
}

type Pid_t

type Pid_t = X__pid_t

type Pthread_attr_t

type Pthread_attr_t = Pthread_attr_t1

type Pthread_attr_t1

type Pthread_attr_t1 = struct {
	F__ccgo_pad1 [0]uint64
	F__size      [56]int8
}

type Pthread_barrier_t

type Pthread_barrier_t = struct {
	F__ccgo_pad1 [0]uint64
	F__size      [32]int8
}

type Pthread_barrierattr_t

type Pthread_barrierattr_t = struct {
	F__ccgo_pad1 [0]uint32
	F__size      [4]int8
}

type Pthread_cond_t

type Pthread_cond_t = struct{ F__data X__pthread_cond_s }

type Pthread_condattr_t

type Pthread_condattr_t = struct {
	F__ccgo_pad1 [0]uint32
	F__size      [4]int8
}

type Pthread_key_t

type Pthread_key_t = uint32

type Pthread_mutex_t

type Pthread_mutex_t = struct{ F__data X__pthread_mutex_s }

type Pthread_mutexattr_t

type Pthread_mutexattr_t = struct {
	F__ccgo_pad1 [0]uint32
	F__size      [4]int8
}

type Pthread_once_t

type Pthread_once_t = int32

type Pthread_rwlock_t

type Pthread_rwlock_t = struct{ F__data X__pthread_rwlock_arch_t }

type Pthread_rwlockattr_t

type Pthread_rwlockattr_t = struct {
	F__ccgo_pad1 [0]uint64
	F__size      [8]int8
}

type Pthread_spinlock_t

type Pthread_spinlock_t = int32

type Pthread_t

type Pthread_t = uint64

type Ptrdiff_t

type Ptrdiff_t = int64

type Quad_t

type Quad_t = X__quad_t

type Register_t

type Register_t = int32

type Sa_family_t

type Sa_family_t = uint16

type Sigset_t

type Sigset_t = X__sigset_t

type Size_t

type Size_t = uint64

type Sockaddr

type Sockaddr = struct {
	Fsa_family Sa_family_t
	Fsa_data   [14]int8
}

type Sockaddr_in

type Sockaddr_in = struct {
	Fsin_family Sa_family_t
	Fsin_port   In_port_t
	Fsin_addr   struct{ Fs_addr In_addr_t }
	Fsin_zero   [8]uint8
}

type Sockaddr_in6

type Sockaddr_in6 = struct {
	Fsin6_family   Sa_family_t
	Fsin6_port     In_port_t
	Fsin6_flowinfo Uint32_t
	Fsin6_addr     struct {
		F__in6_u struct {
			F__ccgo_pad1 [0]uint32
			F__u6_addr8  [16]Uint8_t
		}
	}
	Fsin6_scope_id Uint32_t
}

type Sockaddr_storage

type Sockaddr_storage = struct {
	Fss_family    Sa_family_t
	F__ss_padding [118]int8
	F__ss_align   uint64
}

type Socklen_t

type Socklen_t = X__socklen_t

type Ssize_t

type Ssize_t = X__ssize_t

type Suseconds_t

type Suseconds_t = X__suseconds_t

type Time_t

type Time_t = X__time_t

type Timer_t

type Timer_t = X__timer_t

type Timespec

type Timespec = struct {
	Ftv_sec  X__time_t
	Ftv_nsec X__syscall_slong_t
}

type Timeval

type Timeval = struct {
	Ftv_sec  X__time_t
	Ftv_usec X__suseconds_t
}

type U_char

type U_char = X__u_char

type U_int

type U_int = X__u_int

type U_int16_t

type U_int16_t = X__uint16_t

type U_int32_t

type U_int32_t = X__uint32_t

type U_int64_t

type U_int64_t = X__uint64_t

type U_int8_t

type U_int8_t = X__uint8_t

type U_long

type U_long = X__u_long

type U_quad_t

type U_quad_t = X__u_quad_t

type U_short

type U_short = X__u_short

type Uid_t

type Uid_t = X__uid_t

type Uint

type Uint = uint32

type Uint16_t

type Uint16_t = X__uint16_t

type Uint32_t

type Uint32_t = X__uint32_t

type Uint64_t

type Uint64_t = X__uint64_t

type Uint8_t

type Uint8_t = X__uint8_t

type Ulong

type Ulong = uint64

type Ushort

type Ushort = uint16

type Wchar_t

type Wchar_t = int32

type X__blkcnt64_t

type X__blkcnt64_t = int64

type X__blkcnt_t

type X__blkcnt_t = int64

type X__blksize_t

type X__blksize_t = int64

type X__builtin_va_list

type X__builtin_va_list = uintptr

type X__caddr_t

type X__caddr_t = uintptr

type X__clock_t

type X__clock_t = int64

type X__clockid_t

type X__clockid_t = int32

type X__daddr_t

type X__daddr_t = int32

type X__dev_t

type X__dev_t = uint64

type X__fd_mask

type X__fd_mask = int64

type X__float128

type X__float128 = float64

type X__fsblkcnt64_t

type X__fsblkcnt64_t = uint64

type X__fsblkcnt_t

type X__fsblkcnt_t = uint64

type X__fsfilcnt64_t

type X__fsfilcnt64_t = uint64

type X__fsfilcnt_t

type X__fsfilcnt_t = uint64

type X__fsid_t

type X__fsid_t = struct{ F__val [2]int32 }

type X__fsword_t

type X__fsword_t = int64

type X__gid_t

type X__gid_t = uint32

type X__id_t

type X__id_t = uint32

type X__ino64_t

type X__ino64_t = uint64

type X__ino_t

type X__ino_t = uint64

type X__int128_t

type X__int128_t = struct {
	Flo int64
	Fhi int64
}

type X__int16_t

type X__int16_t = int16

type X__int32_t

type X__int32_t = int32

type X__int64_t

type X__int64_t = int64

type X__int8_t

type X__int8_t = int8

type X__int_least16_t

type X__int_least16_t = X__int16_t

type X__int_least32_t

type X__int_least32_t = X__int32_t

type X__int_least64_t

type X__int_least64_t = X__int64_t

type X__int_least8_t

type X__int_least8_t = X__int8_t

type X__intmax_t

type X__intmax_t = int64

type X__intptr_t

type X__intptr_t = int64

type X__kernel_caddr_t

type X__kernel_caddr_t = uintptr

type X__kernel_clock_t

type X__kernel_clock_t = X__kernel_long_t

type X__kernel_clockid_t

type X__kernel_clockid_t = int32

type X__kernel_daddr_t

type X__kernel_daddr_t = int32

type X__kernel_fd_set

type X__kernel_fd_set = struct{ Ffds_bits [16]uint64 }

type X__kernel_fsid_t

type X__kernel_fsid_t = struct{ Fval [2]int32 }

type X__kernel_gid16_t

type X__kernel_gid16_t = uint16

type X__kernel_gid32_t

type X__kernel_gid32_t = uint32

type X__kernel_gid_t

type X__kernel_gid_t = uint32

type X__kernel_ino_t

type X__kernel_ino_t = X__kernel_ulong_t

type X__kernel_ipc_pid_t

type X__kernel_ipc_pid_t = int32

type X__kernel_key_t

type X__kernel_key_t = int32

type X__kernel_loff_t

type X__kernel_loff_t = int64

type X__kernel_long_t

type X__kernel_long_t = int64

type X__kernel_mode_t

type X__kernel_mode_t = uint32

type X__kernel_mqd_t

type X__kernel_mqd_t = int32

type X__kernel_off_t

type X__kernel_off_t = X__kernel_long_t

type X__kernel_old_dev_t

type X__kernel_old_dev_t = uint64

type X__kernel_old_gid_t

type X__kernel_old_gid_t = uint16

type X__kernel_old_time_t

type X__kernel_old_time_t = X__kernel_long_t

type X__kernel_old_uid_t

type X__kernel_old_uid_t = uint16

type X__kernel_pid_t

type X__kernel_pid_t = int32

type X__kernel_ptrdiff_t

type X__kernel_ptrdiff_t = X__kernel_long_t

type X__kernel_sighandler_t

type X__kernel_sighandler_t = uintptr

type X__kernel_size_t

type X__kernel_size_t = X__kernel_ulong_t

type X__kernel_ssize_t

type X__kernel_ssize_t = X__kernel_long_t

type X__kernel_suseconds_t

type X__kernel_suseconds_t = X__kernel_long_t

type X__kernel_time64_t

type X__kernel_time64_t = int64

type X__kernel_time_t

type X__kernel_time_t = X__kernel_long_t

type X__kernel_timer_t

type X__kernel_timer_t = int32

type X__kernel_uid16_t

type X__kernel_uid16_t = uint16

type X__kernel_uid32_t

type X__kernel_uid32_t = uint32

type X__kernel_uid_t

type X__kernel_uid_t = uint32

type X__kernel_ulong_t

type X__kernel_ulong_t = uint64

type X__key_t

type X__key_t = int32

type X__loff_t

type X__loff_t = X__off64_t

type X__mode_t

type X__mode_t = uint32
type X__nlink_t = uint64

type X__off64_t

type X__off64_t = int64

type X__off_t

type X__off_t = int64

type X__pid_t

type X__pid_t = int32

type X__pthread_cond_s

type X__pthread_cond_s = struct {
	F__0            struct{ F__wseq uint64 }
	F__8            struct{ F__g1_start uint64 }
	F__g_refs       [2]uint32
	F__g_size       [2]uint32
	F__g1_orig_size uint32
	F__wrefs        uint32
	F__g_signals    [2]uint32
}

type X__pthread_internal_list

type X__pthread_internal_list = struct {
	F__prev uintptr
	F__next uintptr
}

type X__pthread_internal_slist

type X__pthread_internal_slist = struct{ F__next uintptr }

type X__pthread_list_t

type X__pthread_list_t = X__pthread_internal_list

type X__pthread_mutex_s

type X__pthread_mutex_s = struct {
	F__lock    int32
	F__count   uint32
	F__owner   int32
	F__nusers  uint32
	F__kind    int32
	F__spins   int16
	F__elision int16
	F__list    X__pthread_list_t
}

type X__pthread_rwlock_arch_t

type X__pthread_rwlock_arch_t = struct {
	F__readers       uint32
	F__writers       uint32
	F__wrphase_futex uint32
	F__writers_futex uint32
	F__pad3          uint32
	F__pad4          uint32
	F__cur_writer    int32
	F__shared        int32
	F__rwelision     int8
	F__pad1          [7]uint8
	F__pad2          uint64
	F__flags         uint32
	F__ccgo_pad1     [4]byte
}

type X__pthread_slist_t

type X__pthread_slist_t = X__pthread_internal_slist

type X__quad_t

type X__quad_t = int64

type X__rlim64_t

type X__rlim64_t = uint64

type X__rlim_t

type X__rlim_t = uint64

type X__sig_atomic_t

type X__sig_atomic_t = int32

type X__sigset_t

type X__sigset_t = struct{ F__val [16]uint64 }

type X__socklen_t

type X__socklen_t = uint32

type X__ssize_t

type X__ssize_t = int64

type X__suseconds_t

type X__suseconds_t = int64

type X__syscall_slong_t

type X__syscall_slong_t = int64

type X__syscall_ulong_t

type X__syscall_ulong_t = uint64

type X__time_t

type X__time_t = int64

type X__timer_t

type X__timer_t = uintptr

type X__u_char

type X__u_char = uint8

type X__u_int

type X__u_int = uint32

type X__u_long

type X__u_long = uint64

type X__u_quad_t

type X__u_quad_t = uint64

type X__u_short

type X__u_short = uint16

type X__uid_t

type X__uid_t = uint32

type X__uint128_t

type X__uint128_t = struct {
	Flo uint64
	Fhi uint64
}

type X__uint16_t

type X__uint16_t = uint16

type X__uint32_t

type X__uint32_t = uint32

type X__uint64_t

type X__uint64_t = uint64

type X__uint8_t

type X__uint8_t = uint8

type X__uint_least16_t

type X__uint_least16_t = X__uint16_t

type X__uint_least32_t

type X__uint_least32_t = X__uint32_t

type X__uint_least64_t

type X__uint_least64_t = X__uint64_t

type X__uint_least8_t

type X__uint_least8_t = X__uint8_t

type X__uintmax_t

type X__uintmax_t = uint64

type X__useconds_t

type X__useconds_t = uint32

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL