Source File
ztypes_linux_amd64.go
Belonging Package
syscall
// Created by cgo -godefs - DO NOT EDIT// cgo -godefs types_linux.go//go:build amd64 && linuxpackage syscallconst (sizeofPtr = 0x8sizeofShort = 0x2sizeofInt = 0x4sizeofLong = 0x8sizeofLongLong = 0x8PathMax = 0x1000)type (_C_short int16_C_int int32_C_long int64_C_long_long int64)type Timespec struct {Sec int64Nsec int64}type Timeval struct {Sec int64Usec int64}type Timex struct {Modes uint32Pad_cgo_0 [4]byteOffset int64Freq int64Maxerror int64Esterror int64Status int32Pad_cgo_1 [4]byteConstant int64Precision int64Tolerance int64Time TimevalTick int64Ppsfreq int64Jitter int64Shift int32Pad_cgo_2 [4]byteStabil int64Jitcnt int64Calcnt int64Errcnt int64Stbcnt int64Tai int32Pad_cgo_3 [44]byte}type Time_t int64type Tms struct {Utime int64Stime int64Cutime int64Cstime int64}type Utimbuf struct {Actime int64Modtime int64}type Rusage struct {Utime TimevalStime TimevalMaxrss int64Ixrss int64Idrss int64Isrss int64Minflt int64Majflt int64Nswap int64Inblock int64Oublock int64Msgsnd int64Msgrcv int64Nsignals int64Nvcsw int64Nivcsw int64}type Rlimit struct {Cur uint64Max uint64}type _Gid_t uint32type Stat_t struct {Dev uint64Ino uint64Nlink uint64Mode uint32Uid uint32Gid uint32X__pad0 int32Rdev uint64Size int64Blksize int64Blocks int64Atim TimespecMtim TimespecCtim TimespecX__unused [3]int64}type Statfs_t struct {Type int64Bsize int64Blocks uint64Bfree uint64Bavail uint64Files uint64Ffree uint64Fsid FsidNamelen int64Frsize int64Flags int64Spare [4]int64}type Dirent struct {Ino uint64Off int64Reclen uint16Type uint8Name [256]int8Pad_cgo_0 [5]byte}type Fsid struct {X__val [2]int32}type Flock_t struct {Type int16Whence int16Pad_cgo_0 [4]byteStart int64Len int64Pid int32Pad_cgo_1 [4]byte}type RawSockaddrInet4 struct {Family uint16Port uint16Addr [4]byte /* in_addr */Zero [8]uint8}type RawSockaddrInet6 struct {Family uint16Port uint16Flowinfo uint32Addr [16]byte /* in6_addr */Scope_id uint32}type RawSockaddrUnix struct {Family uint16Path [108]int8}type RawSockaddrLinklayer struct {Family uint16Protocol uint16Ifindex int32Hatype uint16Pkttype uint8Halen uint8Addr [8]uint8}type RawSockaddrNetlink struct {Family uint16Pad uint16Pid uint32Groups uint32}type RawSockaddr struct {Family uint16Data [14]int8}type RawSockaddrAny struct {Addr RawSockaddrPad [96]int8}type _Socklen uint32type Linger struct {Onoff int32Linger int32}type Iovec struct {Base *byteLen uint64}type IPMreq struct {Multiaddr [4]byte /* in_addr */Interface [4]byte /* in_addr */}type IPMreqn struct {Multiaddr [4]byte /* in_addr */Address [4]byte /* in_addr */Ifindex int32}type IPv6Mreq struct {Multiaddr [16]byte /* in6_addr */Interface uint32}type Msghdr struct {Name *byteNamelen uint32Pad_cgo_0 [4]byteIov *IovecIovlen uint64Control *byteControllen uint64Flags int32Pad_cgo_1 [4]byte}type Cmsghdr struct {Len uint64Level int32Type int32}type Inet4Pktinfo struct {Ifindex int32Spec_dst [4]byte /* in_addr */Addr [4]byte /* in_addr */}type Inet6Pktinfo struct {Addr [16]byte /* in6_addr */Ifindex uint32}type IPv6MTUInfo struct {Addr RawSockaddrInet6Mtu uint32}type ICMPv6Filter struct {Data [8]uint32}type Ucred struct {Pid int32Uid uint32Gid uint32}type TCPInfo struct {State uint8Ca_state uint8Retransmits uint8Probes uint8Backoff uint8Options uint8Pad_cgo_0 [2]byteRto uint32Ato uint32Snd_mss uint32Rcv_mss uint32Unacked uint32Sacked uint32Lost uint32Retrans uint32Fackets uint32Last_data_sent uint32Last_ack_sent uint32Last_data_recv uint32Last_ack_recv uint32Pmtu uint32Rcv_ssthresh uint32Rtt uint32Rttvar uint32Snd_ssthresh uint32Snd_cwnd uint32Advmss uint32Reordering uint32Rcv_rtt uint32Rcv_space uint32Total_retrans uint32}const (SizeofSockaddrInet4 = 0x10SizeofSockaddrInet6 = 0x1cSizeofSockaddrAny = 0x70SizeofSockaddrUnix = 0x6eSizeofSockaddrLinklayer = 0x14SizeofSockaddrNetlink = 0xcSizeofLinger = 0x8SizeofIPMreq = 0x8SizeofIPMreqn = 0xcSizeofIPv6Mreq = 0x14SizeofMsghdr = 0x38SizeofCmsghdr = 0x10SizeofInet4Pktinfo = 0xcSizeofInet6Pktinfo = 0x14SizeofIPv6MTUInfo = 0x20SizeofICMPv6Filter = 0x20SizeofUcred = 0xcSizeofTCPInfo = 0x68)const (IFA_UNSPEC = 0x0IFA_ADDRESS = 0x1IFA_LOCAL = 0x2IFA_LABEL = 0x3IFA_BROADCAST = 0x4IFA_ANYCAST = 0x5IFA_CACHEINFO = 0x6IFA_MULTICAST = 0x7IFLA_UNSPEC = 0x0IFLA_ADDRESS = 0x1IFLA_BROADCAST = 0x2IFLA_IFNAME = 0x3IFLA_MTU = 0x4IFLA_LINK = 0x5IFLA_QDISC = 0x6IFLA_STATS = 0x7IFLA_COST = 0x8IFLA_PRIORITY = 0x9IFLA_MASTER = 0xaIFLA_WIRELESS = 0xbIFLA_PROTINFO = 0xcIFLA_TXQLEN = 0xdIFLA_MAP = 0xeIFLA_WEIGHT = 0xfIFLA_OPERSTATE = 0x10IFLA_LINKMODE = 0x11IFLA_LINKINFO = 0x12IFLA_NET_NS_PID = 0x13IFLA_IFALIAS = 0x14IFLA_MAX = 0x1dRT_SCOPE_UNIVERSE = 0x0RT_SCOPE_SITE = 0xc8RT_SCOPE_LINK = 0xfdRT_SCOPE_HOST = 0xfeRT_SCOPE_NOWHERE = 0xffRT_TABLE_UNSPEC = 0x0RT_TABLE_COMPAT = 0xfcRT_TABLE_DEFAULT = 0xfdRT_TABLE_MAIN = 0xfeRT_TABLE_LOCAL = 0xffRT_TABLE_MAX = 0xffffffffRTA_UNSPEC = 0x0RTA_DST = 0x1RTA_SRC = 0x2RTA_IIF = 0x3RTA_OIF = 0x4RTA_GATEWAY = 0x5RTA_PRIORITY = 0x6RTA_PREFSRC = 0x7RTA_METRICS = 0x8RTA_MULTIPATH = 0x9RTA_FLOW = 0xbRTA_CACHEINFO = 0xcRTA_TABLE = 0xfRTN_UNSPEC = 0x0RTN_UNICAST = 0x1RTN_LOCAL = 0x2RTN_BROADCAST = 0x3RTN_ANYCAST = 0x4RTN_MULTICAST = 0x5RTN_BLACKHOLE = 0x6RTN_UNREACHABLE = 0x7RTN_PROHIBIT = 0x8RTN_THROW = 0x9RTN_NAT = 0xaRTN_XRESOLVE = 0xbRTNLGRP_NONE = 0x0RTNLGRP_LINK = 0x1RTNLGRP_NOTIFY = 0x2RTNLGRP_NEIGH = 0x3RTNLGRP_TC = 0x4RTNLGRP_IPV4_IFADDR = 0x5RTNLGRP_IPV4_MROUTE = 0x6RTNLGRP_IPV4_ROUTE = 0x7RTNLGRP_IPV4_RULE = 0x8RTNLGRP_IPV6_IFADDR = 0x9RTNLGRP_IPV6_MROUTE = 0xaRTNLGRP_IPV6_ROUTE = 0xbRTNLGRP_IPV6_IFINFO = 0xcRTNLGRP_IPV6_PREFIX = 0x12RTNLGRP_IPV6_RULE = 0x13RTNLGRP_ND_USEROPT = 0x14SizeofNlMsghdr = 0x10SizeofNlMsgerr = 0x14SizeofRtGenmsg = 0x1SizeofNlAttr = 0x4SizeofRtAttr = 0x4SizeofIfInfomsg = 0x10SizeofIfAddrmsg = 0x8SizeofRtMsg = 0xcSizeofRtNexthop = 0x8)type NlMsghdr struct {Len uint32Type uint16Flags uint16Seq uint32Pid uint32}type NlMsgerr struct {Error int32Msg NlMsghdr}type RtGenmsg struct {Family uint8}type NlAttr struct {Len uint16Type uint16}type RtAttr struct {Len uint16Type uint16}type IfInfomsg struct {Family uint8X__ifi_pad uint8Type uint16Index int32Flags uint32Change uint32}type IfAddrmsg struct {Family uint8Prefixlen uint8Flags uint8Scope uint8Index uint32}type RtMsg struct {Family uint8Dst_len uint8Src_len uint8Tos uint8Table uint8Protocol uint8Scope uint8Type uint8Flags uint32}type RtNexthop struct {Len uint16Flags uint8Hops uint8Ifindex int32}const (SizeofSockFilter = 0x8SizeofSockFprog = 0x10)type SockFilter struct {Code uint16Jt uint8Jf uint8K uint32}type SockFprog struct {Len uint16Pad_cgo_0 [6]byteFilter *SockFilter}type InotifyEvent struct {Wd int32Mask uint32Cookie uint32Len uint32Name [0]uint8}const SizeofInotifyEvent = 0x10type PtraceRegs struct {R15 uint64R14 uint64R13 uint64R12 uint64Rbp uint64Rbx uint64R11 uint64R10 uint64R9 uint64R8 uint64Rax uint64Rcx uint64Rdx uint64Rsi uint64Rdi uint64Orig_rax uint64Rip uint64Cs uint64Eflags uint64Rsp uint64Ss uint64Fs_base uint64Gs_base uint64Ds uint64Es uint64Fs uint64Gs uint64}type FdSet struct {Bits [16]int64}type Sysinfo_t struct {Uptime int64Loads [3]uint64Totalram uint64Freeram uint64Sharedram uint64Bufferram uint64Totalswap uint64Freeswap uint64Procs uint16Pad uint16Pad_cgo_0 [4]byteTotalhigh uint64Freehigh uint64Unit uint32X_f [0]bytePad_cgo_1 [4]byte}type Utsname struct {Sysname [65]int8Nodename [65]int8Release [65]int8Version [65]int8Machine [65]int8Domainname [65]int8}type Ustat_t struct {Tfree int32Pad_cgo_0 [4]byteTinode uint64Fname [6]int8Fpack [6]int8Pad_cgo_1 [4]byte}type EpollEvent struct {Events uint32Fd int32Pad int32}const (_AT_FDCWD = -0x64_AT_REMOVEDIR = 0x200_AT_SYMLINK_NOFOLLOW = 0x100_AT_EACCESS = 0x200)type pollFd struct {Fd int32Events int16Revents int16}type Termios struct {Iflag uint32Oflag uint32Cflag uint32Lflag uint32Line uint8Cc [32]uint8Pad_cgo_0 [3]byteIspeed uint32Ospeed uint32}const (VINTR = 0x0VQUIT = 0x1VERASE = 0x2VKILL = 0x3VEOF = 0x4VTIME = 0x5VMIN = 0x6VSWTC = 0x7VSTART = 0x8VSTOP = 0x9VSUSP = 0xaVEOL = 0xbVREPRINT = 0xcVDISCARD = 0xdVWERASE = 0xeVLNEXT = 0xfVEOL2 = 0x10IGNBRK = 0x1BRKINT = 0x2IGNPAR = 0x4PARMRK = 0x8INPCK = 0x10ISTRIP = 0x20INLCR = 0x40IGNCR = 0x80ICRNL = 0x100IUCLC = 0x200IXON = 0x400IXANY = 0x800IXOFF = 0x1000IMAXBEL = 0x2000IUTF8 = 0x4000OPOST = 0x1OLCUC = 0x2ONLCR = 0x4OCRNL = 0x8ONOCR = 0x10ONLRET = 0x20OFILL = 0x40OFDEL = 0x80B0 = 0x0B50 = 0x1B75 = 0x2B110 = 0x3B134 = 0x4B150 = 0x5B200 = 0x6B300 = 0x7B600 = 0x8B1200 = 0x9B1800 = 0xaB2400 = 0xbB4800 = 0xcB9600 = 0xdB19200 = 0xeB38400 = 0xfCSIZE = 0x30CS5 = 0x0CS6 = 0x10CS7 = 0x20CS8 = 0x30CSTOPB = 0x40CREAD = 0x80PARENB = 0x100PARODD = 0x200HUPCL = 0x400CLOCAL = 0x800B57600 = 0x1001B115200 = 0x1002B230400 = 0x1003B460800 = 0x1004B500000 = 0x1005B576000 = 0x1006B921600 = 0x1007B1000000 = 0x1008B1152000 = 0x1009B1500000 = 0x100aB2000000 = 0x100bB2500000 = 0x100cB3000000 = 0x100dB3500000 = 0x100eB4000000 = 0x100fISIG = 0x1ICANON = 0x2XCASE = 0x4ECHO = 0x8ECHOE = 0x10ECHOK = 0x20ECHONL = 0x40NOFLSH = 0x80TOSTOP = 0x100ECHOCTL = 0x200ECHOPRT = 0x400ECHOKE = 0x800FLUSHO = 0x1000PENDIN = 0x4000IEXTEN = 0x8000TCGETS = 0x5401TCSETS = 0x5402)
![]() |
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |