diff options
author | Nathan Dench <ndenc2@gmail.com> | 2019-05-24 15:16:44 +1000 |
---|---|---|
committer | Nathan Dench <ndenc2@gmail.com> | 2019-05-24 15:16:44 +1000 |
commit | 107c1cdb09c575aa2f61d97f48d8587eb6bada4c (patch) | |
tree | ca7d008643efc555c388baeaf1d986e0b6b3e28c /vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go | |
parent | 844b5a68d8af4791755b8f0ad293cc99f5959183 (diff) | |
download | terraform-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_ppc64.go')
-rw-r--r-- | vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go | 636 |
1 files changed, 477 insertions, 159 deletions
diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go b/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go index b46d54e..a436410 100644 --- a/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go +++ b/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.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 |
@@ -164,7 +161,6 @@ type Fsid struct { | |||
164 | type Flock_t struct { | 161 | type Flock_t struct { |
165 | Type int16 | 162 | Type int16 |
166 | Whence int16 | 163 | Whence int16 |
167 | _ [4]byte | ||
168 | Start int64 | 164 | Start int64 |
169 | Len int64 | 165 | Len int64 |
170 | Pid int32 | 166 | Pid int32 |
@@ -261,7 +257,6 @@ type RawSockaddrRFCOMM struct { | |||
261 | 257 | ||
262 | type RawSockaddrCAN struct { | 258 | type RawSockaddrCAN struct { |
263 | Family uint16 | 259 | Family uint16 |
264 | _ [2]byte | ||
265 | Ifindex int32 | 260 | Ifindex int32 |
266 | Addr [8]byte | 261 | Addr [8]byte |
267 | } | 262 | } |
@@ -290,6 +285,8 @@ type RawSockaddrXDP struct { | |||
290 | Shared_umem_fd uint32 | 285 | Shared_umem_fd uint32 |
291 | } | 286 | } |
292 | 287 | ||
288 | type RawSockaddrPPPoX [0x1e]byte | ||
289 | |||
293 | type RawSockaddr struct { | 290 | type RawSockaddr struct { |
294 | Family uint16 | 291 | Family uint16 |
295 | Data [14]uint8 | 292 | Data [14]uint8 |
@@ -338,7 +335,6 @@ type PacketMreq struct { | |||
338 | type Msghdr struct { | 335 | type Msghdr struct { |
339 | Name *byte | 336 | Name *byte |
340 | Namelen uint32 | 337 | Namelen uint32 |
341 | _ [4]byte | ||
342 | Iov *Iovec | 338 | Iov *Iovec |
343 | Iovlen uint64 | 339 | Iovlen uint64 |
344 | Control *byte | 340 | Control *byte |
@@ -386,7 +382,6 @@ type TCPInfo struct { | |||
386 | Probes uint8 | 382 | Probes uint8 |
387 | Backoff uint8 | 383 | Backoff uint8 |
388 | Options uint8 | 384 | Options uint8 |
389 | _ [2]byte | ||
390 | Rto uint32 | 385 | Rto uint32 |
391 | Ato uint32 | 386 | Ato uint32 |
392 | Snd_mss uint32 | 387 | Snd_mss uint32 |
@@ -413,6 +408,11 @@ type TCPInfo struct { | |||
413 | Total_retrans uint32 | 408 | Total_retrans uint32 |
414 | } | 409 | } |
415 | 410 | ||
411 | type CanFilter struct { | ||
412 | Id uint32 | ||
413 | Mask uint32 | ||
414 | } | ||
415 | |||
416 | const ( | 416 | const ( |
417 | SizeofSockaddrInet4 = 0x10 | 417 | SizeofSockaddrInet4 = 0x10 |
418 | SizeofSockaddrInet6 = 0x1c | 418 | SizeofSockaddrInet6 = 0x1c |
@@ -427,6 +427,7 @@ const ( | |||
427 | SizeofSockaddrALG = 0x58 | 427 | SizeofSockaddrALG = 0x58 |
428 | SizeofSockaddrVM = 0x10 | 428 | SizeofSockaddrVM = 0x10 |
429 | SizeofSockaddrXDP = 0x10 | 429 | SizeofSockaddrXDP = 0x10 |
430 | SizeofSockaddrPPPoX = 0x1e | ||
430 | SizeofLinger = 0x8 | 431 | SizeofLinger = 0x8 |
431 | SizeofIovec = 0x10 | 432 | SizeofIovec = 0x10 |
432 | SizeofIPMreq = 0x8 | 433 | SizeofIPMreq = 0x8 |
@@ -441,141 +442,185 @@ const ( | |||
441 | SizeofICMPv6Filter = 0x20 | 442 | SizeofICMPv6Filter = 0x20 |
442 | SizeofUcred = 0xc | 443 | SizeofUcred = 0xc |
443 | SizeofTCPInfo = 0x68 | 444 | SizeofTCPInfo = 0x68 |
445 | SizeofCanFilter = 0x8 | ||
444 | ) | 446 | ) |
445 | 447 | ||
446 | const ( | 448 | const ( |
447 | IFA_UNSPEC = 0x0 | 449 | NDA_UNSPEC = 0x0 |
448 | IFA_ADDRESS = 0x1 | 450 | NDA_DST = 0x1 |
449 | IFA_LOCAL = 0x2 | 451 | NDA_LLADDR = 0x2 |
450 | IFA_LABEL = 0x3 | 452 | NDA_CACHEINFO = 0x3 |
451 | IFA_BROADCAST = 0x4 | 453 | NDA_PROBES = 0x4 |
452 | IFA_ANYCAST = 0x5 | 454 | NDA_VLAN = 0x5 |
453 | IFA_CACHEINFO = 0x6 | 455 | NDA_PORT = 0x6 |
454 | IFA_MULTICAST = 0x7 | 456 | NDA_VNI = 0x7 |
455 | IFLA_UNSPEC = 0x0 | 457 | NDA_IFINDEX = 0x8 |
456 | IFLA_ADDRESS = 0x1 | 458 | NDA_MASTER = 0x9 |
457 | IFLA_BROADCAST = 0x2 | 459 | NDA_LINK_NETNSID = 0xa |
458 | IFLA_IFNAME = 0x3 | 460 | NDA_SRC_VNI = 0xb |
459 | IFLA_INFO_KIND = 0x1 | 461 | NTF_USE = 0x1 |
460 | IFLA_MTU = 0x4 | 462 | NTF_SELF = 0x2 |
461 | IFLA_LINK = 0x5 | 463 | NTF_MASTER = 0x4 |
462 | IFLA_QDISC = 0x6 | 464 | NTF_PROXY = 0x8 |
463 | IFLA_STATS = 0x7 | 465 | NTF_EXT_LEARNED = 0x10 |
464 | IFLA_COST = 0x8 | 466 | NTF_OFFLOADED = 0x20 |
465 | IFLA_PRIORITY = 0x9 | 467 | NTF_ROUTER = 0x80 |
466 | IFLA_MASTER = 0xa | 468 | NUD_INCOMPLETE = 0x1 |
467 | IFLA_WIRELESS = 0xb | 469 | NUD_REACHABLE = 0x2 |
468 | IFLA_PROTINFO = 0xc | 470 | NUD_STALE = 0x4 |
469 | IFLA_TXQLEN = 0xd | 471 | NUD_DELAY = 0x8 |
470 | IFLA_MAP = 0xe | 472 | NUD_PROBE = 0x10 |
471 | IFLA_WEIGHT = 0xf | 473 | NUD_FAILED = 0x20 |
472 | IFLA_OPERSTATE = 0x10 | 474 | NUD_NOARP = 0x40 |
473 | IFLA_LINKMODE = 0x11 | 475 | NUD_PERMANENT = 0x80 |
474 | IFLA_LINKINFO = 0x12 | 476 | NUD_NONE = 0x0 |
475 | IFLA_NET_NS_PID = 0x13 | 477 | IFA_UNSPEC = 0x0 |
476 | IFLA_IFALIAS = 0x14 | 478 | IFA_ADDRESS = 0x1 |
477 | IFLA_NUM_VF = 0x15 | 479 | IFA_LOCAL = 0x2 |
478 | IFLA_VFINFO_LIST = 0x16 | 480 | IFA_LABEL = 0x3 |
479 | IFLA_STATS64 = 0x17 | 481 | IFA_BROADCAST = 0x4 |
480 | IFLA_VF_PORTS = 0x18 | 482 | IFA_ANYCAST = 0x5 |
481 | IFLA_PORT_SELF = 0x19 | 483 | IFA_CACHEINFO = 0x6 |
482 | IFLA_AF_SPEC = 0x1a | 484 | IFA_MULTICAST = 0x7 |
483 | IFLA_GROUP = 0x1b | 485 | IFA_FLAGS = 0x8 |
484 | IFLA_NET_NS_FD = 0x1c | 486 | IFA_RT_PRIORITY = 0x9 |
485 | IFLA_EXT_MASK = 0x1d | 487 | IFA_TARGET_NETNSID = 0xa |
486 | IFLA_PROMISCUITY = 0x1e | 488 | IFLA_UNSPEC = 0x0 |
487 | IFLA_NUM_TX_QUEUES = 0x1f | 489 | IFLA_ADDRESS = 0x1 |
488 | IFLA_NUM_RX_QUEUES = 0x20 | 490 | IFLA_BROADCAST = 0x2 |
489 | IFLA_CARRIER = 0x21 | 491 | IFLA_IFNAME = 0x3 |
490 | IFLA_PHYS_PORT_ID = 0x22 | 492 | IFLA_MTU = 0x4 |
491 | IFLA_CARRIER_CHANGES = 0x23 | 493 | IFLA_LINK = 0x5 |
492 | IFLA_PHYS_SWITCH_ID = 0x24 | 494 | IFLA_QDISC = 0x6 |
493 | IFLA_LINK_NETNSID = 0x25 | 495 | IFLA_STATS = 0x7 |
494 | IFLA_PHYS_PORT_NAME = 0x26 | 496 | IFLA_COST = 0x8 |
495 | IFLA_PROTO_DOWN = 0x27 | 497 | IFLA_PRIORITY = 0x9 |
496 | IFLA_GSO_MAX_SEGS = 0x28 | 498 | IFLA_MASTER = 0xa |
497 | IFLA_GSO_MAX_SIZE = 0x29 | 499 | IFLA_WIRELESS = 0xb |
498 | IFLA_PAD = 0x2a | 500 | IFLA_PROTINFO = 0xc |
499 | IFLA_XDP = 0x2b | 501 | IFLA_TXQLEN = 0xd |
500 | IFLA_EVENT = 0x2c | 502 | IFLA_MAP = 0xe |
501 | IFLA_NEW_NETNSID = 0x2d | 503 | IFLA_WEIGHT = 0xf |
502 | IFLA_IF_NETNSID = 0x2e | 504 | IFLA_OPERSTATE = 0x10 |
503 | IFLA_MAX = 0x33 | 505 | IFLA_LINKMODE = 0x11 |
504 | RT_SCOPE_UNIVERSE = 0x0 | 506 | IFLA_LINKINFO = 0x12 |
505 | RT_SCOPE_SITE = 0xc8 | 507 | IFLA_NET_NS_PID = 0x13 |
506 | RT_SCOPE_LINK = 0xfd | 508 | IFLA_IFALIAS = 0x14 |
507 | RT_SCOPE_HOST = 0xfe | 509 | IFLA_NUM_VF = 0x15 |
508 | RT_SCOPE_NOWHERE = 0xff | 510 | IFLA_VFINFO_LIST = 0x16 |
509 | RT_TABLE_UNSPEC = 0x0 | 511 | IFLA_STATS64 = 0x17 |
510 | RT_TABLE_COMPAT = 0xfc | 512 | IFLA_VF_PORTS = 0x18 |
511 | RT_TABLE_DEFAULT = 0xfd | 513 | IFLA_PORT_SELF = 0x19 |
512 | RT_TABLE_MAIN = 0xfe | 514 | IFLA_AF_SPEC = 0x1a |
513 | RT_TABLE_LOCAL = 0xff | 515 | IFLA_GROUP = 0x1b |
514 | RT_TABLE_MAX = 0xffffffff | 516 | IFLA_NET_NS_FD = 0x1c |
515 | RTA_UNSPEC = 0x0 | 517 | IFLA_EXT_MASK = 0x1d |
516 | RTA_DST = 0x1 | 518 | IFLA_PROMISCUITY = 0x1e |
517 | RTA_SRC = 0x2 | 519 | IFLA_NUM_TX_QUEUES = 0x1f |
518 | RTA_IIF = 0x3 | 520 | IFLA_NUM_RX_QUEUES = 0x20 |
519 | RTA_OIF = 0x4 | 521 | IFLA_CARRIER = 0x21 |
520 | RTA_GATEWAY = 0x5 | 522 | IFLA_PHYS_PORT_ID = 0x22 |
521 | RTA_PRIORITY = 0x6 | 523 | IFLA_CARRIER_CHANGES = 0x23 |
522 | RTA_PREFSRC = 0x7 | 524 | IFLA_PHYS_SWITCH_ID = 0x24 |
523 | RTA_METRICS = 0x8 | 525 | IFLA_LINK_NETNSID = 0x25 |
524 | RTA_MULTIPATH = 0x9 | 526 | IFLA_PHYS_PORT_NAME = 0x26 |
525 | RTA_FLOW = 0xb | 527 | IFLA_PROTO_DOWN = 0x27 |
526 | RTA_CACHEINFO = 0xc | 528 | IFLA_GSO_MAX_SEGS = 0x28 |
527 | RTA_TABLE = 0xf | 529 | IFLA_GSO_MAX_SIZE = 0x29 |
528 | RTA_MARK = 0x10 | 530 | IFLA_PAD = 0x2a |
529 | RTA_MFC_STATS = 0x11 | 531 | IFLA_XDP = 0x2b |
530 | RTA_VIA = 0x12 | 532 | IFLA_EVENT = 0x2c |
531 | RTA_NEWDST = 0x13 | 533 | IFLA_NEW_NETNSID = 0x2d |
532 | RTA_PREF = 0x14 | 534 | IFLA_IF_NETNSID = 0x2e |
533 | RTA_ENCAP_TYPE = 0x15 | 535 | IFLA_TARGET_NETNSID = 0x2e |
534 | RTA_ENCAP = 0x16 | 536 | IFLA_CARRIER_UP_COUNT = 0x2f |
535 | RTA_EXPIRES = 0x17 | 537 | IFLA_CARRIER_DOWN_COUNT = 0x30 |
536 | RTA_PAD = 0x18 | 538 | IFLA_NEW_IFINDEX = 0x31 |
537 | RTA_UID = 0x19 | 539 | IFLA_MIN_MTU = 0x32 |
538 | RTA_TTL_PROPAGATE = 0x1a | 540 | IFLA_MAX_MTU = 0x33 |
539 | RTA_IP_PROTO = 0x1b | 541 | IFLA_MAX = 0x33 |
540 | RTA_SPORT = 0x1c | 542 | IFLA_INFO_KIND = 0x1 |
541 | RTA_DPORT = 0x1d | 543 | IFLA_INFO_DATA = 0x2 |
542 | RTN_UNSPEC = 0x0 | 544 | IFLA_INFO_XSTATS = 0x3 |
543 | RTN_UNICAST = 0x1 | 545 | IFLA_INFO_SLAVE_KIND = 0x4 |
544 | RTN_LOCAL = 0x2 | 546 | IFLA_INFO_SLAVE_DATA = 0x5 |
545 | RTN_BROADCAST = 0x3 | 547 | RT_SCOPE_UNIVERSE = 0x0 |
546 | RTN_ANYCAST = 0x4 | 548 | RT_SCOPE_SITE = 0xc8 |
547 | RTN_MULTICAST = 0x5 | 549 | RT_SCOPE_LINK = 0xfd |
548 | RTN_BLACKHOLE = 0x6 | 550 | RT_SCOPE_HOST = 0xfe |
549 | RTN_UNREACHABLE = 0x7 | 551 | RT_SCOPE_NOWHERE = 0xff |
550 | RTN_PROHIBIT = 0x8 | 552 | RT_TABLE_UNSPEC = 0x0 |
551 | RTN_THROW = 0x9 | 553 | RT_TABLE_COMPAT = 0xfc |
552 | RTN_NAT = 0xa | 554 | RT_TABLE_DEFAULT = 0xfd |
553 | RTN_XRESOLVE = 0xb | 555 | RT_TABLE_MAIN = 0xfe |
554 | RTNLGRP_NONE = 0x0 | 556 | RT_TABLE_LOCAL = 0xff |
555 | RTNLGRP_LINK = 0x1 | 557 | RT_TABLE_MAX = 0xffffffff |
556 | RTNLGRP_NOTIFY = 0x2 | 558 | RTA_UNSPEC = 0x0 |
557 | RTNLGRP_NEIGH = 0x3 | 559 | RTA_DST = 0x1 |
558 | RTNLGRP_TC = 0x4 | 560 | RTA_SRC = 0x2 |
559 | RTNLGRP_IPV4_IFADDR = 0x5 | 561 | RTA_IIF = 0x3 |
560 | RTNLGRP_IPV4_MROUTE = 0x6 | 562 | RTA_OIF = 0x4 |
561 | RTNLGRP_IPV4_ROUTE = 0x7 | 563 | RTA_GATEWAY = 0x5 |
562 | RTNLGRP_IPV4_RULE = 0x8 | 564 | RTA_PRIORITY = 0x6 |
563 | RTNLGRP_IPV6_IFADDR = 0x9 | 565 | RTA_PREFSRC = 0x7 |
564 | RTNLGRP_IPV6_MROUTE = 0xa | 566 | RTA_METRICS = 0x8 |
565 | RTNLGRP_IPV6_ROUTE = 0xb | 567 | RTA_MULTIPATH = 0x9 |
566 | RTNLGRP_IPV6_IFINFO = 0xc | 568 | RTA_FLOW = 0xb |
567 | RTNLGRP_IPV6_PREFIX = 0x12 | 569 | RTA_CACHEINFO = 0xc |
568 | RTNLGRP_IPV6_RULE = 0x13 | 570 | RTA_TABLE = 0xf |
569 | RTNLGRP_ND_USEROPT = 0x14 | 571 | RTA_MARK = 0x10 |
570 | SizeofNlMsghdr = 0x10 | 572 | RTA_MFC_STATS = 0x11 |
571 | SizeofNlMsgerr = 0x14 | 573 | RTA_VIA = 0x12 |
572 | SizeofRtGenmsg = 0x1 | 574 | RTA_NEWDST = 0x13 |
573 | SizeofNlAttr = 0x4 | 575 | RTA_PREF = 0x14 |
574 | SizeofRtAttr = 0x4 | 576 | RTA_ENCAP_TYPE = 0x15 |
575 | SizeofIfInfomsg = 0x10 | 577 | RTA_ENCAP = 0x16 |
576 | SizeofIfAddrmsg = 0x8 | 578 | RTA_EXPIRES = 0x17 |
577 | SizeofRtMsg = 0xc | 579 | RTA_PAD = 0x18 |
578 | SizeofRtNexthop = 0x8 | 580 | RTA_UID = 0x19 |
581 | RTA_TTL_PROPAGATE = 0x1a | ||
582 | RTA_IP_PROTO = 0x1b | ||
583 | RTA_SPORT = 0x1c | ||
584 | RTA_DPORT = 0x1d | ||
585 | RTN_UNSPEC = 0x0 | ||
586 | RTN_UNICAST = 0x1 | ||
587 | RTN_LOCAL = 0x2 | ||
588 | RTN_BROADCAST = 0x3 | ||
589 | RTN_ANYCAST = 0x4 | ||
590 | RTN_MULTICAST = 0x5 | ||
591 | RTN_BLACKHOLE = 0x6 | ||
592 | RTN_UNREACHABLE = 0x7 | ||
593 | RTN_PROHIBIT = 0x8 | ||
594 | RTN_THROW = 0x9 | ||
595 | RTN_NAT = 0xa | ||
596 | RTN_XRESOLVE = 0xb | ||
597 | RTNLGRP_NONE = 0x0 | ||
598 | RTNLGRP_LINK = 0x1 | ||
599 | RTNLGRP_NOTIFY = 0x2 | ||
600 | RTNLGRP_NEIGH = 0x3 | ||
601 | RTNLGRP_TC = 0x4 | ||
602 | RTNLGRP_IPV4_IFADDR = 0x5 | ||
603 | RTNLGRP_IPV4_MROUTE = 0x6 | ||
604 | RTNLGRP_IPV4_ROUTE = 0x7 | ||
605 | RTNLGRP_IPV4_RULE = 0x8 | ||
606 | RTNLGRP_IPV6_IFADDR = 0x9 | ||
607 | RTNLGRP_IPV6_MROUTE = 0xa | ||
608 | RTNLGRP_IPV6_ROUTE = 0xb | ||
609 | RTNLGRP_IPV6_IFINFO = 0xc | ||
610 | RTNLGRP_IPV6_PREFIX = 0x12 | ||
611 | RTNLGRP_IPV6_RULE = 0x13 | ||
612 | RTNLGRP_ND_USEROPT = 0x14 | ||
613 | SizeofNlMsghdr = 0x10 | ||
614 | SizeofNlMsgerr = 0x14 | ||
615 | SizeofRtGenmsg = 0x1 | ||
616 | SizeofNlAttr = 0x4 | ||
617 | SizeofRtAttr = 0x4 | ||
618 | SizeofIfInfomsg = 0x10 | ||
619 | SizeofIfAddrmsg = 0x8 | ||
620 | SizeofRtMsg = 0xc | ||
621 | SizeofRtNexthop = 0x8 | ||
622 | SizeofNdUseroptmsg = 0x10 | ||
623 | SizeofNdMsg = 0xc | ||
579 | ) | 624 | ) |
580 | 625 | ||
581 | type NlMsghdr struct { | 626 | type NlMsghdr struct { |
@@ -641,6 +686,27 @@ type RtNexthop struct { | |||
641 | Ifindex int32 | 686 | Ifindex int32 |
642 | } | 687 | } |
643 | 688 | ||
689 | type NdUseroptmsg struct { | ||
690 | Family uint8 | ||
691 | Pad1 uint8 | ||
692 | Opts_len uint16 | ||
693 | Ifindex int32 | ||
694 | Icmp_type uint8 | ||
695 | Icmp_code uint8 | ||
696 | Pad2 uint16 | ||
697 | Pad3 uint32 | ||
698 | } | ||
699 | |||
700 | type NdMsg struct { | ||
701 | Family uint8 | ||
702 | Pad1 uint8 | ||
703 | Pad2 uint16 | ||
704 | Ifindex int32 | ||
705 | State uint16 | ||
706 | Flags uint8 | ||
707 | Type uint8 | ||
708 | } | ||
709 | |||
644 | const ( | 710 | const ( |
645 | SizeofSockFilter = 0x8 | 711 | SizeofSockFilter = 0x8 |
646 | SizeofSockFprog = 0x10 | 712 | SizeofSockFprog = 0x10 |
@@ -655,7 +721,6 @@ type SockFilter struct { | |||
655 | 721 | ||
656 | type SockFprog struct { | 722 | type SockFprog struct { |
657 | Len uint16 | 723 | Len uint16 |
658 | _ [6]byte | ||
659 | Filter *SockFilter | 724 | Filter *SockFilter |
660 | } | 725 | } |
661 | 726 | ||
@@ -699,7 +764,6 @@ type Sysinfo_t struct { | |||
699 | Freeswap uint64 | 764 | Freeswap uint64 |
700 | Procs uint16 | 765 | Procs uint16 |
701 | Pad uint16 | 766 | Pad uint16 |
702 | _ [4]byte | ||
703 | Totalhigh uint64 | 767 | Totalhigh uint64 |
704 | Freehigh uint64 | 768 | Freehigh uint64 |
705 | Unit uint32 | 769 | Unit uint32 |
@@ -718,7 +782,6 @@ type Utsname struct { | |||
718 | 782 | ||
719 | type Ustat_t struct { | 783 | type Ustat_t struct { |
720 | Tfree int32 | 784 | Tfree int32 |
721 | _ [4]byte | ||
722 | Tinode uint64 | 785 | Tinode uint64 |
723 | Fname [6]uint8 | 786 | Fname [6]uint8 |
724 | Fpack [6]uint8 | 787 | Fpack [6]uint8 |
@@ -768,7 +831,30 @@ type Sigset_t struct { | |||
768 | Val [16]uint64 | 831 | Val [16]uint64 |
769 | } | 832 | } |
770 | 833 | ||
771 | const RNDGETENTCNT = 0x40045200 | 834 | type SignalfdSiginfo struct { |
835 | Signo uint32 | ||
836 | Errno int32 | ||
837 | Code int32 | ||
838 | Pid uint32 | ||
839 | Uid uint32 | ||
840 | Fd int32 | ||
841 | Tid uint32 | ||
842 | Band uint32 | ||
843 | Overrun uint32 | ||
844 | Trapno uint32 | ||
845 | Status int32 | ||
846 | Int int32 | ||
847 | Ptr uint64 | ||
848 | Utime uint64 | ||
849 | Stime uint64 | ||
850 | Addr uint64 | ||
851 | Addr_lsb uint16 | ||
852 | _ uint16 | ||
853 | Syscall int32 | ||
854 | Call_addr uint64 | ||
855 | Arch uint32 | ||
856 | _ [28]uint8 | ||
857 | } | ||
772 | 858 | ||
773 | const PERF_IOC_FLAG_GROUP = 0x1 | 859 | const PERF_IOC_FLAG_GROUP = 0x1 |
774 | 860 | ||
@@ -792,11 +878,9 @@ type Winsize struct { | |||
792 | 878 | ||
793 | type Taskstats struct { | 879 | type Taskstats struct { |
794 | Version uint16 | 880 | Version uint16 |
795 | _ [2]byte | ||
796 | Ac_exitcode uint32 | 881 | Ac_exitcode uint32 |
797 | Ac_flag uint8 | 882 | Ac_flag uint8 |
798 | Ac_nice uint8 | 883 | Ac_nice uint8 |
799 | _ [6]byte | ||
800 | Cpu_count uint64 | 884 | Cpu_count uint64 |
801 | Cpu_delay_total uint64 | 885 | Cpu_delay_total uint64 |
802 | Blkio_count uint64 | 886 | Blkio_count uint64 |
@@ -814,7 +898,6 @@ type Taskstats struct { | |||
814 | Ac_pid uint32 | 898 | Ac_pid uint32 |
815 | Ac_ppid uint32 | 899 | Ac_ppid uint32 |
816 | Ac_btime uint32 | 900 | Ac_btime uint32 |
817 | _ [4]byte | ||
818 | Ac_etime uint64 | 901 | Ac_etime uint64 |
819 | Ac_utime uint64 | 902 | Ac_utime uint64 |
820 | Ac_stime uint64 | 903 | Ac_stime uint64 |
@@ -838,6 +921,8 @@ type Taskstats struct { | |||
838 | Cpu_scaled_run_real_total uint64 | 921 | Cpu_scaled_run_real_total uint64 |
839 | Freepages_count uint64 | 922 | Freepages_count uint64 |
840 | Freepages_delay_total uint64 | 923 | Freepages_delay_total uint64 |
924 | Thrashing_count uint64 | ||
925 | Thrashing_delay_total uint64 | ||
841 | } | 926 | } |
842 | 927 | ||
843 | const ( | 928 | const ( |
@@ -940,7 +1025,8 @@ type PerfEventAttr struct { | |||
940 | Clockid int32 | 1025 | Clockid int32 |
941 | Sample_regs_intr uint64 | 1026 | Sample_regs_intr uint64 |
942 | Aux_watermark uint32 | 1027 | Aux_watermark uint32 |
943 | _ uint32 | 1028 | Sample_max_stack uint16 |
1029 | _ uint16 | ||
944 | } | 1030 | } |
945 | 1031 | ||
946 | type PerfEventMmapPage struct { | 1032 | type PerfEventMmapPage struct { |
@@ -1043,6 +1129,7 @@ const ( | |||
1043 | PERF_COUNT_SW_ALIGNMENT_FAULTS = 0x7 | 1129 | PERF_COUNT_SW_ALIGNMENT_FAULTS = 0x7 |
1044 | PERF_COUNT_SW_EMULATION_FAULTS = 0x8 | 1130 | PERF_COUNT_SW_EMULATION_FAULTS = 0x8 |
1045 | PERF_COUNT_SW_DUMMY = 0x9 | 1131 | PERF_COUNT_SW_DUMMY = 0x9 |
1132 | PERF_COUNT_SW_BPF_OUTPUT = 0xa | ||
1046 | 1133 | ||
1047 | PERF_SAMPLE_IP = 0x1 | 1134 | PERF_SAMPLE_IP = 0x1 |
1048 | PERF_SAMPLE_TID = 0x2 | 1135 | PERF_SAMPLE_TID = 0x2 |
@@ -1064,21 +1151,38 @@ const ( | |||
1064 | PERF_SAMPLE_BRANCH_ANY_CALL = 0x10 | 1151 | PERF_SAMPLE_BRANCH_ANY_CALL = 0x10 |
1065 | PERF_SAMPLE_BRANCH_ANY_RETURN = 0x20 | 1152 | PERF_SAMPLE_BRANCH_ANY_RETURN = 0x20 |
1066 | PERF_SAMPLE_BRANCH_IND_CALL = 0x40 | 1153 | PERF_SAMPLE_BRANCH_IND_CALL = 0x40 |
1154 | PERF_SAMPLE_BRANCH_ABORT_TX = 0x80 | ||
1155 | PERF_SAMPLE_BRANCH_IN_TX = 0x100 | ||
1156 | PERF_SAMPLE_BRANCH_NO_TX = 0x200 | ||
1157 | PERF_SAMPLE_BRANCH_COND = 0x400 | ||
1158 | PERF_SAMPLE_BRANCH_CALL_STACK = 0x800 | ||
1159 | PERF_SAMPLE_BRANCH_IND_JUMP = 0x1000 | ||
1160 | PERF_SAMPLE_BRANCH_CALL = 0x2000 | ||
1161 | PERF_SAMPLE_BRANCH_NO_FLAGS = 0x4000 | ||
1162 | PERF_SAMPLE_BRANCH_NO_CYCLES = 0x8000 | ||
1163 | PERF_SAMPLE_BRANCH_TYPE_SAVE = 0x10000 | ||
1067 | 1164 | ||
1068 | PERF_FORMAT_TOTAL_TIME_ENABLED = 0x1 | 1165 | PERF_FORMAT_TOTAL_TIME_ENABLED = 0x1 |
1069 | PERF_FORMAT_TOTAL_TIME_RUNNING = 0x2 | 1166 | PERF_FORMAT_TOTAL_TIME_RUNNING = 0x2 |
1070 | PERF_FORMAT_ID = 0x4 | 1167 | PERF_FORMAT_ID = 0x4 |
1071 | PERF_FORMAT_GROUP = 0x8 | 1168 | PERF_FORMAT_GROUP = 0x8 |
1072 | 1169 | ||
1073 | PERF_RECORD_MMAP = 0x1 | 1170 | PERF_RECORD_MMAP = 0x1 |
1074 | PERF_RECORD_LOST = 0x2 | 1171 | PERF_RECORD_LOST = 0x2 |
1075 | PERF_RECORD_COMM = 0x3 | 1172 | PERF_RECORD_COMM = 0x3 |
1076 | PERF_RECORD_EXIT = 0x4 | 1173 | PERF_RECORD_EXIT = 0x4 |
1077 | PERF_RECORD_THROTTLE = 0x5 | 1174 | PERF_RECORD_THROTTLE = 0x5 |
1078 | PERF_RECORD_UNTHROTTLE = 0x6 | 1175 | PERF_RECORD_UNTHROTTLE = 0x6 |
1079 | PERF_RECORD_FORK = 0x7 | 1176 | PERF_RECORD_FORK = 0x7 |
1080 | PERF_RECORD_READ = 0x8 | 1177 | PERF_RECORD_READ = 0x8 |
1081 | PERF_RECORD_SAMPLE = 0x9 | 1178 | PERF_RECORD_SAMPLE = 0x9 |
1179 | PERF_RECORD_MMAP2 = 0xa | ||
1180 | PERF_RECORD_AUX = 0xb | ||
1181 | PERF_RECORD_ITRACE_START = 0xc | ||
1182 | PERF_RECORD_LOST_SAMPLES = 0xd | ||
1183 | PERF_RECORD_SWITCH = 0xe | ||
1184 | PERF_RECORD_SWITCH_CPU_WIDE = 0xf | ||
1185 | PERF_RECORD_NAMESPACES = 0x10 | ||
1082 | 1186 | ||
1083 | PERF_CONTEXT_HV = -0x20 | 1187 | PERF_CONTEXT_HV = -0x20 |
1084 | PERF_CONTEXT_KERNEL = -0x80 | 1188 | PERF_CONTEXT_KERNEL = -0x80 |
@@ -1091,6 +1195,7 @@ const ( | |||
1091 | PERF_FLAG_FD_NO_GROUP = 0x1 | 1195 | PERF_FLAG_FD_NO_GROUP = 0x1 |
1092 | PERF_FLAG_FD_OUTPUT = 0x2 | 1196 | PERF_FLAG_FD_OUTPUT = 0x2 |
1093 | PERF_FLAG_PID_CGROUP = 0x4 | 1197 | PERF_FLAG_PID_CGROUP = 0x4 |
1198 | PERF_FLAG_FD_CLOEXEC = 0x8 | ||
1094 | ) | 1199 | ) |
1095 | 1200 | ||
1096 | const ( | 1201 | const ( |
@@ -1186,7 +1291,6 @@ type HDGeometry struct { | |||
1186 | Heads uint8 | 1291 | Heads uint8 |
1187 | Sectors uint8 | 1292 | Sectors uint8 |
1188 | Cylinders uint16 | 1293 | Cylinders uint16 |
1189 | _ [4]byte | ||
1190 | Start uint64 | 1294 | Start uint64 |
1191 | } | 1295 | } |
1192 | 1296 | ||
@@ -1349,6 +1453,21 @@ type TpacketBlockDesc struct { | |||
1349 | Hdr [40]byte | 1453 | Hdr [40]byte |
1350 | } | 1454 | } |
1351 | 1455 | ||
1456 | type TpacketBDTS struct { | ||
1457 | Sec uint32 | ||
1458 | Usec uint32 | ||
1459 | } | ||
1460 | |||
1461 | type TpacketHdrV1 struct { | ||
1462 | Block_status uint32 | ||
1463 | Num_pkts uint32 | ||
1464 | Offset_to_first_pkt uint32 | ||
1465 | Blk_len uint32 | ||
1466 | Seq_num uint64 | ||
1467 | Ts_first_pkt TpacketBDTS | ||
1468 | Ts_last_pkt TpacketBDTS | ||
1469 | } | ||
1470 | |||
1352 | type TpacketReq struct { | 1471 | type TpacketReq struct { |
1353 | Block_size uint32 | 1472 | Block_size uint32 |
1354 | Block_nr uint32 | 1473 | Block_nr uint32 |
@@ -1397,6 +1516,9 @@ const ( | |||
1397 | SizeofTpacketHdr = 0x20 | 1516 | SizeofTpacketHdr = 0x20 |
1398 | SizeofTpacket2Hdr = 0x20 | 1517 | SizeofTpacket2Hdr = 0x20 |
1399 | SizeofTpacket3Hdr = 0x30 | 1518 | SizeofTpacket3Hdr = 0x30 |
1519 | |||
1520 | SizeofTpacketStats = 0x8 | ||
1521 | SizeofTpacketStatsV3 = 0xc | ||
1400 | ) | 1522 | ) |
1401 | 1523 | ||
1402 | const ( | 1524 | const ( |
@@ -1872,7 +1994,6 @@ type RTCTime struct { | |||
1872 | type RTCWkAlrm struct { | 1994 | type RTCWkAlrm struct { |
1873 | Enabled uint8 | 1995 | Enabled uint8 |
1874 | Pending uint8 | 1996 | Pending uint8 |
1875 | _ [2]byte | ||
1876 | Time RTCTime | 1997 | Time RTCTime |
1877 | } | 1998 | } |
1878 | 1999 | ||
@@ -1890,7 +2011,6 @@ type BlkpgIoctlArg struct { | |||
1890 | Op int32 | 2011 | Op int32 |
1891 | Flags int32 | 2012 | Flags int32 |
1892 | Datalen int32 | 2013 | Datalen int32 |
1893 | _ [4]byte | ||
1894 | Data *byte | 2014 | Data *byte |
1895 | } | 2015 | } |
1896 | 2016 | ||
@@ -1977,6 +2097,10 @@ const ( | |||
1977 | NCSI_CHANNEL_ATTR_VLAN_ID = 0xa | 2097 | NCSI_CHANNEL_ATTR_VLAN_ID = 0xa |
1978 | ) | 2098 | ) |
1979 | 2099 | ||
2100 | type ScmTimestamping struct { | ||
2101 | Ts [3]Timespec | ||
2102 | } | ||
2103 | |||
1980 | const ( | 2104 | const ( |
1981 | SOF_TIMESTAMPING_TX_HARDWARE = 0x1 | 2105 | SOF_TIMESTAMPING_TX_HARDWARE = 0x1 |
1982 | SOF_TIMESTAMPING_TX_SOFTWARE = 0x2 | 2106 | SOF_TIMESTAMPING_TX_SOFTWARE = 0x2 |
@@ -1996,4 +2120,198 @@ const ( | |||
1996 | 2120 | ||
1997 | SOF_TIMESTAMPING_LAST = 0x4000 | 2121 | SOF_TIMESTAMPING_LAST = 0x4000 |
1998 | SOF_TIMESTAMPING_MASK = 0x7fff | 2122 | SOF_TIMESTAMPING_MASK = 0x7fff |
2123 | |||
2124 | SCM_TSTAMP_SND = 0x0 | ||
2125 | SCM_TSTAMP_SCHED = 0x1 | ||
2126 | SCM_TSTAMP_ACK = 0x2 | ||
2127 | ) | ||
2128 | |||
2129 | type SockExtendedErr struct { | ||
2130 | Errno uint32 | ||
2131 | Origin uint8 | ||
2132 | Type uint8 | ||
2133 | Code uint8 | ||
2134 | Pad uint8 | ||
2135 | Info uint32 | ||
2136 | Data uint32 | ||
2137 | } | ||
2138 | |||
2139 | type FanotifyEventMetadata struct { | ||
2140 | Event_len uint32 | ||
2141 | Vers uint8 | ||
2142 | Reserved uint8 | ||
2143 | Metadata_len uint16 | ||
2144 | Mask uint64 | ||
2145 | Fd int32 | ||
2146 | Pid int32 | ||
2147 | } | ||
2148 | |||
2149 | type FanotifyResponse struct { | ||
2150 | Fd int32 | ||
2151 | Response uint32 | ||
2152 | } | ||
2153 | |||
2154 | const ( | ||
2155 | CRYPTO_MSG_BASE = 0x10 | ||
2156 | CRYPTO_MSG_NEWALG = 0x10 | ||
2157 | CRYPTO_MSG_DELALG = 0x11 | ||
2158 | CRYPTO_MSG_UPDATEALG = 0x12 | ||
2159 | CRYPTO_MSG_GETALG = 0x13 | ||
2160 | CRYPTO_MSG_DELRNG = 0x14 | ||
2161 | CRYPTO_MSG_GETSTAT = 0x15 | ||
1999 | ) | 2162 | ) |
2163 | |||
2164 | const ( | ||
2165 | CRYPTOCFGA_UNSPEC = 0x0 | ||
2166 | CRYPTOCFGA_PRIORITY_VAL = 0x1 | ||
2167 | CRYPTOCFGA_REPORT_LARVAL = 0x2 | ||
2168 | CRYPTOCFGA_REPORT_HASH = 0x3 | ||
2169 | CRYPTOCFGA_REPORT_BLKCIPHER = 0x4 | ||
2170 | CRYPTOCFGA_REPORT_AEAD = 0x5 | ||
2171 | CRYPTOCFGA_REPORT_COMPRESS = 0x6 | ||
2172 | CRYPTOCFGA_REPORT_RNG = 0x7 | ||
2173 | CRYPTOCFGA_REPORT_CIPHER = 0x8 | ||
2174 | CRYPTOCFGA_REPORT_AKCIPHER = 0x9 | ||
2175 | CRYPTOCFGA_REPORT_KPP = 0xa | ||
2176 | CRYPTOCFGA_REPORT_ACOMP = 0xb | ||
2177 | CRYPTOCFGA_STAT_LARVAL = 0xc | ||
2178 | CRYPTOCFGA_STAT_HASH = 0xd | ||
2179 | CRYPTOCFGA_STAT_BLKCIPHER = 0xe | ||
2180 | CRYPTOCFGA_STAT_AEAD = 0xf | ||
2181 | CRYPTOCFGA_STAT_COMPRESS = 0x10 | ||
2182 | CRYPTOCFGA_STAT_RNG = 0x11 | ||
2183 | CRYPTOCFGA_STAT_CIPHER = 0x12 | ||
2184 | CRYPTOCFGA_STAT_AKCIPHER = 0x13 | ||
2185 | CRYPTOCFGA_STAT_KPP = 0x14 | ||
2186 | CRYPTOCFGA_STAT_ACOMP = 0x15 | ||
2187 | ) | ||
2188 | |||
2189 | type CryptoUserAlg struct { | ||
2190 | Name [64]uint8 | ||
2191 | Driver_name [64]uint8 | ||
2192 | Module_name [64]uint8 | ||
2193 | Type uint32 | ||
2194 | Mask uint32 | ||
2195 | Refcnt uint32 | ||
2196 | Flags uint32 | ||
2197 | } | ||
2198 | |||
2199 | type CryptoStatAEAD struct { | ||
2200 | Type [64]uint8 | ||
2201 | Encrypt_cnt uint64 | ||
2202 | Encrypt_tlen uint64 | ||
2203 | Decrypt_cnt uint64 | ||
2204 | Decrypt_tlen uint64 | ||
2205 | Err_cnt uint64 | ||
2206 | } | ||
2207 | |||
2208 | type CryptoStatAKCipher struct { | ||
2209 | Type [64]uint8 | ||
2210 | Encrypt_cnt uint64 | ||
2211 | Encrypt_tlen uint64 | ||
2212 | Decrypt_cnt uint64 | ||
2213 | Decrypt_tlen uint64 | ||
2214 | Verify_cnt uint64 | ||
2215 | Sign_cnt uint64 | ||
2216 | Err_cnt uint64 | ||
2217 | } | ||
2218 | |||
2219 | type CryptoStatCipher struct { | ||
2220 | Type [64]uint8 | ||
2221 | Encrypt_cnt uint64 | ||
2222 | Encrypt_tlen uint64 | ||
2223 | Decrypt_cnt uint64 | ||
2224 | Decrypt_tlen uint64 | ||
2225 | Err_cnt uint64 | ||
2226 | } | ||
2227 | |||
2228 | type CryptoStatCompress struct { | ||
2229 | Type [64]uint8 | ||
2230 | Compress_cnt uint64 | ||
2231 | Compress_tlen uint64 | ||
2232 | Decompress_cnt uint64 | ||
2233 | Decompress_tlen uint64 | ||
2234 | Err_cnt uint64 | ||
2235 | } | ||
2236 | |||
2237 | type CryptoStatHash struct { | ||
2238 | Type [64]uint8 | ||
2239 | Hash_cnt uint64 | ||
2240 | Hash_tlen uint64 | ||
2241 | Err_cnt uint64 | ||
2242 | } | ||
2243 | |||
2244 | type CryptoStatKPP struct { | ||
2245 | Type [64]uint8 | ||
2246 | Setsecret_cnt uint64 | ||
2247 | Generate_public_key_cnt uint64 | ||
2248 | Compute_shared_secret_cnt uint64 | ||
2249 | Err_cnt uint64 | ||
2250 | } | ||
2251 | |||
2252 | type CryptoStatRNG struct { | ||
2253 | Type [64]uint8 | ||
2254 | Generate_cnt uint64 | ||
2255 | Generate_tlen uint64 | ||
2256 | Seed_cnt uint64 | ||
2257 | Err_cnt uint64 | ||
2258 | } | ||
2259 | |||
2260 | type CryptoStatLarval struct { | ||
2261 | Type [64]uint8 | ||
2262 | } | ||
2263 | |||
2264 | type CryptoReportLarval struct { | ||
2265 | Type [64]uint8 | ||
2266 | } | ||
2267 | |||
2268 | type CryptoReportHash struct { | ||
2269 | Type [64]uint8 | ||
2270 | Blocksize uint32 | ||
2271 | Digestsize uint32 | ||
2272 | } | ||
2273 | |||
2274 | type CryptoReportCipher struct { | ||
2275 | Type [64]uint8 | ||
2276 | Blocksize uint32 | ||
2277 | Min_keysize uint32 | ||
2278 | Max_keysize uint32 | ||
2279 | } | ||
2280 | |||
2281 | type CryptoReportBlkCipher struct { | ||
2282 | Type [64]uint8 | ||
2283 | Geniv [64]uint8 | ||
2284 | Blocksize uint32 | ||
2285 | Min_keysize uint32 | ||
2286 | Max_keysize uint32 | ||
2287 | Ivsize uint32 | ||
2288 | } | ||
2289 | |||
2290 | type CryptoReportAEAD struct { | ||
2291 | Type [64]uint8 | ||
2292 | Geniv [64]uint8 | ||
2293 | Blocksize uint32 | ||
2294 | Maxauthsize uint32 | ||
2295 | Ivsize uint32 | ||
2296 | } | ||
2297 | |||
2298 | type CryptoReportComp struct { | ||
2299 | Type [64]uint8 | ||
2300 | } | ||
2301 | |||
2302 | type CryptoReportRNG struct { | ||
2303 | Type [64]uint8 | ||
2304 | Seedsize uint32 | ||
2305 | } | ||
2306 | |||
2307 | type CryptoReportAKCipher struct { | ||
2308 | Type [64]uint8 | ||
2309 | } | ||
2310 | |||
2311 | type CryptoReportKPP struct { | ||
2312 | Type [64]uint8 | ||
2313 | } | ||
2314 | |||
2315 | type CryptoReportAcomp struct { | ||
2316 | Type [64]uint8 | ||
2317 | } | ||