diff options
Diffstat (limited to 'vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go')
-rw-r--r-- | vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go | 87 |
1 files changed, 69 insertions, 18 deletions
diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go b/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go index b5fe7dd..ef76a36 100644 --- a/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go +++ b/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go | |||
@@ -33,13 +33,11 @@ type Timeval struct { | |||
33 | 33 | ||
34 | type Timex struct { | 34 | type Timex struct { |
35 | Modes uint32 | 35 | Modes uint32 |
36 | _ [4]byte | ||
37 | Offset int64 | 36 | Offset int64 |
38 | Freq int64 | 37 | Freq int64 |
39 | Maxerror int64 | 38 | Maxerror int64 |
40 | Esterror int64 | 39 | Esterror int64 |
41 | Status int32 | 40 | Status int32 |
42 | _ [4]byte | ||
43 | Constant int64 | 41 | Constant int64 |
44 | Precision int64 | 42 | Precision int64 |
45 | Tolerance int64 | 43 | Tolerance int64 |
@@ -48,7 +46,6 @@ type Timex struct { | |||
48 | Ppsfreq int64 | 46 | Ppsfreq int64 |
49 | Jitter int64 | 47 | Jitter int64 |
50 | Shift int32 | 48 | Shift int32 |
51 | _ [4]byte | ||
52 | Stabil int64 | 49 | Stabil int64 |
53 | Jitcnt int64 | 50 | Jitcnt int64 |
54 | Calcnt int64 | 51 | Calcnt int64 |
@@ -163,7 +160,6 @@ type Fsid struct { | |||
163 | type Flock_t struct { | 160 | type Flock_t struct { |
164 | Type int16 | 161 | Type int16 |
165 | Whence int16 | 162 | Whence int16 |
166 | _ [4]byte | ||
167 | Start int64 | 163 | Start int64 |
168 | Len int64 | 164 | Len int64 |
169 | Pid int32 | 165 | Pid int32 |
@@ -260,7 +256,6 @@ type RawSockaddrRFCOMM struct { | |||
260 | 256 | ||
261 | type RawSockaddrCAN struct { | 257 | type RawSockaddrCAN struct { |
262 | Family uint16 | 258 | Family uint16 |
263 | _ [2]byte | ||
264 | Ifindex int32 | 259 | Ifindex int32 |
265 | Addr [8]byte | 260 | Addr [8]byte |
266 | } | 261 | } |
@@ -289,6 +284,8 @@ type RawSockaddrXDP struct { | |||
289 | Shared_umem_fd uint32 | 284 | Shared_umem_fd uint32 |
290 | } | 285 | } |
291 | 286 | ||
287 | type RawSockaddrPPPoX [0x1e]byte | ||
288 | |||
292 | type RawSockaddr struct { | 289 | type RawSockaddr struct { |
293 | Family uint16 | 290 | Family uint16 |
294 | Data [14]int8 | 291 | Data [14]int8 |
@@ -337,7 +334,6 @@ type PacketMreq struct { | |||
337 | type Msghdr struct { | 334 | type Msghdr struct { |
338 | Name *byte | 335 | Name *byte |
339 | Namelen uint32 | 336 | Namelen uint32 |
340 | _ [4]byte | ||
341 | Iov *Iovec | 337 | Iov *Iovec |
342 | Iovlen uint64 | 338 | Iovlen uint64 |
343 | Control *byte | 339 | Control *byte |
@@ -385,7 +381,6 @@ type TCPInfo struct { | |||
385 | Probes uint8 | 381 | Probes uint8 |
386 | Backoff uint8 | 382 | Backoff uint8 |
387 | Options uint8 | 383 | Options uint8 |
388 | _ [2]byte | ||
389 | Rto uint32 | 384 | Rto uint32 |
390 | Ato uint32 | 385 | Ato uint32 |
391 | Snd_mss uint32 | 386 | Snd_mss uint32 |
@@ -426,6 +421,7 @@ const ( | |||
426 | SizeofSockaddrALG = 0x58 | 421 | SizeofSockaddrALG = 0x58 |
427 | SizeofSockaddrVM = 0x10 | 422 | SizeofSockaddrVM = 0x10 |
428 | SizeofSockaddrXDP = 0x10 | 423 | SizeofSockaddrXDP = 0x10 |
424 | SizeofSockaddrPPPoX = 0x1e | ||
429 | SizeofLinger = 0x8 | 425 | SizeofLinger = 0x8 |
430 | SizeofIovec = 0x10 | 426 | SizeofIovec = 0x10 |
431 | SizeofIPMreq = 0x8 | 427 | SizeofIPMreq = 0x8 |
@@ -499,7 +495,7 @@ const ( | |||
499 | IFLA_EVENT = 0x2c | 495 | IFLA_EVENT = 0x2c |
500 | IFLA_NEW_NETNSID = 0x2d | 496 | IFLA_NEW_NETNSID = 0x2d |
501 | IFLA_IF_NETNSID = 0x2e | 497 | IFLA_IF_NETNSID = 0x2e |
502 | IFLA_MAX = 0x31 | 498 | IFLA_MAX = 0x33 |
503 | RT_SCOPE_UNIVERSE = 0x0 | 499 | RT_SCOPE_UNIVERSE = 0x0 |
504 | RT_SCOPE_SITE = 0xc8 | 500 | RT_SCOPE_SITE = 0xc8 |
505 | RT_SCOPE_LINK = 0xfd | 501 | RT_SCOPE_LINK = 0xfd |
@@ -654,7 +650,6 @@ type SockFilter struct { | |||
654 | 650 | ||
655 | type SockFprog struct { | 651 | type SockFprog struct { |
656 | Len uint16 | 652 | Len uint16 |
657 | _ [6]byte | ||
658 | Filter *SockFilter | 653 | Filter *SockFilter |
659 | } | 654 | } |
660 | 655 | ||
@@ -689,7 +684,6 @@ type Sysinfo_t struct { | |||
689 | Freeswap uint64 | 684 | Freeswap uint64 |
690 | Procs uint16 | 685 | Procs uint16 |
691 | Pad uint16 | 686 | Pad uint16 |
692 | _ [4]byte | ||
693 | Totalhigh uint64 | 687 | Totalhigh uint64 |
694 | Freehigh uint64 | 688 | Freehigh uint64 |
695 | Unit uint32 | 689 | Unit uint32 |
@@ -708,7 +702,6 @@ type Utsname struct { | |||
708 | 702 | ||
709 | type Ustat_t struct { | 703 | type Ustat_t struct { |
710 | Tfree int32 | 704 | Tfree int32 |
711 | _ [4]byte | ||
712 | Tinode uint64 | 705 | Tinode uint64 |
713 | Fname [6]int8 | 706 | Fname [6]int8 |
714 | Fpack [6]int8 | 707 | Fpack [6]int8 |
@@ -758,7 +751,30 @@ type Sigset_t struct { | |||
758 | Val [16]uint64 | 751 | Val [16]uint64 |
759 | } | 752 | } |
760 | 753 | ||
761 | const RNDGETENTCNT = 0x80045200 | 754 | type SignalfdSiginfo struct { |
755 | Signo uint32 | ||
756 | Errno int32 | ||
757 | Code int32 | ||
758 | Pid uint32 | ||
759 | Uid uint32 | ||
760 | Fd int32 | ||
761 | Tid uint32 | ||
762 | Band uint32 | ||
763 | Overrun uint32 | ||
764 | Trapno uint32 | ||
765 | Status int32 | ||
766 | Int int32 | ||
767 | Ptr uint64 | ||
768 | Utime uint64 | ||
769 | Stime uint64 | ||
770 | Addr uint64 | ||
771 | Addr_lsb uint16 | ||
772 | _ uint16 | ||
773 | Syscall int32 | ||
774 | Call_addr uint64 | ||
775 | Arch uint32 | ||
776 | _ [28]uint8 | ||
777 | } | ||
762 | 778 | ||
763 | const PERF_IOC_FLAG_GROUP = 0x1 | 779 | const PERF_IOC_FLAG_GROUP = 0x1 |
764 | 780 | ||
@@ -782,11 +798,9 @@ type Winsize struct { | |||
782 | 798 | ||
783 | type Taskstats struct { | 799 | type Taskstats struct { |
784 | Version uint16 | 800 | Version uint16 |
785 | _ [2]byte | ||
786 | Ac_exitcode uint32 | 801 | Ac_exitcode uint32 |
787 | Ac_flag uint8 | 802 | Ac_flag uint8 |
788 | Ac_nice uint8 | 803 | Ac_nice uint8 |
789 | _ [6]byte | ||
790 | Cpu_count uint64 | 804 | Cpu_count uint64 |
791 | Cpu_delay_total uint64 | 805 | Cpu_delay_total uint64 |
792 | Blkio_count uint64 | 806 | Blkio_count uint64 |
@@ -804,7 +818,6 @@ type Taskstats struct { | |||
804 | Ac_pid uint32 | 818 | Ac_pid uint32 |
805 | Ac_ppid uint32 | 819 | Ac_ppid uint32 |
806 | Ac_btime uint32 | 820 | Ac_btime uint32 |
807 | _ [4]byte | ||
808 | Ac_etime uint64 | 821 | Ac_etime uint64 |
809 | Ac_utime uint64 | 822 | Ac_utime uint64 |
810 | Ac_stime uint64 | 823 | Ac_stime uint64 |
@@ -828,6 +841,8 @@ type Taskstats struct { | |||
828 | Cpu_scaled_run_real_total uint64 | 841 | Cpu_scaled_run_real_total uint64 |
829 | Freepages_count uint64 | 842 | Freepages_count uint64 |
830 | Freepages_delay_total uint64 | 843 | Freepages_delay_total uint64 |
844 | Thrashing_count uint64 | ||
845 | Thrashing_delay_total uint64 | ||
831 | } | 846 | } |
832 | 847 | ||
833 | const ( | 848 | const ( |
@@ -1176,7 +1191,6 @@ type HDGeometry struct { | |||
1176 | Heads uint8 | 1191 | Heads uint8 |
1177 | Sectors uint8 | 1192 | Sectors uint8 |
1178 | Cylinders uint16 | 1193 | Cylinders uint16 |
1179 | _ [4]byte | ||
1180 | Start uint64 | 1194 | Start uint64 |
1181 | } | 1195 | } |
1182 | 1196 | ||
@@ -1862,7 +1876,6 @@ type RTCTime struct { | |||
1862 | type RTCWkAlrm struct { | 1876 | type RTCWkAlrm struct { |
1863 | Enabled uint8 | 1877 | Enabled uint8 |
1864 | Pending uint8 | 1878 | Pending uint8 |
1865 | _ [2]byte | ||
1866 | Time RTCTime | 1879 | Time RTCTime |
1867 | } | 1880 | } |
1868 | 1881 | ||
@@ -1880,7 +1893,6 @@ type BlkpgIoctlArg struct { | |||
1880 | Op int32 | 1893 | Op int32 |
1881 | Flags int32 | 1894 | Flags int32 |
1882 | Datalen int32 | 1895 | Datalen int32 |
1883 | _ [4]byte | ||
1884 | Data *byte | 1896 | Data *byte |
1885 | } | 1897 | } |
1886 | 1898 | ||
@@ -1966,3 +1978,42 @@ const ( | |||
1966 | NCSI_CHANNEL_ATTR_VLAN_LIST = 0x9 | 1978 | NCSI_CHANNEL_ATTR_VLAN_LIST = 0x9 |
1967 | NCSI_CHANNEL_ATTR_VLAN_ID = 0xa | 1979 | NCSI_CHANNEL_ATTR_VLAN_ID = 0xa |
1968 | ) | 1980 | ) |
1981 | |||
1982 | type ScmTimestamping struct { | ||
1983 | Ts [3]Timespec | ||
1984 | } | ||
1985 | |||
1986 | const ( | ||
1987 | SOF_TIMESTAMPING_TX_HARDWARE = 0x1 | ||
1988 | SOF_TIMESTAMPING_TX_SOFTWARE = 0x2 | ||
1989 | SOF_TIMESTAMPING_RX_HARDWARE = 0x4 | ||
1990 | SOF_TIMESTAMPING_RX_SOFTWARE = 0x8 | ||
1991 | SOF_TIMESTAMPING_SOFTWARE = 0x10 | ||
1992 | SOF_TIMESTAMPING_SYS_HARDWARE = 0x20 | ||
1993 | SOF_TIMESTAMPING_RAW_HARDWARE = 0x40 | ||
1994 | SOF_TIMESTAMPING_OPT_ID = 0x80 | ||
1995 | SOF_TIMESTAMPING_TX_SCHED = 0x100 | ||
1996 | SOF_TIMESTAMPING_TX_ACK = 0x200 | ||
1997 | SOF_TIMESTAMPING_OPT_CMSG = 0x400 | ||
1998 | SOF_TIMESTAMPING_OPT_TSONLY = 0x800 | ||
1999 | SOF_TIMESTAMPING_OPT_STATS = 0x1000 | ||
2000 | SOF_TIMESTAMPING_OPT_PKTINFO = 0x2000 | ||
2001 | SOF_TIMESTAMPING_OPT_TX_SWHW = 0x4000 | ||
2002 | |||
2003 | SOF_TIMESTAMPING_LAST = 0x4000 | ||
2004 | SOF_TIMESTAMPING_MASK = 0x7fff | ||
2005 | |||
2006 | SCM_TSTAMP_SND = 0x0 | ||
2007 | SCM_TSTAMP_SCHED = 0x1 | ||
2008 | SCM_TSTAMP_ACK = 0x2 | ||
2009 | ) | ||
2010 | |||
2011 | type SockExtendedErr struct { | ||
2012 | Errno uint32 | ||
2013 | Origin uint8 | ||
2014 | Type uint8 | ||
2015 | Code uint8 | ||
2016 | Pad uint8 | ||
2017 | Info uint32 | ||
2018 | Data uint32 | ||
2019 | } | ||