aboutsummaryrefslogtreecommitdiffhomepage
path: root/vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.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_mips64le.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_mips64le.go')
-rw-r--r--vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go636
1 files changed, 477 insertions, 159 deletions
diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go b/vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go
index 3dd1941..95374fd 100644
--- a/vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go
+++ b/vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.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
@@ -692,7 +757,6 @@ type Sysinfo_t struct {
692 Freeswap uint64 757 Freeswap uint64
693 Procs uint16 758 Procs uint16
694 Pad uint16 759 Pad uint16
695 _ [4]byte
696 Totalhigh uint64 760 Totalhigh uint64
697 Freehigh uint64 761 Freehigh uint64
698 Unit uint32 762 Unit uint32
@@ -711,7 +775,6 @@ type Utsname struct {
711 775
712type Ustat_t struct { 776type Ustat_t struct {
713 Tfree int32 777 Tfree int32
714 _ [4]byte
715 Tinode uint64 778 Tinode uint64
716 Fname [6]int8 779 Fname [6]int8
717 Fpack [6]int8 780 Fpack [6]int8
@@ -760,7 +823,30 @@ type Sigset_t struct {
760 Val [16]uint64 823 Val [16]uint64
761} 824}
762 825
763const RNDGETENTCNT = 0x40045200 826type SignalfdSiginfo struct {
827 Signo uint32
828 Errno int32
829 Code int32
830 Pid uint32
831 Uid uint32
832 Fd int32
833 Tid uint32
834 Band uint32
835 Overrun uint32
836 Trapno uint32
837 Status int32
838 Int int32
839 Ptr uint64
840 Utime uint64
841 Stime uint64
842 Addr uint64
843 Addr_lsb uint16
844 _ uint16
845 Syscall int32
846 Call_addr uint64
847 Arch uint32
848 _ [28]uint8
849}
764 850
765const PERF_IOC_FLAG_GROUP = 0x1 851const PERF_IOC_FLAG_GROUP = 0x1
766 852
@@ -784,11 +870,9 @@ type Winsize struct {
784 870
785type Taskstats struct { 871type Taskstats struct {
786 Version uint16 872 Version uint16
787 _ [2]byte
788 Ac_exitcode uint32 873 Ac_exitcode uint32
789 Ac_flag uint8 874 Ac_flag uint8
790 Ac_nice uint8 875 Ac_nice uint8
791 _ [6]byte
792 Cpu_count uint64 876 Cpu_count uint64
793 Cpu_delay_total uint64 877 Cpu_delay_total uint64
794 Blkio_count uint64 878 Blkio_count uint64
@@ -806,7 +890,6 @@ type Taskstats struct {
806 Ac_pid uint32 890 Ac_pid uint32
807 Ac_ppid uint32 891 Ac_ppid uint32
808 Ac_btime uint32 892 Ac_btime uint32
809 _ [4]byte
810 Ac_etime uint64 893 Ac_etime uint64
811 Ac_utime uint64 894 Ac_utime uint64
812 Ac_stime uint64 895 Ac_stime uint64
@@ -830,6 +913,8 @@ type Taskstats struct {
830 Cpu_scaled_run_real_total uint64 913 Cpu_scaled_run_real_total uint64
831 Freepages_count uint64 914 Freepages_count uint64
832 Freepages_delay_total uint64 915 Freepages_delay_total uint64
916 Thrashing_count uint64
917 Thrashing_delay_total uint64
833} 918}
834 919
835const ( 920const (
@@ -932,7 +1017,8 @@ type PerfEventAttr struct {
932 Clockid int32 1017 Clockid int32
933 Sample_regs_intr uint64 1018 Sample_regs_intr uint64
934 Aux_watermark uint32 1019 Aux_watermark uint32
935 _ uint32 1020 Sample_max_stack uint16
1021 _ uint16
936} 1022}
937 1023
938type PerfEventMmapPage struct { 1024type PerfEventMmapPage struct {
@@ -1035,6 +1121,7 @@ const (
1035 PERF_COUNT_SW_ALIGNMENT_FAULTS = 0x7 1121 PERF_COUNT_SW_ALIGNMENT_FAULTS = 0x7
1036 PERF_COUNT_SW_EMULATION_FAULTS = 0x8 1122 PERF_COUNT_SW_EMULATION_FAULTS = 0x8
1037 PERF_COUNT_SW_DUMMY = 0x9 1123 PERF_COUNT_SW_DUMMY = 0x9
1124 PERF_COUNT_SW_BPF_OUTPUT = 0xa
1038 1125
1039 PERF_SAMPLE_IP = 0x1 1126 PERF_SAMPLE_IP = 0x1
1040 PERF_SAMPLE_TID = 0x2 1127 PERF_SAMPLE_TID = 0x2
@@ -1056,21 +1143,38 @@ const (
1056 PERF_SAMPLE_BRANCH_ANY_CALL = 0x10 1143 PERF_SAMPLE_BRANCH_ANY_CALL = 0x10
1057 PERF_SAMPLE_BRANCH_ANY_RETURN = 0x20 1144 PERF_SAMPLE_BRANCH_ANY_RETURN = 0x20
1058 PERF_SAMPLE_BRANCH_IND_CALL = 0x40 1145 PERF_SAMPLE_BRANCH_IND_CALL = 0x40
1146 PERF_SAMPLE_BRANCH_ABORT_TX = 0x80
1147 PERF_SAMPLE_BRANCH_IN_TX = 0x100
1148 PERF_SAMPLE_BRANCH_NO_TX = 0x200
1149 PERF_SAMPLE_BRANCH_COND = 0x400
1150 PERF_SAMPLE_BRANCH_CALL_STACK = 0x800
1151 PERF_SAMPLE_BRANCH_IND_JUMP = 0x1000
1152 PERF_SAMPLE_BRANCH_CALL = 0x2000
1153 PERF_SAMPLE_BRANCH_NO_FLAGS = 0x4000
1154 PERF_SAMPLE_BRANCH_NO_CYCLES = 0x8000
1155 PERF_SAMPLE_BRANCH_TYPE_SAVE = 0x10000
1059 1156
1060 PERF_FORMAT_TOTAL_TIME_ENABLED = 0x1 1157 PERF_FORMAT_TOTAL_TIME_ENABLED = 0x1
1061 PERF_FORMAT_TOTAL_TIME_RUNNING = 0x2 1158 PERF_FORMAT_TOTAL_TIME_RUNNING = 0x2
1062 PERF_FORMAT_ID = 0x4 1159 PERF_FORMAT_ID = 0x4
1063 PERF_FORMAT_GROUP = 0x8 1160 PERF_FORMAT_GROUP = 0x8
1064 1161
1065 PERF_RECORD_MMAP = 0x1 1162 PERF_RECORD_MMAP = 0x1
1066 PERF_RECORD_LOST = 0x2 1163 PERF_RECORD_LOST = 0x2
1067 PERF_RECORD_COMM = 0x3 1164 PERF_RECORD_COMM = 0x3
1068 PERF_RECORD_EXIT = 0x4 1165 PERF_RECORD_EXIT = 0x4
1069 PERF_RECORD_THROTTLE = 0x5 1166 PERF_RECORD_THROTTLE = 0x5
1070 PERF_RECORD_UNTHROTTLE = 0x6 1167 PERF_RECORD_UNTHROTTLE = 0x6
1071 PERF_RECORD_FORK = 0x7 1168 PERF_RECORD_FORK = 0x7
1072 PERF_RECORD_READ = 0x8 1169 PERF_RECORD_READ = 0x8
1073 PERF_RECORD_SAMPLE = 0x9 1170 PERF_RECORD_SAMPLE = 0x9
1171 PERF_RECORD_MMAP2 = 0xa
1172 PERF_RECORD_AUX = 0xb
1173 PERF_RECORD_ITRACE_START = 0xc
1174 PERF_RECORD_LOST_SAMPLES = 0xd
1175 PERF_RECORD_SWITCH = 0xe
1176 PERF_RECORD_SWITCH_CPU_WIDE = 0xf
1177 PERF_RECORD_NAMESPACES = 0x10
1074 1178
1075 PERF_CONTEXT_HV = -0x20 1179 PERF_CONTEXT_HV = -0x20
1076 PERF_CONTEXT_KERNEL = -0x80 1180 PERF_CONTEXT_KERNEL = -0x80
@@ -1083,6 +1187,7 @@ const (
1083 PERF_FLAG_FD_NO_GROUP = 0x1 1187 PERF_FLAG_FD_NO_GROUP = 0x1
1084 PERF_FLAG_FD_OUTPUT = 0x2 1188 PERF_FLAG_FD_OUTPUT = 0x2
1085 PERF_FLAG_PID_CGROUP = 0x4 1189 PERF_FLAG_PID_CGROUP = 0x4
1190 PERF_FLAG_FD_CLOEXEC = 0x8
1086) 1191)
1087 1192
1088const ( 1193const (
@@ -1178,7 +1283,6 @@ type HDGeometry struct {
1178 Heads uint8 1283 Heads uint8
1179 Sectors uint8 1284 Sectors uint8
1180 Cylinders uint16 1285 Cylinders uint16
1181 _ [4]byte
1182 Start uint64 1286 Start uint64
1183} 1287}
1184 1288
@@ -1341,6 +1445,21 @@ type TpacketBlockDesc struct {
1341 Hdr [40]byte 1445 Hdr [40]byte
1342} 1446}
1343 1447
1448type TpacketBDTS struct {
1449 Sec uint32
1450 Usec uint32
1451}
1452
1453type TpacketHdrV1 struct {
1454 Block_status uint32
1455 Num_pkts uint32
1456 Offset_to_first_pkt uint32
1457 Blk_len uint32
1458 Seq_num uint64
1459 Ts_first_pkt TpacketBDTS
1460 Ts_last_pkt TpacketBDTS
1461}
1462
1344type TpacketReq struct { 1463type TpacketReq struct {
1345 Block_size uint32 1464 Block_size uint32
1346 Block_nr uint32 1465 Block_nr uint32
@@ -1389,6 +1508,9 @@ const (
1389 SizeofTpacketHdr = 0x20 1508 SizeofTpacketHdr = 0x20
1390 SizeofTpacket2Hdr = 0x20 1509 SizeofTpacket2Hdr = 0x20
1391 SizeofTpacket3Hdr = 0x30 1510 SizeofTpacket3Hdr = 0x30
1511
1512 SizeofTpacketStats = 0x8
1513 SizeofTpacketStatsV3 = 0xc
1392) 1514)
1393 1515
1394const ( 1516const (
@@ -1864,7 +1986,6 @@ type RTCTime struct {
1864type RTCWkAlrm struct { 1986type RTCWkAlrm struct {
1865 Enabled uint8 1987 Enabled uint8
1866 Pending uint8 1988 Pending uint8
1867 _ [2]byte
1868 Time RTCTime 1989 Time RTCTime
1869} 1990}
1870 1991
@@ -1882,7 +2003,6 @@ type BlkpgIoctlArg struct {
1882 Op int32 2003 Op int32
1883 Flags int32 2004 Flags int32
1884 Datalen int32 2005 Datalen int32
1885 _ [4]byte
1886 Data *byte 2006 Data *byte
1887} 2007}
1888 2008
@@ -1969,6 +2089,10 @@ const (
1969 NCSI_CHANNEL_ATTR_VLAN_ID = 0xa 2089 NCSI_CHANNEL_ATTR_VLAN_ID = 0xa
1970) 2090)
1971 2091
2092type ScmTimestamping struct {
2093 Ts [3]Timespec
2094}
2095
1972const ( 2096const (
1973 SOF_TIMESTAMPING_TX_HARDWARE = 0x1 2097 SOF_TIMESTAMPING_TX_HARDWARE = 0x1
1974 SOF_TIMESTAMPING_TX_SOFTWARE = 0x2 2098 SOF_TIMESTAMPING_TX_SOFTWARE = 0x2
@@ -1988,4 +2112,198 @@ const (
1988 2112
1989 SOF_TIMESTAMPING_LAST = 0x4000 2113 SOF_TIMESTAMPING_LAST = 0x4000
1990 SOF_TIMESTAMPING_MASK = 0x7fff 2114 SOF_TIMESTAMPING_MASK = 0x7fff
2115
2116 SCM_TSTAMP_SND = 0x0
2117 SCM_TSTAMP_SCHED = 0x1
2118 SCM_TSTAMP_ACK = 0x2
2119)
2120
2121type SockExtendedErr struct {
2122 Errno uint32
2123 Origin uint8
2124 Type uint8
2125 Code uint8
2126 Pad uint8
2127 Info uint32
2128 Data uint32
2129}
2130
2131type FanotifyEventMetadata struct {
2132 Event_len uint32
2133 Vers uint8
2134 Reserved uint8
2135 Metadata_len uint16
2136 Mask uint64
2137 Fd int32
2138 Pid int32
2139}
2140
2141type FanotifyResponse struct {
2142 Fd int32
2143 Response uint32
2144}
2145
2146const (
2147 CRYPTO_MSG_BASE = 0x10
2148 CRYPTO_MSG_NEWALG = 0x10
2149 CRYPTO_MSG_DELALG = 0x11
2150 CRYPTO_MSG_UPDATEALG = 0x12
2151 CRYPTO_MSG_GETALG = 0x13
2152 CRYPTO_MSG_DELRNG = 0x14
2153 CRYPTO_MSG_GETSTAT = 0x15
1991) 2154)
2155
2156const (
2157 CRYPTOCFGA_UNSPEC = 0x0
2158 CRYPTOCFGA_PRIORITY_VAL = 0x1
2159 CRYPTOCFGA_REPORT_LARVAL = 0x2
2160 CRYPTOCFGA_REPORT_HASH = 0x3
2161 CRYPTOCFGA_REPORT_BLKCIPHER = 0x4
2162 CRYPTOCFGA_REPORT_AEAD = 0x5
2163 CRYPTOCFGA_REPORT_COMPRESS = 0x6
2164 CRYPTOCFGA_REPORT_RNG = 0x7
2165 CRYPTOCFGA_REPORT_CIPHER = 0x8
2166 CRYPTOCFGA_REPORT_AKCIPHER = 0x9
2167 CRYPTOCFGA_REPORT_KPP = 0xa
2168 CRYPTOCFGA_REPORT_ACOMP = 0xb
2169 CRYPTOCFGA_STAT_LARVAL = 0xc
2170 CRYPTOCFGA_STAT_HASH = 0xd
2171 CRYPTOCFGA_STAT_BLKCIPHER = 0xe
2172 CRYPTOCFGA_STAT_AEAD = 0xf
2173 CRYPTOCFGA_STAT_COMPRESS = 0x10
2174 CRYPTOCFGA_STAT_RNG = 0x11
2175 CRYPTOCFGA_STAT_CIPHER = 0x12
2176 CRYPTOCFGA_STAT_AKCIPHER = 0x13
2177 CRYPTOCFGA_STAT_KPP = 0x14
2178 CRYPTOCFGA_STAT_ACOMP = 0x15
2179)
2180
2181type CryptoUserAlg struct {
2182 Name [64]int8
2183 Driver_name [64]int8
2184 Module_name [64]int8
2185 Type uint32
2186 Mask uint32
2187 Refcnt uint32
2188 Flags uint32
2189}
2190
2191type CryptoStatAEAD struct {
2192 Type [64]int8
2193 Encrypt_cnt uint64
2194 Encrypt_tlen uint64
2195 Decrypt_cnt uint64
2196 Decrypt_tlen uint64
2197 Err_cnt uint64
2198}
2199
2200type CryptoStatAKCipher struct {
2201 Type [64]int8
2202 Encrypt_cnt uint64
2203 Encrypt_tlen uint64
2204 Decrypt_cnt uint64
2205 Decrypt_tlen uint64
2206 Verify_cnt uint64
2207 Sign_cnt uint64
2208 Err_cnt uint64
2209}
2210
2211type CryptoStatCipher struct {
2212 Type [64]int8
2213 Encrypt_cnt uint64
2214 Encrypt_tlen uint64
2215 Decrypt_cnt uint64
2216 Decrypt_tlen uint64
2217 Err_cnt uint64
2218}
2219
2220type CryptoStatCompress struct {
2221 Type [64]int8
2222 Compress_cnt uint64
2223 Compress_tlen uint64
2224 Decompress_cnt uint64
2225 Decompress_tlen uint64
2226 Err_cnt uint64
2227}
2228
2229type CryptoStatHash struct {
2230 Type [64]int8
2231 Hash_cnt uint64
2232 Hash_tlen uint64
2233 Err_cnt uint64
2234}
2235
2236type CryptoStatKPP struct {
2237 Type [64]int8
2238 Setsecret_cnt uint64
2239 Generate_public_key_cnt uint64
2240 Compute_shared_secret_cnt uint64
2241 Err_cnt uint64
2242}
2243
2244type CryptoStatRNG struct {
2245 Type [64]int8
2246 Generate_cnt uint64
2247 Generate_tlen uint64
2248 Seed_cnt uint64
2249 Err_cnt uint64
2250}
2251
2252type CryptoStatLarval struct {
2253 Type [64]int8
2254}
2255
2256type CryptoReportLarval struct {
2257 Type [64]int8
2258}
2259
2260type CryptoReportHash struct {
2261 Type [64]int8
2262 Blocksize uint32
2263 Digestsize uint32
2264}
2265
2266type CryptoReportCipher struct {
2267 Type [64]int8
2268 Blocksize uint32
2269 Min_keysize uint32
2270 Max_keysize uint32
2271}
2272
2273type CryptoReportBlkCipher struct {
2274 Type [64]int8
2275 Geniv [64]int8
2276 Blocksize uint32
2277 Min_keysize uint32
2278 Max_keysize uint32
2279 Ivsize uint32
2280}
2281
2282type CryptoReportAEAD struct {
2283 Type [64]int8
2284 Geniv [64]int8
2285 Blocksize uint32
2286 Maxauthsize uint32
2287 Ivsize uint32
2288}
2289
2290type CryptoReportComp struct {
2291 Type [64]int8
2292}
2293
2294type CryptoReportRNG struct {
2295 Type [64]int8
2296 Seedsize uint32
2297}
2298
2299type CryptoReportAKCipher struct {
2300 Type [64]int8
2301}
2302
2303type CryptoReportKPP struct {
2304 Type [64]int8
2305}
2306
2307type CryptoReportAcomp struct {
2308 Type [64]int8
2309}