aboutsummaryrefslogtreecommitdiffhomepage
path: root/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go
diff options
context:
space:
mode:
authorNathan Dench <ndenc2@gmail.com>2019-05-24 15:16:44 +1000
committerNathan Dench <ndenc2@gmail.com>2019-05-24 15:16:44 +1000
commit107c1cdb09c575aa2f61d97f48d8587eb6bada4c (patch)
treeca7d008643efc555c388baeaf1d986e0b6b3e28c /vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go
parent844b5a68d8af4791755b8f0ad293cc99f5959183 (diff)
downloadterraform-provider-statuscake-107c1cdb09c575aa2f61d97f48d8587eb6bada4c.tar.gz
terraform-provider-statuscake-107c1cdb09c575aa2f61d97f48d8587eb6bada4c.tar.zst
terraform-provider-statuscake-107c1cdb09c575aa2f61d97f48d8587eb6bada4c.zip
Upgrade to 0.12
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.go636
1 files changed, 477 insertions, 159 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 d7a993e..66dba9a 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
34type Timex struct { 34type 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 {
163type Flock_t struct { 160type 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
261type RawSockaddrCAN struct { 257type 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
287type RawSockaddrPPPoX [0x1e]byte
288
292type RawSockaddr struct { 289type RawSockaddr struct {
293 Family uint16 290 Family uint16
294 Data [14]int8 291 Data [14]int8
@@ -337,7 +334,6 @@ type PacketMreq struct {
337type Msghdr struct { 334type 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
@@ -412,6 +407,11 @@ type TCPInfo struct {
412 Total_retrans uint32 407 Total_retrans uint32
413} 408}
414 409
410type CanFilter struct {
411 Id uint32
412 Mask uint32
413}
414
415const ( 415const (
416 SizeofSockaddrInet4 = 0x10 416 SizeofSockaddrInet4 = 0x10
417 SizeofSockaddrInet6 = 0x1c 417 SizeofSockaddrInet6 = 0x1c
@@ -426,6 +426,7 @@ const (
426 SizeofSockaddrALG = 0x58 426 SizeofSockaddrALG = 0x58
427 SizeofSockaddrVM = 0x10 427 SizeofSockaddrVM = 0x10
428 SizeofSockaddrXDP = 0x10 428 SizeofSockaddrXDP = 0x10
429 SizeofSockaddrPPPoX = 0x1e
429 SizeofLinger = 0x8 430 SizeofLinger = 0x8
430 SizeofIovec = 0x10 431 SizeofIovec = 0x10
431 SizeofIPMreq = 0x8 432 SizeofIPMreq = 0x8
@@ -440,141 +441,185 @@ const (
440 SizeofICMPv6Filter = 0x20 441 SizeofICMPv6Filter = 0x20
441 SizeofUcred = 0xc 442 SizeofUcred = 0xc
442 SizeofTCPInfo = 0x68 443 SizeofTCPInfo = 0x68
444 SizeofCanFilter = 0x8
443) 445)
444 446
445const ( 447const (
446 IFA_UNSPEC = 0x0 448 NDA_UNSPEC = 0x0
447 IFA_ADDRESS = 0x1 449 NDA_DST = 0x1
448 IFA_LOCAL = 0x2 450 NDA_LLADDR = 0x2
449 IFA_LABEL = 0x3 451 NDA_CACHEINFO = 0x3
450 IFA_BROADCAST = 0x4 452 NDA_PROBES = 0x4
451 IFA_ANYCAST = 0x5 453 NDA_VLAN = 0x5
452 IFA_CACHEINFO = 0x6 454 NDA_PORT = 0x6
453 IFA_MULTICAST = 0x7 455 NDA_VNI = 0x7
454 IFLA_UNSPEC = 0x0 456 NDA_IFINDEX = 0x8
455 IFLA_ADDRESS = 0x1 457 NDA_MASTER = 0x9
456 IFLA_BROADCAST = 0x2 458 NDA_LINK_NETNSID = 0xa
457 IFLA_IFNAME = 0x3 459 NDA_SRC_VNI = 0xb
458 IFLA_INFO_KIND = 0x1 460 NTF_USE = 0x1
459 IFLA_MTU = 0x4 461 NTF_SELF = 0x2
460 IFLA_LINK = 0x5 462 NTF_MASTER = 0x4
461 IFLA_QDISC = 0x6 463 NTF_PROXY = 0x8
462 IFLA_STATS = 0x7 464 NTF_EXT_LEARNED = 0x10
463 IFLA_COST = 0x8 465 NTF_OFFLOADED = 0x20
464 IFLA_PRIORITY = 0x9 466 NTF_ROUTER = 0x80
465 IFLA_MASTER = 0xa 467 NUD_INCOMPLETE = 0x1
466 IFLA_WIRELESS = 0xb 468 NUD_REACHABLE = 0x2
467 IFLA_PROTINFO = 0xc 469 NUD_STALE = 0x4
468 IFLA_TXQLEN = 0xd 470 NUD_DELAY = 0x8
469 IFLA_MAP = 0xe 471 NUD_PROBE = 0x10
470 IFLA_WEIGHT = 0xf 472 NUD_FAILED = 0x20
471 IFLA_OPERSTATE = 0x10 473 NUD_NOARP = 0x40
472 IFLA_LINKMODE = 0x11 474 NUD_PERMANENT = 0x80
473 IFLA_LINKINFO = 0x12 475 NUD_NONE = 0x0
474 IFLA_NET_NS_PID = 0x13 476 IFA_UNSPEC = 0x0
475 IFLA_IFALIAS = 0x14 477 IFA_ADDRESS = 0x1
476 IFLA_NUM_VF = 0x15 478 IFA_LOCAL = 0x2
477 IFLA_VFINFO_LIST = 0x16 479 IFA_LABEL = 0x3
478 IFLA_STATS64 = 0x17 480 IFA_BROADCAST = 0x4
479 IFLA_VF_PORTS = 0x18 481 IFA_ANYCAST = 0x5
480 IFLA_PORT_SELF = 0x19 482 IFA_CACHEINFO = 0x6
481 IFLA_AF_SPEC = 0x1a 483 IFA_MULTICAST = 0x7
482 IFLA_GROUP = 0x1b 484 IFA_FLAGS = 0x8
483 IFLA_NET_NS_FD = 0x1c 485 IFA_RT_PRIORITY = 0x9
484 IFLA_EXT_MASK = 0x1d 486 IFA_TARGET_NETNSID = 0xa
485 IFLA_PROMISCUITY = 0x1e 487 IFLA_UNSPEC = 0x0
486 IFLA_NUM_TX_QUEUES = 0x1f 488 IFLA_ADDRESS = 0x1
487 IFLA_NUM_RX_QUEUES = 0x20 489 IFLA_BROADCAST = 0x2
488 IFLA_CARRIER = 0x21 490 IFLA_IFNAME = 0x3
489 IFLA_PHYS_PORT_ID = 0x22 491 IFLA_MTU = 0x4
490 IFLA_CARRIER_CHANGES = 0x23 492 IFLA_LINK = 0x5
491 IFLA_PHYS_SWITCH_ID = 0x24 493 IFLA_QDISC = 0x6
492 IFLA_LINK_NETNSID = 0x25 494 IFLA_STATS = 0x7
493 IFLA_PHYS_PORT_NAME = 0x26 495 IFLA_COST = 0x8
494 IFLA_PROTO_DOWN = 0x27 496 IFLA_PRIORITY = 0x9
495 IFLA_GSO_MAX_SEGS = 0x28 497 IFLA_MASTER = 0xa
496 IFLA_GSO_MAX_SIZE = 0x29 498 IFLA_WIRELESS = 0xb
497 IFLA_PAD = 0x2a 499 IFLA_PROTINFO = 0xc
498 IFLA_XDP = 0x2b 500 IFLA_TXQLEN = 0xd
499 IFLA_EVENT = 0x2c 501 IFLA_MAP = 0xe
500 IFLA_NEW_NETNSID = 0x2d 502 IFLA_WEIGHT = 0xf
501 IFLA_IF_NETNSID = 0x2e 503 IFLA_OPERSTATE = 0x10
502 IFLA_MAX = 0x33 504 IFLA_LINKMODE = 0x11
503 RT_SCOPE_UNIVERSE = 0x0 505 IFLA_LINKINFO = 0x12
504 RT_SCOPE_SITE = 0xc8 506 IFLA_NET_NS_PID = 0x13
505 RT_SCOPE_LINK = 0xfd 507 IFLA_IFALIAS = 0x14
506 RT_SCOPE_HOST = 0xfe 508 IFLA_NUM_VF = 0x15
507 RT_SCOPE_NOWHERE = 0xff 509 IFLA_VFINFO_LIST = 0x16
508 RT_TABLE_UNSPEC = 0x0 510 IFLA_STATS64 = 0x17
509 RT_TABLE_COMPAT = 0xfc 511 IFLA_VF_PORTS = 0x18
510 RT_TABLE_DEFAULT = 0xfd 512 IFLA_PORT_SELF = 0x19
511 RT_TABLE_MAIN = 0xfe 513 IFLA_AF_SPEC = 0x1a
512 RT_TABLE_LOCAL = 0xff 514 IFLA_GROUP = 0x1b
513 RT_TABLE_MAX = 0xffffffff 515 IFLA_NET_NS_FD = 0x1c
514 RTA_UNSPEC = 0x0 516 IFLA_EXT_MASK = 0x1d
515 RTA_DST = 0x1 517 IFLA_PROMISCUITY = 0x1e
516 RTA_SRC = 0x2 518 IFLA_NUM_TX_QUEUES = 0x1f
517 RTA_IIF = 0x3 519 IFLA_NUM_RX_QUEUES = 0x20
518 RTA_OIF = 0x4 520 IFLA_CARRIER = 0x21
519 RTA_GATEWAY = 0x5 521 IFLA_PHYS_PORT_ID = 0x22
520 RTA_PRIORITY = 0x6 522 IFLA_CARRIER_CHANGES = 0x23
521 RTA_PREFSRC = 0x7 523 IFLA_PHYS_SWITCH_ID = 0x24
522 RTA_METRICS = 0x8 524 IFLA_LINK_NETNSID = 0x25
523 RTA_MULTIPATH = 0x9 525 IFLA_PHYS_PORT_NAME = 0x26
524 RTA_FLOW = 0xb 526 IFLA_PROTO_DOWN = 0x27
525 RTA_CACHEINFO = 0xc 527 IFLA_GSO_MAX_SEGS = 0x28
526 RTA_TABLE = 0xf 528 IFLA_GSO_MAX_SIZE = 0x29
527 RTA_MARK = 0x10 529 IFLA_PAD = 0x2a
528 RTA_MFC_STATS = 0x11 530 IFLA_XDP = 0x2b
529 RTA_VIA = 0x12 531 IFLA_EVENT = 0x2c
530 RTA_NEWDST = 0x13 532 IFLA_NEW_NETNSID = 0x2d
531 RTA_PREF = 0x14 533 IFLA_IF_NETNSID = 0x2e
532 RTA_ENCAP_TYPE = 0x15 534 IFLA_TARGET_NETNSID = 0x2e
533 RTA_ENCAP = 0x16 535 IFLA_CARRIER_UP_COUNT = 0x2f
534 RTA_EXPIRES = 0x17 536 IFLA_CARRIER_DOWN_COUNT = 0x30
535 RTA_PAD = 0x18 537 IFLA_NEW_IFINDEX = 0x31
536 RTA_UID = 0x19 538 IFLA_MIN_MTU = 0x32
537 RTA_TTL_PROPAGATE = 0x1a 539 IFLA_MAX_MTU = 0x33
538 RTA_IP_PROTO = 0x1b 540 IFLA_MAX = 0x33
539 RTA_SPORT = 0x1c 541 IFLA_INFO_KIND = 0x1
540 RTA_DPORT = 0x1d 542 IFLA_INFO_DATA = 0x2
541 RTN_UNSPEC = 0x0 543 IFLA_INFO_XSTATS = 0x3
542 RTN_UNICAST = 0x1 544 IFLA_INFO_SLAVE_KIND = 0x4
543 RTN_LOCAL = 0x2 545 IFLA_INFO_SLAVE_DATA = 0x5
544 RTN_BROADCAST = 0x3 546 RT_SCOPE_UNIVERSE = 0x0
545 RTN_ANYCAST = 0x4 547 RT_SCOPE_SITE = 0xc8
546 RTN_MULTICAST = 0x5 548 RT_SCOPE_LINK = 0xfd
547 RTN_BLACKHOLE = 0x6 549 RT_SCOPE_HOST = 0xfe
548 RTN_UNREACHABLE = 0x7 550 RT_SCOPE_NOWHERE = 0xff
549 RTN_PROHIBIT = 0x8 551 RT_TABLE_UNSPEC = 0x0
550 RTN_THROW = 0x9 552 RT_TABLE_COMPAT = 0xfc
551 RTN_NAT = 0xa 553 RT_TABLE_DEFAULT = 0xfd
552 RTN_XRESOLVE = 0xb 554 RT_TABLE_MAIN = 0xfe
553 RTNLGRP_NONE = 0x0 555 RT_TABLE_LOCAL = 0xff
554 RTNLGRP_LINK = 0x1 556 RT_TABLE_MAX = 0xffffffff
555 RTNLGRP_NOTIFY = 0x2 557 RTA_UNSPEC = 0x0
556 RTNLGRP_NEIGH = 0x3 558 RTA_DST = 0x1
557 RTNLGRP_TC = 0x4 559 RTA_SRC = 0x2
558 RTNLGRP_IPV4_IFADDR = 0x5 560 RTA_IIF = 0x3
559 RTNLGRP_IPV4_MROUTE = 0x6 561 RTA_OIF = 0x4
560 RTNLGRP_IPV4_ROUTE = 0x7 562 RTA_GATEWAY = 0x5
561 RTNLGRP_IPV4_RULE = 0x8 563 RTA_PRIORITY = 0x6
562 RTNLGRP_IPV6_IFADDR = 0x9 564 RTA_PREFSRC = 0x7
563 RTNLGRP_IPV6_MROUTE = 0xa 565 RTA_METRICS = 0x8
564 RTNLGRP_IPV6_ROUTE = 0xb 566 RTA_MULTIPATH = 0x9
565 RTNLGRP_IPV6_IFINFO = 0xc 567 RTA_FLOW = 0xb
566 RTNLGRP_IPV6_PREFIX = 0x12 568 RTA_CACHEINFO = 0xc
567 RTNLGRP_IPV6_RULE = 0x13 569 RTA_TABLE = 0xf
568 RTNLGRP_ND_USEROPT = 0x14 570 RTA_MARK = 0x10
569 SizeofNlMsghdr = 0x10 571 RTA_MFC_STATS = 0x11
570 SizeofNlMsgerr = 0x14 572 RTA_VIA = 0x12
571 SizeofRtGenmsg = 0x1 573 RTA_NEWDST = 0x13
572 SizeofNlAttr = 0x4 574 RTA_PREF = 0x14
573 SizeofRtAttr = 0x4 575 RTA_ENCAP_TYPE = 0x15
574 SizeofIfInfomsg = 0x10 576 RTA_ENCAP = 0x16
575 SizeofIfAddrmsg = 0x8 577 RTA_EXPIRES = 0x17
576 SizeofRtMsg = 0xc 578 RTA_PAD = 0x18
577 SizeofRtNexthop = 0x8 579 RTA_UID = 0x19
580 RTA_TTL_PROPAGATE = 0x1a
581 RTA_IP_PROTO = 0x1b
582 RTA_SPORT = 0x1c
583 RTA_DPORT = 0x1d
584 RTN_UNSPEC = 0x0
585 RTN_UNICAST = 0x1
586 RTN_LOCAL = 0x2
587 RTN_BROADCAST = 0x3
588 RTN_ANYCAST = 0x4
589 RTN_MULTICAST = 0x5
590 RTN_BLACKHOLE = 0x6
591 RTN_UNREACHABLE = 0x7
592 RTN_PROHIBIT = 0x8
593 RTN_THROW = 0x9
594 RTN_NAT = 0xa
595 RTN_XRESOLVE = 0xb
596 RTNLGRP_NONE = 0x0
597 RTNLGRP_LINK = 0x1
598 RTNLGRP_NOTIFY = 0x2
599 RTNLGRP_NEIGH = 0x3
600 RTNLGRP_TC = 0x4
601 RTNLGRP_IPV4_IFADDR = 0x5
602 RTNLGRP_IPV4_MROUTE = 0x6
603 RTNLGRP_IPV4_ROUTE = 0x7
604 RTNLGRP_IPV4_RULE = 0x8
605 RTNLGRP_IPV6_IFADDR = 0x9
606 RTNLGRP_IPV6_MROUTE = 0xa
607 RTNLGRP_IPV6_ROUTE = 0xb
608 RTNLGRP_IPV6_IFINFO = 0xc
609 RTNLGRP_IPV6_PREFIX = 0x12
610 RTNLGRP_IPV6_RULE = 0x13
611 RTNLGRP_ND_USEROPT = 0x14
612 SizeofNlMsghdr = 0x10
613 SizeofNlMsgerr = 0x14
614 SizeofRtGenmsg = 0x1
615 SizeofNlAttr = 0x4
616 SizeofRtAttr = 0x4
617 SizeofIfInfomsg = 0x10
618 SizeofIfAddrmsg = 0x8
619 SizeofRtMsg = 0xc
620 SizeofRtNexthop = 0x8
621 SizeofNdUseroptmsg = 0x10
622 SizeofNdMsg = 0xc
578) 623)
579 624
580type NlMsghdr struct { 625type NlMsghdr struct {
@@ -640,6 +685,27 @@ type RtNexthop struct {
640 Ifindex int32 685 Ifindex int32
641} 686}
642 687
688type NdUseroptmsg struct {
689 Family uint8
690 Pad1 uint8
691 Opts_len uint16
692 Ifindex int32
693 Icmp_type uint8
694 Icmp_code uint8
695 Pad2 uint16
696 Pad3 uint32
697}
698
699type NdMsg struct {
700 Family uint8
701 Pad1 uint8
702 Pad2 uint16
703 Ifindex int32
704 State uint16
705 Flags uint8
706 Type uint8
707}
708
643const ( 709const (
644 SizeofSockFilter = 0x8 710 SizeofSockFilter = 0x8
645 SizeofSockFprog = 0x10 711 SizeofSockFprog = 0x10
@@ -654,7 +720,6 @@ type SockFilter struct {
654 720
655type SockFprog struct { 721type SockFprog struct {
656 Len uint16 722 Len uint16
657 _ [6]byte
658 Filter *SockFilter 723 Filter *SockFilter
659} 724}
660 725
@@ -689,7 +754,6 @@ type Sysinfo_t struct {
689 Freeswap uint64 754 Freeswap uint64
690 Procs uint16 755 Procs uint16
691 Pad uint16 756 Pad uint16
692 _ [4]byte
693 Totalhigh uint64 757 Totalhigh uint64
694 Freehigh uint64 758 Freehigh uint64
695 Unit uint32 759 Unit uint32
@@ -708,7 +772,6 @@ type Utsname struct {
708 772
709type Ustat_t struct { 773type Ustat_t struct {
710 Tfree int32 774 Tfree int32
711 _ [4]byte
712 Tinode uint64 775 Tinode uint64
713 Fname [6]int8 776 Fname [6]int8
714 Fpack [6]int8 777 Fpack [6]int8
@@ -758,7 +821,30 @@ type Sigset_t struct {
758 Val [16]uint64 821 Val [16]uint64
759} 822}
760 823
761const RNDGETENTCNT = 0x80045200 824type SignalfdSiginfo struct {
825 Signo uint32
826 Errno int32
827 Code int32
828 Pid uint32
829 Uid uint32
830 Fd int32
831 Tid uint32
832 Band uint32
833 Overrun uint32
834 Trapno uint32
835 Status int32
836 Int int32
837 Ptr uint64
838 Utime uint64
839 Stime uint64
840 Addr uint64
841 Addr_lsb uint16
842 _ uint16
843 Syscall int32
844 Call_addr uint64
845 Arch uint32
846 _ [28]uint8
847}
762 848
763const PERF_IOC_FLAG_GROUP = 0x1 849const PERF_IOC_FLAG_GROUP = 0x1
764 850
@@ -782,11 +868,9 @@ type Winsize struct {
782 868
783type Taskstats struct { 869type Taskstats struct {
784 Version uint16 870 Version uint16
785 _ [2]byte
786 Ac_exitcode uint32 871 Ac_exitcode uint32
787 Ac_flag uint8 872 Ac_flag uint8
788 Ac_nice uint8 873 Ac_nice uint8
789 _ [6]byte
790 Cpu_count uint64 874 Cpu_count uint64
791 Cpu_delay_total uint64 875 Cpu_delay_total uint64
792 Blkio_count uint64 876 Blkio_count uint64
@@ -804,7 +888,6 @@ type Taskstats struct {
804 Ac_pid uint32 888 Ac_pid uint32
805 Ac_ppid uint32 889 Ac_ppid uint32
806 Ac_btime uint32 890 Ac_btime uint32
807 _ [4]byte
808 Ac_etime uint64 891 Ac_etime uint64
809 Ac_utime uint64 892 Ac_utime uint64
810 Ac_stime uint64 893 Ac_stime uint64
@@ -828,6 +911,8 @@ type Taskstats struct {
828 Cpu_scaled_run_real_total uint64 911 Cpu_scaled_run_real_total uint64
829 Freepages_count uint64 912 Freepages_count uint64
830 Freepages_delay_total uint64 913 Freepages_delay_total uint64
914 Thrashing_count uint64
915 Thrashing_delay_total uint64
831} 916}
832 917
833const ( 918const (
@@ -930,7 +1015,8 @@ type PerfEventAttr struct {
930 Clockid int32 1015 Clockid int32
931 Sample_regs_intr uint64 1016 Sample_regs_intr uint64
932 Aux_watermark uint32 1017 Aux_watermark uint32
933 _ uint32 1018 Sample_max_stack uint16
1019 _ uint16
934} 1020}
935 1021
936type PerfEventMmapPage struct { 1022type PerfEventMmapPage struct {
@@ -1033,6 +1119,7 @@ const (
1033 PERF_COUNT_SW_ALIGNMENT_FAULTS = 0x7 1119 PERF_COUNT_SW_ALIGNMENT_FAULTS = 0x7
1034 PERF_COUNT_SW_EMULATION_FAULTS = 0x8 1120 PERF_COUNT_SW_EMULATION_FAULTS = 0x8
1035 PERF_COUNT_SW_DUMMY = 0x9 1121 PERF_COUNT_SW_DUMMY = 0x9
1122 PERF_COUNT_SW_BPF_OUTPUT = 0xa
1036 1123
1037 PERF_SAMPLE_IP = 0x1 1124 PERF_SAMPLE_IP = 0x1
1038 PERF_SAMPLE_TID = 0x2 1125 PERF_SAMPLE_TID = 0x2
@@ -1054,21 +1141,38 @@ const (
1054 PERF_SAMPLE_BRANCH_ANY_CALL = 0x10 1141 PERF_SAMPLE_BRANCH_ANY_CALL = 0x10
1055 PERF_SAMPLE_BRANCH_ANY_RETURN = 0x20 1142 PERF_SAMPLE_BRANCH_ANY_RETURN = 0x20
1056 PERF_SAMPLE_BRANCH_IND_CALL = 0x40 1143 PERF_SAMPLE_BRANCH_IND_CALL = 0x40
1144 PERF_SAMPLE_BRANCH_ABORT_TX = 0x80
1145 PERF_SAMPLE_BRANCH_IN_TX = 0x100
1146 PERF_SAMPLE_BRANCH_NO_TX = 0x200
1147 PERF_SAMPLE_BRANCH_COND = 0x400
1148 PERF_SAMPLE_BRANCH_CALL_STACK = 0x800
1149 PERF_SAMPLE_BRANCH_IND_JUMP = 0x1000
1150 PERF_SAMPLE_BRANCH_CALL = 0x2000
1151 PERF_SAMPLE_BRANCH_NO_FLAGS = 0x4000
1152 PERF_SAMPLE_BRANCH_NO_CYCLES = 0x8000
1153 PERF_SAMPLE_BRANCH_TYPE_SAVE = 0x10000
1057 1154
1058 PERF_FORMAT_TOTAL_TIME_ENABLED = 0x1 1155 PERF_FORMAT_TOTAL_TIME_ENABLED = 0x1
1059 PERF_FORMAT_TOTAL_TIME_RUNNING = 0x2 1156 PERF_FORMAT_TOTAL_TIME_RUNNING = 0x2
1060 PERF_FORMAT_ID = 0x4 1157 PERF_FORMAT_ID = 0x4
1061 PERF_FORMAT_GROUP = 0x8 1158 PERF_FORMAT_GROUP = 0x8
1062 1159
1063 PERF_RECORD_MMAP = 0x1 1160 PERF_RECORD_MMAP = 0x1
1064 PERF_RECORD_LOST = 0x2 1161 PERF_RECORD_LOST = 0x2
1065 PERF_RECORD_COMM = 0x3 1162 PERF_RECORD_COMM = 0x3
1066 PERF_RECORD_EXIT = 0x4 1163 PERF_RECORD_EXIT = 0x4
1067 PERF_RECORD_THROTTLE = 0x5 1164 PERF_RECORD_THROTTLE = 0x5
1068 PERF_RECORD_UNTHROTTLE = 0x6 1165 PERF_RECORD_UNTHROTTLE = 0x6
1069 PERF_RECORD_FORK = 0x7 1166 PERF_RECORD_FORK = 0x7
1070 PERF_RECORD_READ = 0x8 1167 PERF_RECORD_READ = 0x8
1071 PERF_RECORD_SAMPLE = 0x9 1168 PERF_RECORD_SAMPLE = 0x9
1169 PERF_RECORD_MMAP2 = 0xa
1170 PERF_RECORD_AUX = 0xb
1171 PERF_RECORD_ITRACE_START = 0xc
1172 PERF_RECORD_LOST_SAMPLES = 0xd
1173 PERF_RECORD_SWITCH = 0xe
1174 PERF_RECORD_SWITCH_CPU_WIDE = 0xf
1175 PERF_RECORD_NAMESPACES = 0x10
1072 1176
1073 PERF_CONTEXT_HV = -0x20 1177 PERF_CONTEXT_HV = -0x20
1074 PERF_CONTEXT_KERNEL = -0x80 1178 PERF_CONTEXT_KERNEL = -0x80
@@ -1081,6 +1185,7 @@ const (
1081 PERF_FLAG_FD_NO_GROUP = 0x1 1185 PERF_FLAG_FD_NO_GROUP = 0x1
1082 PERF_FLAG_FD_OUTPUT = 0x2 1186 PERF_FLAG_FD_OUTPUT = 0x2
1083 PERF_FLAG_PID_CGROUP = 0x4 1187 PERF_FLAG_PID_CGROUP = 0x4
1188 PERF_FLAG_FD_CLOEXEC = 0x8
1084) 1189)
1085 1190
1086const ( 1191const (
@@ -1176,7 +1281,6 @@ type HDGeometry struct {
1176 Heads uint8 1281 Heads uint8
1177 Sectors uint8 1282 Sectors uint8
1178 Cylinders uint16 1283 Cylinders uint16
1179 _ [4]byte
1180 Start uint64 1284 Start uint64
1181} 1285}
1182 1286
@@ -1339,6 +1443,21 @@ type TpacketBlockDesc struct {
1339 Hdr [40]byte 1443 Hdr [40]byte
1340} 1444}
1341 1445
1446type TpacketBDTS struct {
1447 Sec uint32
1448 Usec uint32
1449}
1450
1451type TpacketHdrV1 struct {
1452 Block_status uint32
1453 Num_pkts uint32
1454 Offset_to_first_pkt uint32
1455 Blk_len uint32
1456 Seq_num uint64
1457 Ts_first_pkt TpacketBDTS
1458 Ts_last_pkt TpacketBDTS
1459}
1460
1342type TpacketReq struct { 1461type TpacketReq struct {
1343 Block_size uint32 1462 Block_size uint32
1344 Block_nr uint32 1463 Block_nr uint32
@@ -1387,6 +1506,9 @@ const (
1387 SizeofTpacketHdr = 0x20 1506 SizeofTpacketHdr = 0x20
1388 SizeofTpacket2Hdr = 0x20 1507 SizeofTpacket2Hdr = 0x20
1389 SizeofTpacket3Hdr = 0x30 1508 SizeofTpacket3Hdr = 0x30
1509
1510 SizeofTpacketStats = 0x8
1511 SizeofTpacketStatsV3 = 0xc
1390) 1512)
1391 1513
1392const ( 1514const (
@@ -1862,7 +1984,6 @@ type RTCTime struct {
1862type RTCWkAlrm struct { 1984type RTCWkAlrm struct {
1863 Enabled uint8 1985 Enabled uint8
1864 Pending uint8 1986 Pending uint8
1865 _ [2]byte
1866 Time RTCTime 1987 Time RTCTime
1867} 1988}
1868 1989
@@ -1880,7 +2001,6 @@ type BlkpgIoctlArg struct {
1880 Op int32 2001 Op int32
1881 Flags int32 2002 Flags int32
1882 Datalen int32 2003 Datalen int32
1883 _ [4]byte
1884 Data *byte 2004 Data *byte
1885} 2005}
1886 2006
@@ -1967,6 +2087,10 @@ const (
1967 NCSI_CHANNEL_ATTR_VLAN_ID = 0xa 2087 NCSI_CHANNEL_ATTR_VLAN_ID = 0xa
1968) 2088)
1969 2089
2090type ScmTimestamping struct {
2091 Ts [3]Timespec
2092}
2093
1970const ( 2094const (
1971 SOF_TIMESTAMPING_TX_HARDWARE = 0x1 2095 SOF_TIMESTAMPING_TX_HARDWARE = 0x1
1972 SOF_TIMESTAMPING_TX_SOFTWARE = 0x2 2096 SOF_TIMESTAMPING_TX_SOFTWARE = 0x2
@@ -1986,4 +2110,198 @@ const (
1986 2110
1987 SOF_TIMESTAMPING_LAST = 0x4000 2111 SOF_TIMESTAMPING_LAST = 0x4000
1988 SOF_TIMESTAMPING_MASK = 0x7fff 2112 SOF_TIMESTAMPING_MASK = 0x7fff
2113
2114 SCM_TSTAMP_SND = 0x0
2115 SCM_TSTAMP_SCHED = 0x1
2116 SCM_TSTAMP_ACK = 0x2
2117)
2118
2119type SockExtendedErr struct {
2120 Errno uint32
2121 Origin uint8
2122 Type uint8
2123 Code uint8
2124 Pad uint8
2125 Info uint32
2126 Data uint32
2127}
2128
2129type FanotifyEventMetadata struct {
2130 Event_len uint32
2131 Vers uint8
2132 Reserved uint8
2133 Metadata_len uint16
2134 Mask uint64
2135 Fd int32
2136 Pid int32
2137}
2138
2139type FanotifyResponse struct {
2140 Fd int32
2141 Response uint32
2142}
2143
2144const (
2145 CRYPTO_MSG_BASE = 0x10
2146 CRYPTO_MSG_NEWALG = 0x10
2147 CRYPTO_MSG_DELALG = 0x11
2148 CRYPTO_MSG_UPDATEALG = 0x12
2149 CRYPTO_MSG_GETALG = 0x13
2150 CRYPTO_MSG_DELRNG = 0x14
2151 CRYPTO_MSG_GETSTAT = 0x15
1989) 2152)
2153
2154const (
2155 CRYPTOCFGA_UNSPEC = 0x0
2156 CRYPTOCFGA_PRIORITY_VAL = 0x1
2157 CRYPTOCFGA_REPORT_LARVAL = 0x2
2158 CRYPTOCFGA_REPORT_HASH = 0x3
2159 CRYPTOCFGA_REPORT_BLKCIPHER = 0x4
2160 CRYPTOCFGA_REPORT_AEAD = 0x5
2161 CRYPTOCFGA_REPORT_COMPRESS = 0x6
2162 CRYPTOCFGA_REPORT_RNG = 0x7
2163 CRYPTOCFGA_REPORT_CIPHER = 0x8
2164 CRYPTOCFGA_REPORT_AKCIPHER = 0x9
2165 CRYPTOCFGA_REPORT_KPP = 0xa
2166 CRYPTOCFGA_REPORT_ACOMP = 0xb
2167 CRYPTOCFGA_STAT_LARVAL = 0xc
2168 CRYPTOCFGA_STAT_HASH = 0xd
2169 CRYPTOCFGA_STAT_BLKCIPHER = 0xe
2170 CRYPTOCFGA_STAT_AEAD = 0xf
2171 CRYPTOCFGA_STAT_COMPRESS = 0x10
2172 CRYPTOCFGA_STAT_RNG = 0x11
2173 CRYPTOCFGA_STAT_CIPHER = 0x12
2174 CRYPTOCFGA_STAT_AKCIPHER = 0x13
2175 CRYPTOCFGA_STAT_KPP = 0x14
2176 CRYPTOCFGA_STAT_ACOMP = 0x15
2177)
2178
2179type CryptoUserAlg struct {
2180 Name [64]int8
2181 Driver_name [64]int8
2182 Module_name [64]int8
2183 Type uint32
2184 Mask uint32
2185 Refcnt uint32
2186 Flags uint32
2187}
2188
2189type CryptoStatAEAD struct {
2190 Type [64]int8
2191 Encrypt_cnt uint64
2192 Encrypt_tlen uint64
2193 Decrypt_cnt uint64
2194 Decrypt_tlen uint64
2195 Err_cnt uint64
2196}
2197
2198type CryptoStatAKCipher struct {
2199 Type [64]int8
2200 Encrypt_cnt uint64
2201 Encrypt_tlen uint64
2202 Decrypt_cnt uint64
2203 Decrypt_tlen uint64
2204 Verify_cnt uint64
2205 Sign_cnt uint64
2206 Err_cnt uint64
2207}
2208
2209type CryptoStatCipher struct {
2210 Type [64]int8
2211 Encrypt_cnt uint64
2212 Encrypt_tlen uint64
2213 Decrypt_cnt uint64
2214 Decrypt_tlen uint64
2215 Err_cnt uint64
2216}
2217
2218type CryptoStatCompress struct {
2219 Type [64]int8
2220 Compress_cnt uint64
2221 Compress_tlen uint64
2222 Decompress_cnt uint64
2223 Decompress_tlen uint64
2224 Err_cnt uint64
2225}
2226
2227type CryptoStatHash struct {
2228 Type [64]int8
2229 Hash_cnt uint64
2230 Hash_tlen uint64
2231 Err_cnt uint64
2232}
2233
2234type CryptoStatKPP struct {
2235 Type [64]int8
2236 Setsecret_cnt uint64
2237 Generate_public_key_cnt uint64
2238 Compute_shared_secret_cnt uint64
2239 Err_cnt uint64
2240}
2241
2242type CryptoStatRNG struct {
2243 Type [64]int8
2244 Generate_cnt uint64
2245 Generate_tlen uint64
2246 Seed_cnt uint64
2247 Err_cnt uint64
2248}
2249
2250type CryptoStatLarval struct {
2251 Type [64]int8
2252}
2253
2254type CryptoReportLarval struct {
2255 Type [64]int8
2256}
2257
2258type CryptoReportHash struct {
2259 Type [64]int8
2260 Blocksize uint32
2261 Digestsize uint32
2262}
2263
2264type CryptoReportCipher struct {
2265 Type [64]int8
2266 Blocksize uint32
2267 Min_keysize uint32
2268 Max_keysize uint32
2269}
2270
2271type CryptoReportBlkCipher struct {
2272 Type [64]int8
2273 Geniv [64]int8
2274 Blocksize uint32
2275 Min_keysize uint32
2276 Max_keysize uint32
2277 Ivsize uint32
2278}
2279
2280type CryptoReportAEAD struct {
2281 Type [64]int8
2282 Geniv [64]int8
2283 Blocksize uint32
2284 Maxauthsize uint32
2285 Ivsize uint32
2286}
2287
2288type CryptoReportComp struct {
2289 Type [64]int8
2290}
2291
2292type CryptoReportRNG struct {
2293 Type [64]int8
2294 Seedsize uint32
2295}
2296
2297type CryptoReportAKCipher struct {
2298 Type [64]int8
2299}
2300
2301type CryptoReportKPP struct {
2302 Type [64]int8
2303}
2304
2305type CryptoReportAcomp struct {
2306 Type [64]int8
2307}