golang.org/x/sys@v0.20.1-0.20240517151509-673e0f94c16d/unix/ztypes_linux.go (about) 1 // Code generated by mkmerge; DO NOT EDIT. 2 3 //go:build linux 4 5 package unix 6 7 const ( 8 SizeofShort = 0x2 9 SizeofInt = 0x4 10 SizeofLongLong = 0x8 11 PathMax = 0x1000 12 ) 13 14 type ( 15 _C_short int16 16 _C_int int32 17 18 _C_long_long int64 19 ) 20 21 type ItimerSpec struct { 22 Interval Timespec 23 Value Timespec 24 } 25 26 type Itimerval struct { 27 Interval Timeval 28 Value Timeval 29 } 30 31 const ( 32 ADJ_OFFSET = 0x1 33 ADJ_FREQUENCY = 0x2 34 ADJ_MAXERROR = 0x4 35 ADJ_ESTERROR = 0x8 36 ADJ_STATUS = 0x10 37 ADJ_TIMECONST = 0x20 38 ADJ_TAI = 0x80 39 ADJ_SETOFFSET = 0x100 40 ADJ_MICRO = 0x1000 41 ADJ_NANO = 0x2000 42 ADJ_TICK = 0x4000 43 ADJ_OFFSET_SINGLESHOT = 0x8001 44 ADJ_OFFSET_SS_READ = 0xa001 45 ) 46 47 const ( 48 STA_PLL = 0x1 49 STA_PPSFREQ = 0x2 50 STA_PPSTIME = 0x4 51 STA_FLL = 0x8 52 STA_INS = 0x10 53 STA_DEL = 0x20 54 STA_UNSYNC = 0x40 55 STA_FREQHOLD = 0x80 56 STA_PPSSIGNAL = 0x100 57 STA_PPSJITTER = 0x200 58 STA_PPSWANDER = 0x400 59 STA_PPSERROR = 0x800 60 STA_CLOCKERR = 0x1000 61 STA_NANO = 0x2000 62 STA_MODE = 0x4000 63 STA_CLK = 0x8000 64 ) 65 66 const ( 67 TIME_OK = 0x0 68 TIME_INS = 0x1 69 TIME_DEL = 0x2 70 TIME_OOP = 0x3 71 TIME_WAIT = 0x4 72 TIME_ERROR = 0x5 73 TIME_BAD = 0x5 74 ) 75 76 type Rlimit struct { 77 Cur uint64 78 Max uint64 79 } 80 81 type _Gid_t uint32 82 83 type StatxTimestamp struct { 84 Sec int64 85 Nsec uint32 86 _ int32 87 } 88 89 type Statx_t struct { 90 Mask uint32 91 Blksize uint32 92 Attributes uint64 93 Nlink uint32 94 Uid uint32 95 Gid uint32 96 Mode uint16 97 _ [1]uint16 98 Ino uint64 99 Size uint64 100 Blocks uint64 101 Attributes_mask uint64 102 Atime StatxTimestamp 103 Btime StatxTimestamp 104 Ctime StatxTimestamp 105 Mtime StatxTimestamp 106 Rdev_major uint32 107 Rdev_minor uint32 108 Dev_major uint32 109 Dev_minor uint32 110 Mnt_id uint64 111 Dio_mem_align uint32 112 Dio_offset_align uint32 113 _ [12]uint64 114 } 115 116 type Fsid struct { 117 Val [2]int32 118 } 119 120 type FileCloneRange struct { 121 Src_fd int64 122 Src_offset uint64 123 Src_length uint64 124 Dest_offset uint64 125 } 126 127 type RawFileDedupeRange struct { 128 Src_offset uint64 129 Src_length uint64 130 Dest_count uint16 131 Reserved1 uint16 132 Reserved2 uint32 133 } 134 135 type RawFileDedupeRangeInfo struct { 136 Dest_fd int64 137 Dest_offset uint64 138 Bytes_deduped uint64 139 Status int32 140 Reserved uint32 141 } 142 143 const ( 144 SizeofRawFileDedupeRange = 0x18 145 SizeofRawFileDedupeRangeInfo = 0x20 146 FILE_DEDUPE_RANGE_SAME = 0x0 147 FILE_DEDUPE_RANGE_DIFFERS = 0x1 148 ) 149 150 type FscryptPolicy struct { 151 Version uint8 152 Contents_encryption_mode uint8 153 Filenames_encryption_mode uint8 154 Flags uint8 155 Master_key_descriptor [8]uint8 156 } 157 158 type FscryptKey struct { 159 Mode uint32 160 Raw [64]uint8 161 Size uint32 162 } 163 164 type FscryptPolicyV1 struct { 165 Version uint8 166 Contents_encryption_mode uint8 167 Filenames_encryption_mode uint8 168 Flags uint8 169 Master_key_descriptor [8]uint8 170 } 171 172 type FscryptPolicyV2 struct { 173 Version uint8 174 Contents_encryption_mode uint8 175 Filenames_encryption_mode uint8 176 Flags uint8 177 Log2_data_unit_size uint8 178 _ [3]uint8 179 Master_key_identifier [16]uint8 180 } 181 182 type FscryptGetPolicyExArg struct { 183 Size uint64 184 Policy [24]byte 185 } 186 187 type FscryptKeySpecifier struct { 188 Type uint32 189 _ uint32 190 U [32]byte 191 } 192 193 type FscryptAddKeyArg struct { 194 Key_spec FscryptKeySpecifier 195 Raw_size uint32 196 Key_id uint32 197 _ [8]uint32 198 } 199 200 type FscryptRemoveKeyArg struct { 201 Key_spec FscryptKeySpecifier 202 Removal_status_flags uint32 203 _ [5]uint32 204 } 205 206 type FscryptGetKeyStatusArg struct { 207 Key_spec FscryptKeySpecifier 208 _ [6]uint32 209 Status uint32 210 Status_flags uint32 211 User_count uint32 212 _ [13]uint32 213 } 214 215 type DmIoctl struct { 216 Version [3]uint32 217 Data_size uint32 218 Data_start uint32 219 Target_count uint32 220 Open_count int32 221 Flags uint32 222 Event_nr uint32 223 _ uint32 224 Dev uint64 225 Name [128]byte 226 Uuid [129]byte 227 Data [7]byte 228 } 229 230 type DmTargetSpec struct { 231 Sector_start uint64 232 Length uint64 233 Status int32 234 Next uint32 235 Target_type [16]byte 236 } 237 238 type DmTargetDeps struct { 239 Count uint32 240 _ uint32 241 } 242 243 type DmTargetVersions struct { 244 Next uint32 245 Version [3]uint32 246 } 247 248 type DmTargetMsg struct { 249 Sector uint64 250 } 251 252 const ( 253 SizeofDmIoctl = 0x138 254 SizeofDmTargetSpec = 0x28 255 ) 256 257 type KeyctlDHParams struct { 258 Private int32 259 Prime int32 260 Base int32 261 } 262 263 const ( 264 FADV_NORMAL = 0x0 265 FADV_RANDOM = 0x1 266 FADV_SEQUENTIAL = 0x2 267 FADV_WILLNEED = 0x3 268 ) 269 270 type RawSockaddrInet4 struct { 271 Family uint16 272 Port uint16 273 Addr [4]byte /* in_addr */ 274 Zero [8]uint8 275 } 276 277 type RawSockaddrInet6 struct { 278 Family uint16 279 Port uint16 280 Flowinfo uint32 281 Addr [16]byte /* in6_addr */ 282 Scope_id uint32 283 } 284 285 type RawSockaddrUnix struct { 286 Family uint16 287 Path [108]int8 288 } 289 290 type RawSockaddrLinklayer struct { 291 Family uint16 292 Protocol uint16 293 Ifindex int32 294 Hatype uint16 295 Pkttype uint8 296 Halen uint8 297 Addr [8]uint8 298 } 299 300 type RawSockaddrNetlink struct { 301 Family uint16 302 Pad uint16 303 Pid uint32 304 Groups uint32 305 } 306 307 type RawSockaddrHCI struct { 308 Family uint16 309 Dev uint16 310 Channel uint16 311 } 312 313 type RawSockaddrL2 struct { 314 Family uint16 315 Psm uint16 316 Bdaddr [6]uint8 317 Cid uint16 318 Bdaddr_type uint8 319 _ [1]byte 320 } 321 322 type RawSockaddrRFCOMM struct { 323 Family uint16 324 Bdaddr [6]uint8 325 Channel uint8 326 _ [1]byte 327 } 328 329 type RawSockaddrCAN struct { 330 Family uint16 331 Ifindex int32 332 Addr [16]byte 333 } 334 335 type RawSockaddrALG struct { 336 Family uint16 337 Type [14]uint8 338 Feat uint32 339 Mask uint32 340 Name [64]uint8 341 } 342 343 type RawSockaddrVM struct { 344 Family uint16 345 Reserved1 uint16 346 Port uint32 347 Cid uint32 348 Flags uint8 349 Zero [3]uint8 350 } 351 352 type RawSockaddrXDP struct { 353 Family uint16 354 Flags uint16 355 Ifindex uint32 356 Queue_id uint32 357 Shared_umem_fd uint32 358 } 359 360 type RawSockaddrPPPoX [0x1e]byte 361 362 type RawSockaddrTIPC struct { 363 Family uint16 364 Addrtype uint8 365 Scope int8 366 Addr [12]byte 367 } 368 369 type RawSockaddrL2TPIP struct { 370 Family uint16 371 Unused uint16 372 Addr [4]byte /* in_addr */ 373 Conn_id uint32 374 _ [4]uint8 375 } 376 377 type RawSockaddrL2TPIP6 struct { 378 Family uint16 379 Unused uint16 380 Flowinfo uint32 381 Addr [16]byte /* in6_addr */ 382 Scope_id uint32 383 Conn_id uint32 384 } 385 386 type RawSockaddrIUCV struct { 387 Family uint16 388 Port uint16 389 Addr uint32 390 Nodeid [8]int8 391 User_id [8]int8 392 Name [8]int8 393 } 394 395 type RawSockaddrNFC struct { 396 Sa_family uint16 397 Dev_idx uint32 398 Target_idx uint32 399 Nfc_protocol uint32 400 } 401 402 type _Socklen uint32 403 404 type Linger struct { 405 Onoff int32 406 Linger int32 407 } 408 409 type IPMreq struct { 410 Multiaddr [4]byte /* in_addr */ 411 Interface [4]byte /* in_addr */ 412 } 413 414 type IPMreqn struct { 415 Multiaddr [4]byte /* in_addr */ 416 Address [4]byte /* in_addr */ 417 Ifindex int32 418 } 419 420 type IPv6Mreq struct { 421 Multiaddr [16]byte /* in6_addr */ 422 Interface uint32 423 } 424 425 type PacketMreq struct { 426 Ifindex int32 427 Type uint16 428 Alen uint16 429 Address [8]uint8 430 } 431 432 type Inet4Pktinfo struct { 433 Ifindex int32 434 Spec_dst [4]byte /* in_addr */ 435 Addr [4]byte /* in_addr */ 436 } 437 438 type Inet6Pktinfo struct { 439 Addr [16]byte /* in6_addr */ 440 Ifindex uint32 441 } 442 443 type IPv6MTUInfo struct { 444 Addr RawSockaddrInet6 445 Mtu uint32 446 } 447 448 type ICMPv6Filter struct { 449 Data [8]uint32 450 } 451 452 type Ucred struct { 453 Pid int32 454 Uid uint32 455 Gid uint32 456 } 457 458 type TCPInfo struct { 459 State uint8 460 Ca_state uint8 461 Retransmits uint8 462 Probes uint8 463 Backoff uint8 464 Options uint8 465 Rto uint32 466 Ato uint32 467 Snd_mss uint32 468 Rcv_mss uint32 469 Unacked uint32 470 Sacked uint32 471 Lost uint32 472 Retrans uint32 473 Fackets uint32 474 Last_data_sent uint32 475 Last_ack_sent uint32 476 Last_data_recv uint32 477 Last_ack_recv uint32 478 Pmtu uint32 479 Rcv_ssthresh uint32 480 Rtt uint32 481 Rttvar uint32 482 Snd_ssthresh uint32 483 Snd_cwnd uint32 484 Advmss uint32 485 Reordering uint32 486 Rcv_rtt uint32 487 Rcv_space uint32 488 Total_retrans uint32 489 Pacing_rate uint64 490 Max_pacing_rate uint64 491 Bytes_acked uint64 492 Bytes_received uint64 493 Segs_out uint32 494 Segs_in uint32 495 Notsent_bytes uint32 496 Min_rtt uint32 497 Data_segs_in uint32 498 Data_segs_out uint32 499 Delivery_rate uint64 500 Busy_time uint64 501 Rwnd_limited uint64 502 Sndbuf_limited uint64 503 Delivered uint32 504 Delivered_ce uint32 505 Bytes_sent uint64 506 Bytes_retrans uint64 507 Dsack_dups uint32 508 Reord_seen uint32 509 Rcv_ooopack uint32 510 Snd_wnd uint32 511 Rcv_wnd uint32 512 Rehash uint32 513 Total_rto uint16 514 Total_rto_recoveries uint16 515 Total_rto_time uint32 516 } 517 518 type CanFilter struct { 519 Id uint32 520 Mask uint32 521 } 522 523 type TCPRepairOpt struct { 524 Code uint32 525 Val uint32 526 } 527 528 const ( 529 SizeofSockaddrInet4 = 0x10 530 SizeofSockaddrInet6 = 0x1c 531 SizeofSockaddrAny = 0x70 532 SizeofSockaddrUnix = 0x6e 533 SizeofSockaddrLinklayer = 0x14 534 SizeofSockaddrNetlink = 0xc 535 SizeofSockaddrHCI = 0x6 536 SizeofSockaddrL2 = 0xe 537 SizeofSockaddrRFCOMM = 0xa 538 SizeofSockaddrCAN = 0x18 539 SizeofSockaddrALG = 0x58 540 SizeofSockaddrVM = 0x10 541 SizeofSockaddrXDP = 0x10 542 SizeofSockaddrPPPoX = 0x1e 543 SizeofSockaddrTIPC = 0x10 544 SizeofSockaddrL2TPIP = 0x10 545 SizeofSockaddrL2TPIP6 = 0x20 546 SizeofSockaddrIUCV = 0x20 547 SizeofSockaddrNFC = 0x10 548 SizeofLinger = 0x8 549 SizeofIPMreq = 0x8 550 SizeofIPMreqn = 0xc 551 SizeofIPv6Mreq = 0x14 552 SizeofPacketMreq = 0x10 553 SizeofInet4Pktinfo = 0xc 554 SizeofInet6Pktinfo = 0x14 555 SizeofIPv6MTUInfo = 0x20 556 SizeofICMPv6Filter = 0x20 557 SizeofUcred = 0xc 558 SizeofTCPInfo = 0xf8 559 SizeofCanFilter = 0x8 560 SizeofTCPRepairOpt = 0x8 561 ) 562 563 const ( 564 NDA_UNSPEC = 0x0 565 NDA_DST = 0x1 566 NDA_LLADDR = 0x2 567 NDA_CACHEINFO = 0x3 568 NDA_PROBES = 0x4 569 NDA_VLAN = 0x5 570 NDA_PORT = 0x6 571 NDA_VNI = 0x7 572 NDA_IFINDEX = 0x8 573 NDA_MASTER = 0x9 574 NDA_LINK_NETNSID = 0xa 575 NDA_SRC_VNI = 0xb 576 NTF_USE = 0x1 577 NTF_SELF = 0x2 578 NTF_MASTER = 0x4 579 NTF_PROXY = 0x8 580 NTF_EXT_LEARNED = 0x10 581 NTF_OFFLOADED = 0x20 582 NTF_ROUTER = 0x80 583 NUD_INCOMPLETE = 0x1 584 NUD_REACHABLE = 0x2 585 NUD_STALE = 0x4 586 NUD_DELAY = 0x8 587 NUD_PROBE = 0x10 588 NUD_FAILED = 0x20 589 NUD_NOARP = 0x40 590 NUD_PERMANENT = 0x80 591 NUD_NONE = 0x0 592 IFA_UNSPEC = 0x0 593 IFA_ADDRESS = 0x1 594 IFA_LOCAL = 0x2 595 IFA_LABEL = 0x3 596 IFA_BROADCAST = 0x4 597 IFA_ANYCAST = 0x5 598 IFA_CACHEINFO = 0x6 599 IFA_MULTICAST = 0x7 600 IFA_FLAGS = 0x8 601 IFA_RT_PRIORITY = 0x9 602 IFA_TARGET_NETNSID = 0xa 603 RT_SCOPE_UNIVERSE = 0x0 604 RT_SCOPE_SITE = 0xc8 605 RT_SCOPE_LINK = 0xfd 606 RT_SCOPE_HOST = 0xfe 607 RT_SCOPE_NOWHERE = 0xff 608 RT_TABLE_UNSPEC = 0x0 609 RT_TABLE_COMPAT = 0xfc 610 RT_TABLE_DEFAULT = 0xfd 611 RT_TABLE_MAIN = 0xfe 612 RT_TABLE_LOCAL = 0xff 613 RT_TABLE_MAX = 0xffffffff 614 RTA_UNSPEC = 0x0 615 RTA_DST = 0x1 616 RTA_SRC = 0x2 617 RTA_IIF = 0x3 618 RTA_OIF = 0x4 619 RTA_GATEWAY = 0x5 620 RTA_PRIORITY = 0x6 621 RTA_PREFSRC = 0x7 622 RTA_METRICS = 0x8 623 RTA_MULTIPATH = 0x9 624 RTA_FLOW = 0xb 625 RTA_CACHEINFO = 0xc 626 RTA_TABLE = 0xf 627 RTA_MARK = 0x10 628 RTA_MFC_STATS = 0x11 629 RTA_VIA = 0x12 630 RTA_NEWDST = 0x13 631 RTA_PREF = 0x14 632 RTA_ENCAP_TYPE = 0x15 633 RTA_ENCAP = 0x16 634 RTA_EXPIRES = 0x17 635 RTA_PAD = 0x18 636 RTA_UID = 0x19 637 RTA_TTL_PROPAGATE = 0x1a 638 RTA_IP_PROTO = 0x1b 639 RTA_SPORT = 0x1c 640 RTA_DPORT = 0x1d 641 RTN_UNSPEC = 0x0 642 RTN_UNICAST = 0x1 643 RTN_LOCAL = 0x2 644 RTN_BROADCAST = 0x3 645 RTN_ANYCAST = 0x4 646 RTN_MULTICAST = 0x5 647 RTN_BLACKHOLE = 0x6 648 RTN_UNREACHABLE = 0x7 649 RTN_PROHIBIT = 0x8 650 RTN_THROW = 0x9 651 RTN_NAT = 0xa 652 RTN_XRESOLVE = 0xb 653 SizeofNlMsghdr = 0x10 654 SizeofNlMsgerr = 0x14 655 SizeofRtGenmsg = 0x1 656 SizeofNlAttr = 0x4 657 SizeofRtAttr = 0x4 658 SizeofIfInfomsg = 0x10 659 SizeofIfAddrmsg = 0x8 660 SizeofIfaCacheinfo = 0x10 661 SizeofRtMsg = 0xc 662 SizeofRtNexthop = 0x8 663 SizeofNdUseroptmsg = 0x10 664 SizeofNdMsg = 0xc 665 ) 666 667 type NlMsghdr struct { 668 Len uint32 669 Type uint16 670 Flags uint16 671 Seq uint32 672 Pid uint32 673 } 674 675 type NlMsgerr struct { 676 Error int32 677 Msg NlMsghdr 678 } 679 680 type RtGenmsg struct { 681 Family uint8 682 } 683 684 type NlAttr struct { 685 Len uint16 686 Type uint16 687 } 688 689 type RtAttr struct { 690 Len uint16 691 Type uint16 692 } 693 694 type IfInfomsg struct { 695 Family uint8 696 _ uint8 697 Type uint16 698 Index int32 699 Flags uint32 700 Change uint32 701 } 702 703 type IfAddrmsg struct { 704 Family uint8 705 Prefixlen uint8 706 Flags uint8 707 Scope uint8 708 Index uint32 709 } 710 711 type IfaCacheinfo struct { 712 Prefered uint32 713 Valid uint32 714 Cstamp uint32 715 Tstamp uint32 716 } 717 718 type RtMsg struct { 719 Family uint8 720 Dst_len uint8 721 Src_len uint8 722 Tos uint8 723 Table uint8 724 Protocol uint8 725 Scope uint8 726 Type uint8 727 Flags uint32 728 } 729 730 type RtNexthop struct { 731 Len uint16 732 Flags uint8 733 Hops uint8 734 Ifindex int32 735 } 736 737 type NdUseroptmsg struct { 738 Family uint8 739 Pad1 uint8 740 Opts_len uint16 741 Ifindex int32 742 Icmp_type uint8 743 Icmp_code uint8 744 Pad2 uint16 745 Pad3 uint32 746 } 747 748 type NdMsg struct { 749 Family uint8 750 Pad1 uint8 751 Pad2 uint16 752 Ifindex int32 753 State uint16 754 Flags uint8 755 Type uint8 756 } 757 758 const ( 759 ICMP_FILTER = 0x1 760 761 ICMPV6_FILTER = 0x1 762 ICMPV6_FILTER_BLOCK = 0x1 763 ICMPV6_FILTER_BLOCKOTHERS = 0x3 764 ICMPV6_FILTER_PASS = 0x2 765 ICMPV6_FILTER_PASSONLY = 0x4 766 ) 767 768 const ( 769 SizeofSockFilter = 0x8 770 ) 771 772 type SockFilter struct { 773 Code uint16 774 Jt uint8 775 Jf uint8 776 K uint32 777 } 778 779 type SockFprog struct { 780 Len uint16 781 Filter *SockFilter 782 } 783 784 type InotifyEvent struct { 785 Wd int32 786 Mask uint32 787 Cookie uint32 788 Len uint32 789 } 790 791 const SizeofInotifyEvent = 0x10 792 793 const SI_LOAD_SHIFT = 0x10 794 795 type Utsname struct { 796 Sysname [65]byte 797 Nodename [65]byte 798 Release [65]byte 799 Version [65]byte 800 Machine [65]byte 801 Domainname [65]byte 802 } 803 804 const ( 805 AT_EMPTY_PATH = 0x1000 806 AT_FDCWD = -0x64 807 AT_NO_AUTOMOUNT = 0x800 808 AT_REMOVEDIR = 0x200 809 810 AT_STATX_SYNC_AS_STAT = 0x0 811 AT_STATX_FORCE_SYNC = 0x2000 812 AT_STATX_DONT_SYNC = 0x4000 813 814 AT_RECURSIVE = 0x8000 815 816 AT_SYMLINK_FOLLOW = 0x400 817 AT_SYMLINK_NOFOLLOW = 0x100 818 819 AT_EACCESS = 0x200 820 821 OPEN_TREE_CLONE = 0x1 822 823 MOVE_MOUNT_F_SYMLINKS = 0x1 824 MOVE_MOUNT_F_AUTOMOUNTS = 0x2 825 MOVE_MOUNT_F_EMPTY_PATH = 0x4 826 MOVE_MOUNT_T_SYMLINKS = 0x10 827 MOVE_MOUNT_T_AUTOMOUNTS = 0x20 828 MOVE_MOUNT_T_EMPTY_PATH = 0x40 829 MOVE_MOUNT_SET_GROUP = 0x100 830 831 FSOPEN_CLOEXEC = 0x1 832 833 FSPICK_CLOEXEC = 0x1 834 FSPICK_SYMLINK_NOFOLLOW = 0x2 835 FSPICK_NO_AUTOMOUNT = 0x4 836 FSPICK_EMPTY_PATH = 0x8 837 838 FSMOUNT_CLOEXEC = 0x1 839 840 FSCONFIG_SET_FLAG = 0x0 841 FSCONFIG_SET_STRING = 0x1 842 FSCONFIG_SET_BINARY = 0x2 843 FSCONFIG_SET_PATH = 0x3 844 FSCONFIG_SET_PATH_EMPTY = 0x4 845 FSCONFIG_SET_FD = 0x5 846 FSCONFIG_CMD_CREATE = 0x6 847 FSCONFIG_CMD_RECONFIGURE = 0x7 848 ) 849 850 type OpenHow struct { 851 Flags uint64 852 Mode uint64 853 Resolve uint64 854 } 855 856 const SizeofOpenHow = 0x18 857 858 const ( 859 RESOLVE_BENEATH = 0x8 860 RESOLVE_IN_ROOT = 0x10 861 RESOLVE_NO_MAGICLINKS = 0x2 862 RESOLVE_NO_SYMLINKS = 0x4 863 RESOLVE_NO_XDEV = 0x1 864 ) 865 866 type PollFd struct { 867 Fd int32 868 Events int16 869 Revents int16 870 } 871 872 const ( 873 POLLIN = 0x1 874 POLLPRI = 0x2 875 POLLOUT = 0x4 876 POLLERR = 0x8 877 POLLHUP = 0x10 878 POLLNVAL = 0x20 879 ) 880 881 type sigset_argpack struct { 882 ss *Sigset_t 883 ssLen uintptr 884 } 885 886 type SignalfdSiginfo struct { 887 Signo uint32 888 Errno int32 889 Code int32 890 Pid uint32 891 Uid uint32 892 Fd int32 893 Tid uint32 894 Band uint32 895 Overrun uint32 896 Trapno uint32 897 Status int32 898 Int int32 899 Ptr uint64 900 Utime uint64 901 Stime uint64 902 Addr uint64 903 Addr_lsb uint16 904 _ uint16 905 Syscall int32 906 Call_addr uint64 907 Arch uint32 908 _ [28]uint8 909 } 910 911 type Winsize struct { 912 Row uint16 913 Col uint16 914 Xpixel uint16 915 Ypixel uint16 916 } 917 918 const ( 919 TASKSTATS_CMD_UNSPEC = 0x0 920 TASKSTATS_CMD_GET = 0x1 921 TASKSTATS_CMD_NEW = 0x2 922 TASKSTATS_TYPE_UNSPEC = 0x0 923 TASKSTATS_TYPE_PID = 0x1 924 TASKSTATS_TYPE_TGID = 0x2 925 TASKSTATS_TYPE_STATS = 0x3 926 TASKSTATS_TYPE_AGGR_PID = 0x4 927 TASKSTATS_TYPE_AGGR_TGID = 0x5 928 TASKSTATS_TYPE_NULL = 0x6 929 TASKSTATS_CMD_ATTR_UNSPEC = 0x0 930 TASKSTATS_CMD_ATTR_PID = 0x1 931 TASKSTATS_CMD_ATTR_TGID = 0x2 932 TASKSTATS_CMD_ATTR_REGISTER_CPUMASK = 0x3 933 TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK = 0x4 934 ) 935 936 type CGroupStats struct { 937 Sleeping uint64 938 Running uint64 939 Stopped uint64 940 Uninterruptible uint64 941 Io_wait uint64 942 } 943 944 const ( 945 CGROUPSTATS_CMD_UNSPEC = 0x3 946 CGROUPSTATS_CMD_GET = 0x4 947 CGROUPSTATS_CMD_NEW = 0x5 948 CGROUPSTATS_TYPE_UNSPEC = 0x0 949 CGROUPSTATS_TYPE_CGROUP_STATS = 0x1 950 CGROUPSTATS_CMD_ATTR_UNSPEC = 0x0 951 CGROUPSTATS_CMD_ATTR_FD = 0x1 952 ) 953 954 type Genlmsghdr struct { 955 Cmd uint8 956 Version uint8 957 Reserved uint16 958 } 959 960 const ( 961 CTRL_CMD_UNSPEC = 0x0 962 CTRL_CMD_NEWFAMILY = 0x1 963 CTRL_CMD_DELFAMILY = 0x2 964 CTRL_CMD_GETFAMILY = 0x3 965 CTRL_CMD_NEWOPS = 0x4 966 CTRL_CMD_DELOPS = 0x5 967 CTRL_CMD_GETOPS = 0x6 968 CTRL_CMD_NEWMCAST_GRP = 0x7 969 CTRL_CMD_DELMCAST_GRP = 0x8 970 CTRL_CMD_GETMCAST_GRP = 0x9 971 CTRL_CMD_GETPOLICY = 0xa 972 CTRL_ATTR_UNSPEC = 0x0 973 CTRL_ATTR_FAMILY_ID = 0x1 974 CTRL_ATTR_FAMILY_NAME = 0x2 975 CTRL_ATTR_VERSION = 0x3 976 CTRL_ATTR_HDRSIZE = 0x4 977 CTRL_ATTR_MAXATTR = 0x5 978 CTRL_ATTR_OPS = 0x6 979 CTRL_ATTR_MCAST_GROUPS = 0x7 980 CTRL_ATTR_POLICY = 0x8 981 CTRL_ATTR_OP_POLICY = 0x9 982 CTRL_ATTR_OP = 0xa 983 CTRL_ATTR_OP_UNSPEC = 0x0 984 CTRL_ATTR_OP_ID = 0x1 985 CTRL_ATTR_OP_FLAGS = 0x2 986 CTRL_ATTR_MCAST_GRP_UNSPEC = 0x0 987 CTRL_ATTR_MCAST_GRP_NAME = 0x1 988 CTRL_ATTR_MCAST_GRP_ID = 0x2 989 CTRL_ATTR_POLICY_UNSPEC = 0x0 990 CTRL_ATTR_POLICY_DO = 0x1 991 CTRL_ATTR_POLICY_DUMP = 0x2 992 CTRL_ATTR_POLICY_DUMP_MAX = 0x2 993 ) 994 995 const ( 996 _CPU_SETSIZE = 0x400 997 ) 998 999 const ( 1000 BDADDR_BREDR = 0x0 1001 BDADDR_LE_PUBLIC = 0x1 1002 BDADDR_LE_RANDOM = 0x2 1003 ) 1004 1005 type PerfEventAttr struct { 1006 Type uint32 1007 Size uint32 1008 Config uint64 1009 Sample uint64 1010 Sample_type uint64 1011 Read_format uint64 1012 Bits uint64 1013 Wakeup uint32 1014 Bp_type uint32 1015 Ext1 uint64 1016 Ext2 uint64 1017 Branch_sample_type uint64 1018 Sample_regs_user uint64 1019 Sample_stack_user uint32 1020 Clockid int32 1021 Sample_regs_intr uint64 1022 Aux_watermark uint32 1023 Sample_max_stack uint16 1024 _ uint16 1025 Aux_sample_size uint32 1026 _ uint32 1027 Sig_data uint64 1028 } 1029 1030 type PerfEventMmapPage struct { 1031 Version uint32 1032 Compat_version uint32 1033 Lock uint32 1034 Index uint32 1035 Offset int64 1036 Time_enabled uint64 1037 Time_running uint64 1038 Capabilities uint64 1039 Pmc_width uint16 1040 Time_shift uint16 1041 Time_mult uint32 1042 Time_offset uint64 1043 Time_zero uint64 1044 Size uint32 1045 _ uint32 1046 Time_cycles uint64 1047 Time_mask uint64 1048 _ [928]uint8 1049 Data_head uint64 1050 Data_tail uint64 1051 Data_offset uint64 1052 Data_size uint64 1053 Aux_head uint64 1054 Aux_tail uint64 1055 Aux_offset uint64 1056 Aux_size uint64 1057 } 1058 1059 const ( 1060 PerfBitDisabled uint64 = CBitFieldMaskBit0 1061 PerfBitInherit = CBitFieldMaskBit1 1062 PerfBitPinned = CBitFieldMaskBit2 1063 PerfBitExclusive = CBitFieldMaskBit3 1064 PerfBitExcludeUser = CBitFieldMaskBit4 1065 PerfBitExcludeKernel = CBitFieldMaskBit5 1066 PerfBitExcludeHv = CBitFieldMaskBit6 1067 PerfBitExcludeIdle = CBitFieldMaskBit7 1068 PerfBitMmap = CBitFieldMaskBit8 1069 PerfBitComm = CBitFieldMaskBit9 1070 PerfBitFreq = CBitFieldMaskBit10 1071 PerfBitInheritStat = CBitFieldMaskBit11 1072 PerfBitEnableOnExec = CBitFieldMaskBit12 1073 PerfBitTask = CBitFieldMaskBit13 1074 PerfBitWatermark = CBitFieldMaskBit14 1075 PerfBitPreciseIPBit1 = CBitFieldMaskBit15 1076 PerfBitPreciseIPBit2 = CBitFieldMaskBit16 1077 PerfBitMmapData = CBitFieldMaskBit17 1078 PerfBitSampleIDAll = CBitFieldMaskBit18 1079 PerfBitExcludeHost = CBitFieldMaskBit19 1080 PerfBitExcludeGuest = CBitFieldMaskBit20 1081 PerfBitExcludeCallchainKernel = CBitFieldMaskBit21 1082 PerfBitExcludeCallchainUser = CBitFieldMaskBit22 1083 PerfBitMmap2 = CBitFieldMaskBit23 1084 PerfBitCommExec = CBitFieldMaskBit24 1085 PerfBitUseClockID = CBitFieldMaskBit25 1086 PerfBitContextSwitch = CBitFieldMaskBit26 1087 PerfBitWriteBackward = CBitFieldMaskBit27 1088 ) 1089 1090 const ( 1091 PERF_TYPE_HARDWARE = 0x0 1092 PERF_TYPE_SOFTWARE = 0x1 1093 PERF_TYPE_TRACEPOINT = 0x2 1094 PERF_TYPE_HW_CACHE = 0x3 1095 PERF_TYPE_RAW = 0x4 1096 PERF_TYPE_BREAKPOINT = 0x5 1097 PERF_TYPE_MAX = 0x6 1098 PERF_COUNT_HW_CPU_CYCLES = 0x0 1099 PERF_COUNT_HW_INSTRUCTIONS = 0x1 1100 PERF_COUNT_HW_CACHE_REFERENCES = 0x2 1101 PERF_COUNT_HW_CACHE_MISSES = 0x3 1102 PERF_COUNT_HW_BRANCH_INSTRUCTIONS = 0x4 1103 PERF_COUNT_HW_BRANCH_MISSES = 0x5 1104 PERF_COUNT_HW_BUS_CYCLES = 0x6 1105 PERF_COUNT_HW_STALLED_CYCLES_FRONTEND = 0x7 1106 PERF_COUNT_HW_STALLED_CYCLES_BACKEND = 0x8 1107 PERF_COUNT_HW_REF_CPU_CYCLES = 0x9 1108 PERF_COUNT_HW_MAX = 0xa 1109 PERF_COUNT_HW_CACHE_L1D = 0x0 1110 PERF_COUNT_HW_CACHE_L1I = 0x1 1111 PERF_COUNT_HW_CACHE_LL = 0x2 1112 PERF_COUNT_HW_CACHE_DTLB = 0x3 1113 PERF_COUNT_HW_CACHE_ITLB = 0x4 1114 PERF_COUNT_HW_CACHE_BPU = 0x5 1115 PERF_COUNT_HW_CACHE_NODE = 0x6 1116 PERF_COUNT_HW_CACHE_MAX = 0x7 1117 PERF_COUNT_HW_CACHE_OP_READ = 0x0 1118 PERF_COUNT_HW_CACHE_OP_WRITE = 0x1 1119 PERF_COUNT_HW_CACHE_OP_PREFETCH = 0x2 1120 PERF_COUNT_HW_CACHE_OP_MAX = 0x3 1121 PERF_COUNT_HW_CACHE_RESULT_ACCESS = 0x0 1122 PERF_COUNT_HW_CACHE_RESULT_MISS = 0x1 1123 PERF_COUNT_HW_CACHE_RESULT_MAX = 0x2 1124 PERF_COUNT_SW_CPU_CLOCK = 0x0 1125 PERF_COUNT_SW_TASK_CLOCK = 0x1 1126 PERF_COUNT_SW_PAGE_FAULTS = 0x2 1127 PERF_COUNT_SW_CONTEXT_SWITCHES = 0x3 1128 PERF_COUNT_SW_CPU_MIGRATIONS = 0x4 1129 PERF_COUNT_SW_PAGE_FAULTS_MIN = 0x5 1130 PERF_COUNT_SW_PAGE_FAULTS_MAJ = 0x6 1131 PERF_COUNT_SW_ALIGNMENT_FAULTS = 0x7 1132 PERF_COUNT_SW_EMULATION_FAULTS = 0x8 1133 PERF_COUNT_SW_DUMMY = 0x9 1134 PERF_COUNT_SW_BPF_OUTPUT = 0xa 1135 PERF_COUNT_SW_MAX = 0xc 1136 PERF_SAMPLE_IP = 0x1 1137 PERF_SAMPLE_TID = 0x2 1138 PERF_SAMPLE_TIME = 0x4 1139 PERF_SAMPLE_ADDR = 0x8 1140 PERF_SAMPLE_READ = 0x10 1141 PERF_SAMPLE_CALLCHAIN = 0x20 1142 PERF_SAMPLE_ID = 0x40 1143 PERF_SAMPLE_CPU = 0x80 1144 PERF_SAMPLE_PERIOD = 0x100 1145 PERF_SAMPLE_STREAM_ID = 0x200 1146 PERF_SAMPLE_RAW = 0x400 1147 PERF_SAMPLE_BRANCH_STACK = 0x800 1148 PERF_SAMPLE_REGS_USER = 0x1000 1149 PERF_SAMPLE_STACK_USER = 0x2000 1150 PERF_SAMPLE_WEIGHT = 0x4000 1151 PERF_SAMPLE_DATA_SRC = 0x8000 1152 PERF_SAMPLE_IDENTIFIER = 0x10000 1153 PERF_SAMPLE_TRANSACTION = 0x20000 1154 PERF_SAMPLE_REGS_INTR = 0x40000 1155 PERF_SAMPLE_PHYS_ADDR = 0x80000 1156 PERF_SAMPLE_AUX = 0x100000 1157 PERF_SAMPLE_CGROUP = 0x200000 1158 PERF_SAMPLE_DATA_PAGE_SIZE = 0x400000 1159 PERF_SAMPLE_CODE_PAGE_SIZE = 0x800000 1160 PERF_SAMPLE_WEIGHT_STRUCT = 0x1000000 1161 PERF_SAMPLE_MAX = 0x2000000 1162 PERF_SAMPLE_BRANCH_USER_SHIFT = 0x0 1163 PERF_SAMPLE_BRANCH_KERNEL_SHIFT = 0x1 1164 PERF_SAMPLE_BRANCH_HV_SHIFT = 0x2 1165 PERF_SAMPLE_BRANCH_ANY_SHIFT = 0x3 1166 PERF_SAMPLE_BRANCH_ANY_CALL_SHIFT = 0x4 1167 PERF_SAMPLE_BRANCH_ANY_RETURN_SHIFT = 0x5 1168 PERF_SAMPLE_BRANCH_IND_CALL_SHIFT = 0x6 1169 PERF_SAMPLE_BRANCH_ABORT_TX_SHIFT = 0x7 1170 PERF_SAMPLE_BRANCH_IN_TX_SHIFT = 0x8 1171 PERF_SAMPLE_BRANCH_NO_TX_SHIFT = 0x9 1172 PERF_SAMPLE_BRANCH_COND_SHIFT = 0xa 1173 PERF_SAMPLE_BRANCH_CALL_STACK_SHIFT = 0xb 1174 PERF_SAMPLE_BRANCH_IND_JUMP_SHIFT = 0xc 1175 PERF_SAMPLE_BRANCH_CALL_SHIFT = 0xd 1176 PERF_SAMPLE_BRANCH_NO_FLAGS_SHIFT = 0xe 1177 PERF_SAMPLE_BRANCH_NO_CYCLES_SHIFT = 0xf 1178 PERF_SAMPLE_BRANCH_TYPE_SAVE_SHIFT = 0x10 1179 PERF_SAMPLE_BRANCH_HW_INDEX_SHIFT = 0x11 1180 PERF_SAMPLE_BRANCH_PRIV_SAVE_SHIFT = 0x12 1181 PERF_SAMPLE_BRANCH_COUNTERS = 0x80000 1182 PERF_SAMPLE_BRANCH_MAX_SHIFT = 0x14 1183 PERF_SAMPLE_BRANCH_USER = 0x1 1184 PERF_SAMPLE_BRANCH_KERNEL = 0x2 1185 PERF_SAMPLE_BRANCH_HV = 0x4 1186 PERF_SAMPLE_BRANCH_ANY = 0x8 1187 PERF_SAMPLE_BRANCH_ANY_CALL = 0x10 1188 PERF_SAMPLE_BRANCH_ANY_RETURN = 0x20 1189 PERF_SAMPLE_BRANCH_IND_CALL = 0x40 1190 PERF_SAMPLE_BRANCH_ABORT_TX = 0x80 1191 PERF_SAMPLE_BRANCH_IN_TX = 0x100 1192 PERF_SAMPLE_BRANCH_NO_TX = 0x200 1193 PERF_SAMPLE_BRANCH_COND = 0x400 1194 PERF_SAMPLE_BRANCH_CALL_STACK = 0x800 1195 PERF_SAMPLE_BRANCH_IND_JUMP = 0x1000 1196 PERF_SAMPLE_BRANCH_CALL = 0x2000 1197 PERF_SAMPLE_BRANCH_NO_FLAGS = 0x4000 1198 PERF_SAMPLE_BRANCH_NO_CYCLES = 0x8000 1199 PERF_SAMPLE_BRANCH_TYPE_SAVE = 0x10000 1200 PERF_SAMPLE_BRANCH_HW_INDEX = 0x20000 1201 PERF_SAMPLE_BRANCH_PRIV_SAVE = 0x40000 1202 PERF_SAMPLE_BRANCH_MAX = 0x100000 1203 PERF_BR_UNKNOWN = 0x0 1204 PERF_BR_COND = 0x1 1205 PERF_BR_UNCOND = 0x2 1206 PERF_BR_IND = 0x3 1207 PERF_BR_CALL = 0x4 1208 PERF_BR_IND_CALL = 0x5 1209 PERF_BR_RET = 0x6 1210 PERF_BR_SYSCALL = 0x7 1211 PERF_BR_SYSRET = 0x8 1212 PERF_BR_COND_CALL = 0x9 1213 PERF_BR_COND_RET = 0xa 1214 PERF_BR_ERET = 0xb 1215 PERF_BR_IRQ = 0xc 1216 PERF_BR_SERROR = 0xd 1217 PERF_BR_NO_TX = 0xe 1218 PERF_BR_EXTEND_ABI = 0xf 1219 PERF_BR_MAX = 0x10 1220 PERF_SAMPLE_REGS_ABI_NONE = 0x0 1221 PERF_SAMPLE_REGS_ABI_32 = 0x1 1222 PERF_SAMPLE_REGS_ABI_64 = 0x2 1223 PERF_TXN_ELISION = 0x1 1224 PERF_TXN_TRANSACTION = 0x2 1225 PERF_TXN_SYNC = 0x4 1226 PERF_TXN_ASYNC = 0x8 1227 PERF_TXN_RETRY = 0x10 1228 PERF_TXN_CONFLICT = 0x20 1229 PERF_TXN_CAPACITY_WRITE = 0x40 1230 PERF_TXN_CAPACITY_READ = 0x80 1231 PERF_TXN_MAX = 0x100 1232 PERF_TXN_ABORT_MASK = -0x100000000 1233 PERF_TXN_ABORT_SHIFT = 0x20 1234 PERF_FORMAT_TOTAL_TIME_ENABLED = 0x1 1235 PERF_FORMAT_TOTAL_TIME_RUNNING = 0x2 1236 PERF_FORMAT_ID = 0x4 1237 PERF_FORMAT_GROUP = 0x8 1238 PERF_FORMAT_LOST = 0x10 1239 PERF_FORMAT_MAX = 0x20 1240 PERF_IOC_FLAG_GROUP = 0x1 1241 PERF_RECORD_MMAP = 0x1 1242 PERF_RECORD_LOST = 0x2 1243 PERF_RECORD_COMM = 0x3 1244 PERF_RECORD_EXIT = 0x4 1245 PERF_RECORD_THROTTLE = 0x5 1246 PERF_RECORD_UNTHROTTLE = 0x6 1247 PERF_RECORD_FORK = 0x7 1248 PERF_RECORD_READ = 0x8 1249 PERF_RECORD_SAMPLE = 0x9 1250 PERF_RECORD_MMAP2 = 0xa 1251 PERF_RECORD_AUX = 0xb 1252 PERF_RECORD_ITRACE_START = 0xc 1253 PERF_RECORD_LOST_SAMPLES = 0xd 1254 PERF_RECORD_SWITCH = 0xe 1255 PERF_RECORD_SWITCH_CPU_WIDE = 0xf 1256 PERF_RECORD_NAMESPACES = 0x10 1257 PERF_RECORD_KSYMBOL = 0x11 1258 PERF_RECORD_BPF_EVENT = 0x12 1259 PERF_RECORD_CGROUP = 0x13 1260 PERF_RECORD_TEXT_POKE = 0x14 1261 PERF_RECORD_AUX_OUTPUT_HW_ID = 0x15 1262 PERF_RECORD_MAX = 0x16 1263 PERF_RECORD_KSYMBOL_TYPE_UNKNOWN = 0x0 1264 PERF_RECORD_KSYMBOL_TYPE_BPF = 0x1 1265 PERF_RECORD_KSYMBOL_TYPE_OOL = 0x2 1266 PERF_RECORD_KSYMBOL_TYPE_MAX = 0x3 1267 PERF_BPF_EVENT_UNKNOWN = 0x0 1268 PERF_BPF_EVENT_PROG_LOAD = 0x1 1269 PERF_BPF_EVENT_PROG_UNLOAD = 0x2 1270 PERF_BPF_EVENT_MAX = 0x3 1271 PERF_CONTEXT_HV = -0x20 1272 PERF_CONTEXT_KERNEL = -0x80 1273 PERF_CONTEXT_USER = -0x200 1274 PERF_CONTEXT_GUEST = -0x800 1275 PERF_CONTEXT_GUEST_KERNEL = -0x880 1276 PERF_CONTEXT_GUEST_USER = -0xa00 1277 PERF_CONTEXT_MAX = -0xfff 1278 ) 1279 1280 type TCPMD5Sig struct { 1281 Addr SockaddrStorage 1282 Flags uint8 1283 Prefixlen uint8 1284 Keylen uint16 1285 Ifindex int32 1286 Key [80]uint8 1287 } 1288 1289 type HDDriveCmdHdr struct { 1290 Command uint8 1291 Number uint8 1292 Feature uint8 1293 Count uint8 1294 } 1295 1296 type HDDriveID struct { 1297 Config uint16 1298 Cyls uint16 1299 Reserved2 uint16 1300 Heads uint16 1301 Track_bytes uint16 1302 Sector_bytes uint16 1303 Sectors uint16 1304 Vendor0 uint16 1305 Vendor1 uint16 1306 Vendor2 uint16 1307 Serial_no [20]uint8 1308 Buf_type uint16 1309 Buf_size uint16 1310 Ecc_bytes uint16 1311 Fw_rev [8]uint8 1312 Model [40]uint8 1313 Max_multsect uint8 1314 Vendor3 uint8 1315 Dword_io uint16 1316 Vendor4 uint8 1317 Capability uint8 1318 Reserved50 uint16 1319 Vendor5 uint8 1320 TPIO uint8 1321 Vendor6 uint8 1322 TDMA uint8 1323 Field_valid uint16 1324 Cur_cyls uint16 1325 Cur_heads uint16 1326 Cur_sectors uint16 1327 Cur_capacity0 uint16 1328 Cur_capacity1 uint16 1329 Multsect uint8 1330 Multsect_valid uint8 1331 Lba_capacity uint32 1332 Dma_1word uint16 1333 Dma_mword uint16 1334 Eide_pio_modes uint16 1335 Eide_dma_min uint16 1336 Eide_dma_time uint16 1337 Eide_pio uint16 1338 Eide_pio_iordy uint16 1339 Words69_70 [2]uint16 1340 Words71_74 [4]uint16 1341 Queue_depth uint16 1342 Words76_79 [4]uint16 1343 Major_rev_num uint16 1344 Minor_rev_num uint16 1345 Command_set_1 uint16 1346 Command_set_2 uint16 1347 Cfsse uint16 1348 Cfs_enable_1 uint16 1349 Cfs_enable_2 uint16 1350 Csf_default uint16 1351 Dma_ultra uint16 1352 Trseuc uint16 1353 TrsEuc uint16 1354 CurAPMvalues uint16 1355 Mprc uint16 1356 Hw_config uint16 1357 Acoustic uint16 1358 Msrqs uint16 1359 Sxfert uint16 1360 Sal uint16 1361 Spg uint32 1362 Lba_capacity_2 uint64 1363 Words104_125 [22]uint16 1364 Last_lun uint16 1365 Word127 uint16 1366 Dlf uint16 1367 Csfo uint16 1368 Words130_155 [26]uint16 1369 Word156 uint16 1370 Words157_159 [3]uint16 1371 Cfa_power uint16 1372 Words161_175 [15]uint16 1373 Words176_205 [30]uint16 1374 Words206_254 [49]uint16 1375 Integrity_word uint16 1376 } 1377 1378 const ( 1379 ST_MANDLOCK = 0x40 1380 ST_NOATIME = 0x400 1381 ST_NODEV = 0x4 1382 ST_NODIRATIME = 0x800 1383 ST_NOEXEC = 0x8 1384 ST_NOSUID = 0x2 1385 ST_RDONLY = 0x1 1386 ST_RELATIME = 0x1000 1387 ST_SYNCHRONOUS = 0x10 1388 ) 1389 1390 type Tpacket2Hdr struct { 1391 Status uint32 1392 Len uint32 1393 Snaplen uint32 1394 Mac uint16 1395 Net uint16 1396 Sec uint32 1397 Nsec uint32 1398 Vlan_tci uint16 1399 Vlan_tpid uint16 1400 _ [4]uint8 1401 } 1402 1403 type Tpacket3Hdr struct { 1404 Next_offset uint32 1405 Sec uint32 1406 Nsec uint32 1407 Snaplen uint32 1408 Len uint32 1409 Status uint32 1410 Mac uint16 1411 Net uint16 1412 Hv1 TpacketHdrVariant1 1413 _ [8]uint8 1414 } 1415 1416 type TpacketHdrVariant1 struct { 1417 Rxhash uint32 1418 Vlan_tci uint32 1419 Vlan_tpid uint16 1420 _ uint16 1421 } 1422 1423 type TpacketBlockDesc struct { 1424 Version uint32 1425 To_priv uint32 1426 Hdr [40]byte 1427 } 1428 1429 type TpacketBDTS struct { 1430 Sec uint32 1431 Usec uint32 1432 } 1433 1434 type TpacketHdrV1 struct { 1435 Block_status uint32 1436 Num_pkts uint32 1437 Offset_to_first_pkt uint32 1438 Blk_len uint32 1439 Seq_num uint64 1440 Ts_first_pkt TpacketBDTS 1441 Ts_last_pkt TpacketBDTS 1442 } 1443 1444 type TpacketReq struct { 1445 Block_size uint32 1446 Block_nr uint32 1447 Frame_size uint32 1448 Frame_nr uint32 1449 } 1450 1451 type TpacketReq3 struct { 1452 Block_size uint32 1453 Block_nr uint32 1454 Frame_size uint32 1455 Frame_nr uint32 1456 Retire_blk_tov uint32 1457 Sizeof_priv uint32 1458 Feature_req_word uint32 1459 } 1460 1461 type TpacketStats struct { 1462 Packets uint32 1463 Drops uint32 1464 } 1465 1466 type TpacketStatsV3 struct { 1467 Packets uint32 1468 Drops uint32 1469 Freeze_q_cnt uint32 1470 } 1471 1472 type TpacketAuxdata struct { 1473 Status uint32 1474 Len uint32 1475 Snaplen uint32 1476 Mac uint16 1477 Net uint16 1478 Vlan_tci uint16 1479 Vlan_tpid uint16 1480 } 1481 1482 const ( 1483 TPACKET_V1 = 0x0 1484 TPACKET_V2 = 0x1 1485 TPACKET_V3 = 0x2 1486 ) 1487 1488 const ( 1489 SizeofTpacket2Hdr = 0x20 1490 SizeofTpacket3Hdr = 0x30 1491 1492 SizeofTpacketStats = 0x8 1493 SizeofTpacketStatsV3 = 0xc 1494 ) 1495 1496 const ( 1497 IFLA_UNSPEC = 0x0 1498 IFLA_ADDRESS = 0x1 1499 IFLA_BROADCAST = 0x2 1500 IFLA_IFNAME = 0x3 1501 IFLA_MTU = 0x4 1502 IFLA_LINK = 0x5 1503 IFLA_QDISC = 0x6 1504 IFLA_STATS = 0x7 1505 IFLA_COST = 0x8 1506 IFLA_PRIORITY = 0x9 1507 IFLA_MASTER = 0xa 1508 IFLA_WIRELESS = 0xb 1509 IFLA_PROTINFO = 0xc 1510 IFLA_TXQLEN = 0xd 1511 IFLA_MAP = 0xe 1512 IFLA_WEIGHT = 0xf 1513 IFLA_OPERSTATE = 0x10 1514 IFLA_LINKMODE = 0x11 1515 IFLA_LINKINFO = 0x12 1516 IFLA_NET_NS_PID = 0x13 1517 IFLA_IFALIAS = 0x14 1518 IFLA_NUM_VF = 0x15 1519 IFLA_VFINFO_LIST = 0x16 1520 IFLA_STATS64 = 0x17 1521 IFLA_VF_PORTS = 0x18 1522 IFLA_PORT_SELF = 0x19 1523 IFLA_AF_SPEC = 0x1a 1524 IFLA_GROUP = 0x1b 1525 IFLA_NET_NS_FD = 0x1c 1526 IFLA_EXT_MASK = 0x1d 1527 IFLA_PROMISCUITY = 0x1e 1528 IFLA_NUM_TX_QUEUES = 0x1f 1529 IFLA_NUM_RX_QUEUES = 0x20 1530 IFLA_CARRIER = 0x21 1531 IFLA_PHYS_PORT_ID = 0x22 1532 IFLA_CARRIER_CHANGES = 0x23 1533 IFLA_PHYS_SWITCH_ID = 0x24 1534 IFLA_LINK_NETNSID = 0x25 1535 IFLA_PHYS_PORT_NAME = 0x26 1536 IFLA_PROTO_DOWN = 0x27 1537 IFLA_GSO_MAX_SEGS = 0x28 1538 IFLA_GSO_MAX_SIZE = 0x29 1539 IFLA_PAD = 0x2a 1540 IFLA_XDP = 0x2b 1541 IFLA_EVENT = 0x2c 1542 IFLA_NEW_NETNSID = 0x2d 1543 IFLA_IF_NETNSID = 0x2e 1544 IFLA_TARGET_NETNSID = 0x2e 1545 IFLA_CARRIER_UP_COUNT = 0x2f 1546 IFLA_CARRIER_DOWN_COUNT = 0x30 1547 IFLA_NEW_IFINDEX = 0x31 1548 IFLA_MIN_MTU = 0x32 1549 IFLA_MAX_MTU = 0x33 1550 IFLA_PROP_LIST = 0x34 1551 IFLA_ALT_IFNAME = 0x35 1552 IFLA_PERM_ADDRESS = 0x36 1553 IFLA_PROTO_DOWN_REASON = 0x37 1554 IFLA_PARENT_DEV_NAME = 0x38 1555 IFLA_PARENT_DEV_BUS_NAME = 0x39 1556 IFLA_GRO_MAX_SIZE = 0x3a 1557 IFLA_TSO_MAX_SIZE = 0x3b 1558 IFLA_TSO_MAX_SEGS = 0x3c 1559 IFLA_ALLMULTI = 0x3d 1560 IFLA_DEVLINK_PORT = 0x3e 1561 IFLA_GSO_IPV4_MAX_SIZE = 0x3f 1562 IFLA_GRO_IPV4_MAX_SIZE = 0x40 1563 IFLA_DPLL_PIN = 0x41 1564 IFLA_PROTO_DOWN_REASON_UNSPEC = 0x0 1565 IFLA_PROTO_DOWN_REASON_MASK = 0x1 1566 IFLA_PROTO_DOWN_REASON_VALUE = 0x2 1567 IFLA_PROTO_DOWN_REASON_MAX = 0x2 1568 IFLA_INET_UNSPEC = 0x0 1569 IFLA_INET_CONF = 0x1 1570 IFLA_INET6_UNSPEC = 0x0 1571 IFLA_INET6_FLAGS = 0x1 1572 IFLA_INET6_CONF = 0x2 1573 IFLA_INET6_STATS = 0x3 1574 IFLA_INET6_MCAST = 0x4 1575 IFLA_INET6_CACHEINFO = 0x5 1576 IFLA_INET6_ICMP6STATS = 0x6 1577 IFLA_INET6_TOKEN = 0x7 1578 IFLA_INET6_ADDR_GEN_MODE = 0x8 1579 IFLA_INET6_RA_MTU = 0x9 1580 IFLA_BR_UNSPEC = 0x0 1581 IFLA_BR_FORWARD_DELAY = 0x1 1582 IFLA_BR_HELLO_TIME = 0x2 1583 IFLA_BR_MAX_AGE = 0x3 1584 IFLA_BR_AGEING_TIME = 0x4 1585 IFLA_BR_STP_STATE = 0x5 1586 IFLA_BR_PRIORITY = 0x6 1587 IFLA_BR_VLAN_FILTERING = 0x7 1588 IFLA_BR_VLAN_PROTOCOL = 0x8 1589 IFLA_BR_GROUP_FWD_MASK = 0x9 1590 IFLA_BR_ROOT_ID = 0xa 1591 IFLA_BR_BRIDGE_ID = 0xb 1592 IFLA_BR_ROOT_PORT = 0xc 1593 IFLA_BR_ROOT_PATH_COST = 0xd 1594 IFLA_BR_TOPOLOGY_CHANGE = 0xe 1595 IFLA_BR_TOPOLOGY_CHANGE_DETECTED = 0xf 1596 IFLA_BR_HELLO_TIMER = 0x10 1597 IFLA_BR_TCN_TIMER = 0x11 1598 IFLA_BR_TOPOLOGY_CHANGE_TIMER = 0x12 1599 IFLA_BR_GC_TIMER = 0x13 1600 IFLA_BR_GROUP_ADDR = 0x14 1601 IFLA_BR_FDB_FLUSH = 0x15 1602 IFLA_BR_MCAST_ROUTER = 0x16 1603 IFLA_BR_MCAST_SNOOPING = 0x17 1604 IFLA_BR_MCAST_QUERY_USE_IFADDR = 0x18 1605 IFLA_BR_MCAST_QUERIER = 0x19 1606 IFLA_BR_MCAST_HASH_ELASTICITY = 0x1a 1607 IFLA_BR_MCAST_HASH_MAX = 0x1b 1608 IFLA_BR_MCAST_LAST_MEMBER_CNT = 0x1c 1609 IFLA_BR_MCAST_STARTUP_QUERY_CNT = 0x1d 1610 IFLA_BR_MCAST_LAST_MEMBER_INTVL = 0x1e 1611 IFLA_BR_MCAST_MEMBERSHIP_INTVL = 0x1f 1612 IFLA_BR_MCAST_QUERIER_INTVL = 0x20 1613 IFLA_BR_MCAST_QUERY_INTVL = 0x21 1614 IFLA_BR_MCAST_QUERY_RESPONSE_INTVL = 0x22 1615 IFLA_BR_MCAST_STARTUP_QUERY_INTVL = 0x23 1616 IFLA_BR_NF_CALL_IPTABLES = 0x24 1617 IFLA_BR_NF_CALL_IP6TABLES = 0x25 1618 IFLA_BR_NF_CALL_ARPTABLES = 0x26 1619 IFLA_BR_VLAN_DEFAULT_PVID = 0x27 1620 IFLA_BR_PAD = 0x28 1621 IFLA_BR_VLAN_STATS_ENABLED = 0x29 1622 IFLA_BR_MCAST_STATS_ENABLED = 0x2a 1623 IFLA_BR_MCAST_IGMP_VERSION = 0x2b 1624 IFLA_BR_MCAST_MLD_VERSION = 0x2c 1625 IFLA_BR_VLAN_STATS_PER_PORT = 0x2d 1626 IFLA_BR_MULTI_BOOLOPT = 0x2e 1627 IFLA_BR_MCAST_QUERIER_STATE = 0x2f 1628 IFLA_BR_FDB_N_LEARNED = 0x30 1629 IFLA_BR_FDB_MAX_LEARNED = 0x31 1630 IFLA_BRPORT_UNSPEC = 0x0 1631 IFLA_BRPORT_STATE = 0x1 1632 IFLA_BRPORT_PRIORITY = 0x2 1633 IFLA_BRPORT_COST = 0x3 1634 IFLA_BRPORT_MODE = 0x4 1635 IFLA_BRPORT_GUARD = 0x5 1636 IFLA_BRPORT_PROTECT = 0x6 1637 IFLA_BRPORT_FAST_LEAVE = 0x7 1638 IFLA_BRPORT_LEARNING = 0x8 1639 IFLA_BRPORT_UNICAST_FLOOD = 0x9 1640 IFLA_BRPORT_PROXYARP = 0xa 1641 IFLA_BRPORT_LEARNING_SYNC = 0xb 1642 IFLA_BRPORT_PROXYARP_WIFI = 0xc 1643 IFLA_BRPORT_ROOT_ID = 0xd 1644 IFLA_BRPORT_BRIDGE_ID = 0xe 1645 IFLA_BRPORT_DESIGNATED_PORT = 0xf 1646 IFLA_BRPORT_DESIGNATED_COST = 0x10 1647 IFLA_BRPORT_ID = 0x11 1648 IFLA_BRPORT_NO = 0x12 1649 IFLA_BRPORT_TOPOLOGY_CHANGE_ACK = 0x13 1650 IFLA_BRPORT_CONFIG_PENDING = 0x14 1651 IFLA_BRPORT_MESSAGE_AGE_TIMER = 0x15 1652 IFLA_BRPORT_FORWARD_DELAY_TIMER = 0x16 1653 IFLA_BRPORT_HOLD_TIMER = 0x17 1654 IFLA_BRPORT_FLUSH = 0x18 1655 IFLA_BRPORT_MULTICAST_ROUTER = 0x19 1656 IFLA_BRPORT_PAD = 0x1a 1657 IFLA_BRPORT_MCAST_FLOOD = 0x1b 1658 IFLA_BRPORT_MCAST_TO_UCAST = 0x1c 1659 IFLA_BRPORT_VLAN_TUNNEL = 0x1d 1660 IFLA_BRPORT_BCAST_FLOOD = 0x1e 1661 IFLA_BRPORT_GROUP_FWD_MASK = 0x1f 1662 IFLA_BRPORT_NEIGH_SUPPRESS = 0x20 1663 IFLA_BRPORT_ISOLATED = 0x21 1664 IFLA_BRPORT_BACKUP_PORT = 0x22 1665 IFLA_BRPORT_MRP_RING_OPEN = 0x23 1666 IFLA_BRPORT_MRP_IN_OPEN = 0x24 1667 IFLA_BRPORT_MCAST_EHT_HOSTS_LIMIT = 0x25 1668 IFLA_BRPORT_MCAST_EHT_HOSTS_CNT = 0x26 1669 IFLA_BRPORT_LOCKED = 0x27 1670 IFLA_BRPORT_MAB = 0x28 1671 IFLA_BRPORT_MCAST_N_GROUPS = 0x29 1672 IFLA_BRPORT_MCAST_MAX_GROUPS = 0x2a 1673 IFLA_BRPORT_NEIGH_VLAN_SUPPRESS = 0x2b 1674 IFLA_BRPORT_BACKUP_NHID = 0x2c 1675 IFLA_INFO_UNSPEC = 0x0 1676 IFLA_INFO_KIND = 0x1 1677 IFLA_INFO_DATA = 0x2 1678 IFLA_INFO_XSTATS = 0x3 1679 IFLA_INFO_SLAVE_KIND = 0x4 1680 IFLA_INFO_SLAVE_DATA = 0x5 1681 IFLA_VLAN_UNSPEC = 0x0 1682 IFLA_VLAN_ID = 0x1 1683 IFLA_VLAN_FLAGS = 0x2 1684 IFLA_VLAN_EGRESS_QOS = 0x3 1685 IFLA_VLAN_INGRESS_QOS = 0x4 1686 IFLA_VLAN_PROTOCOL = 0x5 1687 IFLA_VLAN_QOS_UNSPEC = 0x0 1688 IFLA_VLAN_QOS_MAPPING = 0x1 1689 IFLA_MACVLAN_UNSPEC = 0x0 1690 IFLA_MACVLAN_MODE = 0x1 1691 IFLA_MACVLAN_FLAGS = 0x2 1692 IFLA_MACVLAN_MACADDR_MODE = 0x3 1693 IFLA_MACVLAN_MACADDR = 0x4 1694 IFLA_MACVLAN_MACADDR_DATA = 0x5 1695 IFLA_MACVLAN_MACADDR_COUNT = 0x6 1696 IFLA_MACVLAN_BC_QUEUE_LEN = 0x7 1697 IFLA_MACVLAN_BC_QUEUE_LEN_USED = 0x8 1698 IFLA_MACVLAN_BC_CUTOFF = 0x9 1699 IFLA_VRF_UNSPEC = 0x0 1700 IFLA_VRF_TABLE = 0x1 1701 IFLA_VRF_PORT_UNSPEC = 0x0 1702 IFLA_VRF_PORT_TABLE = 0x1 1703 IFLA_MACSEC_UNSPEC = 0x0 1704 IFLA_MACSEC_SCI = 0x1 1705 IFLA_MACSEC_PORT = 0x2 1706 IFLA_MACSEC_ICV_LEN = 0x3 1707 IFLA_MACSEC_CIPHER_SUITE = 0x4 1708 IFLA_MACSEC_WINDOW = 0x5 1709 IFLA_MACSEC_ENCODING_SA = 0x6 1710 IFLA_MACSEC_ENCRYPT = 0x7 1711 IFLA_MACSEC_PROTECT = 0x8 1712 IFLA_MACSEC_INC_SCI = 0x9 1713 IFLA_MACSEC_ES = 0xa 1714 IFLA_MACSEC_SCB = 0xb 1715 IFLA_MACSEC_REPLAY_PROTECT = 0xc 1716 IFLA_MACSEC_VALIDATION = 0xd 1717 IFLA_MACSEC_PAD = 0xe 1718 IFLA_MACSEC_OFFLOAD = 0xf 1719 IFLA_XFRM_UNSPEC = 0x0 1720 IFLA_XFRM_LINK = 0x1 1721 IFLA_XFRM_IF_ID = 0x2 1722 IFLA_XFRM_COLLECT_METADATA = 0x3 1723 IFLA_IPVLAN_UNSPEC = 0x0 1724 IFLA_IPVLAN_MODE = 0x1 1725 IFLA_IPVLAN_FLAGS = 0x2 1726 NETKIT_NEXT = -0x1 1727 NETKIT_PASS = 0x0 1728 NETKIT_DROP = 0x2 1729 NETKIT_REDIRECT = 0x7 1730 NETKIT_L2 = 0x0 1731 NETKIT_L3 = 0x1 1732 IFLA_NETKIT_UNSPEC = 0x0 1733 IFLA_NETKIT_PEER_INFO = 0x1 1734 IFLA_NETKIT_PRIMARY = 0x2 1735 IFLA_NETKIT_POLICY = 0x3 1736 IFLA_NETKIT_PEER_POLICY = 0x4 1737 IFLA_NETKIT_MODE = 0x5 1738 IFLA_VXLAN_UNSPEC = 0x0 1739 IFLA_VXLAN_ID = 0x1 1740 IFLA_VXLAN_GROUP = 0x2 1741 IFLA_VXLAN_LINK = 0x3 1742 IFLA_VXLAN_LOCAL = 0x4 1743 IFLA_VXLAN_TTL = 0x5 1744 IFLA_VXLAN_TOS = 0x6 1745 IFLA_VXLAN_LEARNING = 0x7 1746 IFLA_VXLAN_AGEING = 0x8 1747 IFLA_VXLAN_LIMIT = 0x9 1748 IFLA_VXLAN_PORT_RANGE = 0xa 1749 IFLA_VXLAN_PROXY = 0xb 1750 IFLA_VXLAN_RSC = 0xc 1751 IFLA_VXLAN_L2MISS = 0xd 1752 IFLA_VXLAN_L3MISS = 0xe 1753 IFLA_VXLAN_PORT = 0xf 1754 IFLA_VXLAN_GROUP6 = 0x10 1755 IFLA_VXLAN_LOCAL6 = 0x11 1756 IFLA_VXLAN_UDP_CSUM = 0x12 1757 IFLA_VXLAN_UDP_ZERO_CSUM6_TX = 0x13 1758 IFLA_VXLAN_UDP_ZERO_CSUM6_RX = 0x14 1759 IFLA_VXLAN_REMCSUM_TX = 0x15 1760 IFLA_VXLAN_REMCSUM_RX = 0x16 1761 IFLA_VXLAN_GBP = 0x17 1762 IFLA_VXLAN_REMCSUM_NOPARTIAL = 0x18 1763 IFLA_VXLAN_COLLECT_METADATA = 0x19 1764 IFLA_VXLAN_LABEL = 0x1a 1765 IFLA_VXLAN_GPE = 0x1b 1766 IFLA_VXLAN_TTL_INHERIT = 0x1c 1767 IFLA_VXLAN_DF = 0x1d 1768 IFLA_VXLAN_VNIFILTER = 0x1e 1769 IFLA_VXLAN_LOCALBYPASS = 0x1f 1770 IFLA_GENEVE_UNSPEC = 0x0 1771 IFLA_GENEVE_ID = 0x1 1772 IFLA_GENEVE_REMOTE = 0x2 1773 IFLA_GENEVE_TTL = 0x3 1774 IFLA_GENEVE_TOS = 0x4 1775 IFLA_GENEVE_PORT = 0x5 1776 IFLA_GENEVE_COLLECT_METADATA = 0x6 1777 IFLA_GENEVE_REMOTE6 = 0x7 1778 IFLA_GENEVE_UDP_CSUM = 0x8 1779 IFLA_GENEVE_UDP_ZERO_CSUM6_TX = 0x9 1780 IFLA_GENEVE_UDP_ZERO_CSUM6_RX = 0xa 1781 IFLA_GENEVE_LABEL = 0xb 1782 IFLA_GENEVE_TTL_INHERIT = 0xc 1783 IFLA_GENEVE_DF = 0xd 1784 IFLA_GENEVE_INNER_PROTO_INHERIT = 0xe 1785 IFLA_BAREUDP_UNSPEC = 0x0 1786 IFLA_BAREUDP_PORT = 0x1 1787 IFLA_BAREUDP_ETHERTYPE = 0x2 1788 IFLA_BAREUDP_SRCPORT_MIN = 0x3 1789 IFLA_BAREUDP_MULTIPROTO_MODE = 0x4 1790 IFLA_PPP_UNSPEC = 0x0 1791 IFLA_PPP_DEV_FD = 0x1 1792 IFLA_GTP_UNSPEC = 0x0 1793 IFLA_GTP_FD0 = 0x1 1794 IFLA_GTP_FD1 = 0x2 1795 IFLA_GTP_PDP_HASHSIZE = 0x3 1796 IFLA_GTP_ROLE = 0x4 1797 IFLA_GTP_CREATE_SOCKETS = 0x5 1798 IFLA_GTP_RESTART_COUNT = 0x6 1799 IFLA_BOND_UNSPEC = 0x0 1800 IFLA_BOND_MODE = 0x1 1801 IFLA_BOND_ACTIVE_SLAVE = 0x2 1802 IFLA_BOND_MIIMON = 0x3 1803 IFLA_BOND_UPDELAY = 0x4 1804 IFLA_BOND_DOWNDELAY = 0x5 1805 IFLA_BOND_USE_CARRIER = 0x6 1806 IFLA_BOND_ARP_INTERVAL = 0x7 1807 IFLA_BOND_ARP_IP_TARGET = 0x8 1808 IFLA_BOND_ARP_VALIDATE = 0x9 1809 IFLA_BOND_ARP_ALL_TARGETS = 0xa 1810 IFLA_BOND_PRIMARY = 0xb 1811 IFLA_BOND_PRIMARY_RESELECT = 0xc 1812 IFLA_BOND_FAIL_OVER_MAC = 0xd 1813 IFLA_BOND_XMIT_HASH_POLICY = 0xe 1814 IFLA_BOND_RESEND_IGMP = 0xf 1815 IFLA_BOND_NUM_PEER_NOTIF = 0x10 1816 IFLA_BOND_ALL_SLAVES_ACTIVE = 0x11 1817 IFLA_BOND_MIN_LINKS = 0x12 1818 IFLA_BOND_LP_INTERVAL = 0x13 1819 IFLA_BOND_PACKETS_PER_SLAVE = 0x14 1820 IFLA_BOND_AD_LACP_RATE = 0x15 1821 IFLA_BOND_AD_SELECT = 0x16 1822 IFLA_BOND_AD_INFO = 0x17 1823 IFLA_BOND_AD_ACTOR_SYS_PRIO = 0x18 1824 IFLA_BOND_AD_USER_PORT_KEY = 0x19 1825 IFLA_BOND_AD_ACTOR_SYSTEM = 0x1a 1826 IFLA_BOND_TLB_DYNAMIC_LB = 0x1b 1827 IFLA_BOND_PEER_NOTIF_DELAY = 0x1c 1828 IFLA_BOND_AD_LACP_ACTIVE = 0x1d 1829 IFLA_BOND_MISSED_MAX = 0x1e 1830 IFLA_BOND_NS_IP6_TARGET = 0x1f 1831 IFLA_BOND_AD_INFO_UNSPEC = 0x0 1832 IFLA_BOND_AD_INFO_AGGREGATOR = 0x1 1833 IFLA_BOND_AD_INFO_NUM_PORTS = 0x2 1834 IFLA_BOND_AD_INFO_ACTOR_KEY = 0x3 1835 IFLA_BOND_AD_INFO_PARTNER_KEY = 0x4 1836 IFLA_BOND_AD_INFO_PARTNER_MAC = 0x5 1837 IFLA_BOND_SLAVE_UNSPEC = 0x0 1838 IFLA_BOND_SLAVE_STATE = 0x1 1839 IFLA_BOND_SLAVE_MII_STATUS = 0x2 1840 IFLA_BOND_SLAVE_LINK_FAILURE_COUNT = 0x3 1841 IFLA_BOND_SLAVE_PERM_HWADDR = 0x4 1842 IFLA_BOND_SLAVE_QUEUE_ID = 0x5 1843 IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 0x6 1844 IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 0x7 1845 IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 0x8 1846 IFLA_BOND_SLAVE_PRIO = 0x9 1847 IFLA_VF_INFO_UNSPEC = 0x0 1848 IFLA_VF_INFO = 0x1 1849 IFLA_VF_UNSPEC = 0x0 1850 IFLA_VF_MAC = 0x1 1851 IFLA_VF_VLAN = 0x2 1852 IFLA_VF_TX_RATE = 0x3 1853 IFLA_VF_SPOOFCHK = 0x4 1854 IFLA_VF_LINK_STATE = 0x5 1855 IFLA_VF_RATE = 0x6 1856 IFLA_VF_RSS_QUERY_EN = 0x7 1857 IFLA_VF_STATS = 0x8 1858 IFLA_VF_TRUST = 0x9 1859 IFLA_VF_IB_NODE_GUID = 0xa 1860 IFLA_VF_IB_PORT_GUID = 0xb 1861 IFLA_VF_VLAN_LIST = 0xc 1862 IFLA_VF_BROADCAST = 0xd 1863 IFLA_VF_VLAN_INFO_UNSPEC = 0x0 1864 IFLA_VF_VLAN_INFO = 0x1 1865 IFLA_VF_LINK_STATE_AUTO = 0x0 1866 IFLA_VF_LINK_STATE_ENABLE = 0x1 1867 IFLA_VF_LINK_STATE_DISABLE = 0x2 1868 IFLA_VF_STATS_RX_PACKETS = 0x0 1869 IFLA_VF_STATS_TX_PACKETS = 0x1 1870 IFLA_VF_STATS_RX_BYTES = 0x2 1871 IFLA_VF_STATS_TX_BYTES = 0x3 1872 IFLA_VF_STATS_BROADCAST = 0x4 1873 IFLA_VF_STATS_MULTICAST = 0x5 1874 IFLA_VF_STATS_PAD = 0x6 1875 IFLA_VF_STATS_RX_DROPPED = 0x7 1876 IFLA_VF_STATS_TX_DROPPED = 0x8 1877 IFLA_VF_PORT_UNSPEC = 0x0 1878 IFLA_VF_PORT = 0x1 1879 IFLA_PORT_UNSPEC = 0x0 1880 IFLA_PORT_VF = 0x1 1881 IFLA_PORT_PROFILE = 0x2 1882 IFLA_PORT_VSI_TYPE = 0x3 1883 IFLA_PORT_INSTANCE_UUID = 0x4 1884 IFLA_PORT_HOST_UUID = 0x5 1885 IFLA_PORT_REQUEST = 0x6 1886 IFLA_PORT_RESPONSE = 0x7 1887 IFLA_IPOIB_UNSPEC = 0x0 1888 IFLA_IPOIB_PKEY = 0x1 1889 IFLA_IPOIB_MODE = 0x2 1890 IFLA_IPOIB_UMCAST = 0x3 1891 IFLA_HSR_UNSPEC = 0x0 1892 IFLA_HSR_SLAVE1 = 0x1 1893 IFLA_HSR_SLAVE2 = 0x2 1894 IFLA_HSR_MULTICAST_SPEC = 0x3 1895 IFLA_HSR_SUPERVISION_ADDR = 0x4 1896 IFLA_HSR_SEQ_NR = 0x5 1897 IFLA_HSR_VERSION = 0x6 1898 IFLA_HSR_PROTOCOL = 0x7 1899 IFLA_STATS_UNSPEC = 0x0 1900 IFLA_STATS_LINK_64 = 0x1 1901 IFLA_STATS_LINK_XSTATS = 0x2 1902 IFLA_STATS_LINK_XSTATS_SLAVE = 0x3 1903 IFLA_STATS_LINK_OFFLOAD_XSTATS = 0x4 1904 IFLA_STATS_AF_SPEC = 0x5 1905 IFLA_STATS_GETSET_UNSPEC = 0x0 1906 IFLA_STATS_GET_FILTERS = 0x1 1907 IFLA_STATS_SET_OFFLOAD_XSTATS_L3_STATS = 0x2 1908 IFLA_OFFLOAD_XSTATS_UNSPEC = 0x0 1909 IFLA_OFFLOAD_XSTATS_CPU_HIT = 0x1 1910 IFLA_OFFLOAD_XSTATS_HW_S_INFO = 0x2 1911 IFLA_OFFLOAD_XSTATS_L3_STATS = 0x3 1912 IFLA_OFFLOAD_XSTATS_HW_S_INFO_UNSPEC = 0x0 1913 IFLA_OFFLOAD_XSTATS_HW_S_INFO_REQUEST = 0x1 1914 IFLA_OFFLOAD_XSTATS_HW_S_INFO_USED = 0x2 1915 IFLA_XDP_UNSPEC = 0x0 1916 IFLA_XDP_FD = 0x1 1917 IFLA_XDP_ATTACHED = 0x2 1918 IFLA_XDP_FLAGS = 0x3 1919 IFLA_XDP_PROG_ID = 0x4 1920 IFLA_XDP_DRV_PROG_ID = 0x5 1921 IFLA_XDP_SKB_PROG_ID = 0x6 1922 IFLA_XDP_HW_PROG_ID = 0x7 1923 IFLA_XDP_EXPECTED_FD = 0x8 1924 IFLA_EVENT_NONE = 0x0 1925 IFLA_EVENT_REBOOT = 0x1 1926 IFLA_EVENT_FEATURES = 0x2 1927 IFLA_EVENT_BONDING_FAILOVER = 0x3 1928 IFLA_EVENT_NOTIFY_PEERS = 0x4 1929 IFLA_EVENT_IGMP_RESEND = 0x5 1930 IFLA_EVENT_BONDING_OPTIONS = 0x6 1931 IFLA_TUN_UNSPEC = 0x0 1932 IFLA_TUN_OWNER = 0x1 1933 IFLA_TUN_GROUP = 0x2 1934 IFLA_TUN_TYPE = 0x3 1935 IFLA_TUN_PI = 0x4 1936 IFLA_TUN_VNET_HDR = 0x5 1937 IFLA_TUN_PERSIST = 0x6 1938 IFLA_TUN_MULTI_QUEUE = 0x7 1939 IFLA_TUN_NUM_QUEUES = 0x8 1940 IFLA_TUN_NUM_DISABLED_QUEUES = 0x9 1941 IFLA_RMNET_UNSPEC = 0x0 1942 IFLA_RMNET_MUX_ID = 0x1 1943 IFLA_RMNET_FLAGS = 0x2 1944 IFLA_MCTP_UNSPEC = 0x0 1945 IFLA_MCTP_NET = 0x1 1946 IFLA_DSA_UNSPEC = 0x0 1947 IFLA_DSA_CONDUIT = 0x1 1948 IFLA_DSA_MASTER = 0x1 1949 ) 1950 1951 const ( 1952 NF_INET_PRE_ROUTING = 0x0 1953 NF_INET_LOCAL_IN = 0x1 1954 NF_INET_FORWARD = 0x2 1955 NF_INET_LOCAL_OUT = 0x3 1956 NF_INET_POST_ROUTING = 0x4 1957 NF_INET_NUMHOOKS = 0x5 1958 ) 1959 1960 const ( 1961 NF_NETDEV_INGRESS = 0x0 1962 NF_NETDEV_EGRESS = 0x1 1963 NF_NETDEV_NUMHOOKS = 0x2 1964 ) 1965 1966 const ( 1967 NFPROTO_UNSPEC = 0x0 1968 NFPROTO_INET = 0x1 1969 NFPROTO_IPV4 = 0x2 1970 NFPROTO_ARP = 0x3 1971 NFPROTO_NETDEV = 0x5 1972 NFPROTO_BRIDGE = 0x7 1973 NFPROTO_IPV6 = 0xa 1974 NFPROTO_DECNET = 0xc 1975 NFPROTO_NUMPROTO = 0xd 1976 ) 1977 1978 const SO_ORIGINAL_DST = 0x50 1979 1980 type Nfgenmsg struct { 1981 Nfgen_family uint8 1982 Version uint8 1983 Res_id uint16 1984 } 1985 1986 const ( 1987 NFNL_BATCH_UNSPEC = 0x0 1988 NFNL_BATCH_GENID = 0x1 1989 ) 1990 1991 const ( 1992 NFT_REG_VERDICT = 0x0 1993 NFT_REG_1 = 0x1 1994 NFT_REG_2 = 0x2 1995 NFT_REG_3 = 0x3 1996 NFT_REG_4 = 0x4 1997 NFT_REG32_00 = 0x8 1998 NFT_REG32_01 = 0x9 1999 NFT_REG32_02 = 0xa 2000 NFT_REG32_03 = 0xb 2001 NFT_REG32_04 = 0xc 2002 NFT_REG32_05 = 0xd 2003 NFT_REG32_06 = 0xe 2004 NFT_REG32_07 = 0xf 2005 NFT_REG32_08 = 0x10 2006 NFT_REG32_09 = 0x11 2007 NFT_REG32_10 = 0x12 2008 NFT_REG32_11 = 0x13 2009 NFT_REG32_12 = 0x14 2010 NFT_REG32_13 = 0x15 2011 NFT_REG32_14 = 0x16 2012 NFT_REG32_15 = 0x17 2013 NFT_CONTINUE = -0x1 2014 NFT_BREAK = -0x2 2015 NFT_JUMP = -0x3 2016 NFT_GOTO = -0x4 2017 NFT_RETURN = -0x5 2018 NFT_MSG_NEWTABLE = 0x0 2019 NFT_MSG_GETTABLE = 0x1 2020 NFT_MSG_DELTABLE = 0x2 2021 NFT_MSG_NEWCHAIN = 0x3 2022 NFT_MSG_GETCHAIN = 0x4 2023 NFT_MSG_DELCHAIN = 0x5 2024 NFT_MSG_NEWRULE = 0x6 2025 NFT_MSG_GETRULE = 0x7 2026 NFT_MSG_DELRULE = 0x8 2027 NFT_MSG_NEWSET = 0x9 2028 NFT_MSG_GETSET = 0xa 2029 NFT_MSG_DELSET = 0xb 2030 NFT_MSG_NEWSETELEM = 0xc 2031 NFT_MSG_GETSETELEM = 0xd 2032 NFT_MSG_DELSETELEM = 0xe 2033 NFT_MSG_NEWGEN = 0xf 2034 NFT_MSG_GETGEN = 0x10 2035 NFT_MSG_TRACE = 0x11 2036 NFT_MSG_NEWOBJ = 0x12 2037 NFT_MSG_GETOBJ = 0x13 2038 NFT_MSG_DELOBJ = 0x14 2039 NFT_MSG_GETOBJ_RESET = 0x15 2040 NFT_MSG_NEWFLOWTABLE = 0x16 2041 NFT_MSG_GETFLOWTABLE = 0x17 2042 NFT_MSG_DELFLOWTABLE = 0x18 2043 NFT_MSG_GETRULE_RESET = 0x19 2044 NFT_MSG_MAX = 0x22 2045 NFTA_LIST_UNSPEC = 0x0 2046 NFTA_LIST_ELEM = 0x1 2047 NFTA_HOOK_UNSPEC = 0x0 2048 NFTA_HOOK_HOOKNUM = 0x1 2049 NFTA_HOOK_PRIORITY = 0x2 2050 NFTA_HOOK_DEV = 0x3 2051 NFT_TABLE_F_DORMANT = 0x1 2052 NFTA_TABLE_UNSPEC = 0x0 2053 NFTA_TABLE_NAME = 0x1 2054 NFTA_TABLE_FLAGS = 0x2 2055 NFTA_TABLE_USE = 0x3 2056 NFTA_CHAIN_UNSPEC = 0x0 2057 NFTA_CHAIN_TABLE = 0x1 2058 NFTA_CHAIN_HANDLE = 0x2 2059 NFTA_CHAIN_NAME = 0x3 2060 NFTA_CHAIN_HOOK = 0x4 2061 NFTA_CHAIN_POLICY = 0x5 2062 NFTA_CHAIN_USE = 0x6 2063 NFTA_CHAIN_TYPE = 0x7 2064 NFTA_CHAIN_COUNTERS = 0x8 2065 NFTA_CHAIN_PAD = 0x9 2066 NFTA_RULE_UNSPEC = 0x0 2067 NFTA_RULE_TABLE = 0x1 2068 NFTA_RULE_CHAIN = 0x2 2069 NFTA_RULE_HANDLE = 0x3 2070 NFTA_RULE_EXPRESSIONS = 0x4 2071 NFTA_RULE_COMPAT = 0x5 2072 NFTA_RULE_POSITION = 0x6 2073 NFTA_RULE_USERDATA = 0x7 2074 NFTA_RULE_PAD = 0x8 2075 NFTA_RULE_ID = 0x9 2076 NFT_RULE_COMPAT_F_INV = 0x2 2077 NFT_RULE_COMPAT_F_MASK = 0x2 2078 NFTA_RULE_COMPAT_UNSPEC = 0x0 2079 NFTA_RULE_COMPAT_PROTO = 0x1 2080 NFTA_RULE_COMPAT_FLAGS = 0x2 2081 NFT_SET_ANONYMOUS = 0x1 2082 NFT_SET_CONSTANT = 0x2 2083 NFT_SET_INTERVAL = 0x4 2084 NFT_SET_MAP = 0x8 2085 NFT_SET_TIMEOUT = 0x10 2086 NFT_SET_EVAL = 0x20 2087 NFT_SET_OBJECT = 0x40 2088 NFT_SET_POL_PERFORMANCE = 0x0 2089 NFT_SET_POL_MEMORY = 0x1 2090 NFTA_SET_DESC_UNSPEC = 0x0 2091 NFTA_SET_DESC_SIZE = 0x1 2092 NFTA_SET_UNSPEC = 0x0 2093 NFTA_SET_TABLE = 0x1 2094 NFTA_SET_NAME = 0x2 2095 NFTA_SET_FLAGS = 0x3 2096 NFTA_SET_KEY_TYPE = 0x4 2097 NFTA_SET_KEY_LEN = 0x5 2098 NFTA_SET_DATA_TYPE = 0x6 2099 NFTA_SET_DATA_LEN = 0x7 2100 NFTA_SET_POLICY = 0x8 2101 NFTA_SET_DESC = 0x9 2102 NFTA_SET_ID = 0xa 2103 NFTA_SET_TIMEOUT = 0xb 2104 NFTA_SET_GC_INTERVAL = 0xc 2105 NFTA_SET_USERDATA = 0xd 2106 NFTA_SET_PAD = 0xe 2107 NFTA_SET_OBJ_TYPE = 0xf 2108 NFT_SET_ELEM_INTERVAL_END = 0x1 2109 NFTA_SET_ELEM_UNSPEC = 0x0 2110 NFTA_SET_ELEM_KEY = 0x1 2111 NFTA_SET_ELEM_DATA = 0x2 2112 NFTA_SET_ELEM_FLAGS = 0x3 2113 NFTA_SET_ELEM_TIMEOUT = 0x4 2114 NFTA_SET_ELEM_EXPIRATION = 0x5 2115 NFTA_SET_ELEM_USERDATA = 0x6 2116 NFTA_SET_ELEM_EXPR = 0x7 2117 NFTA_SET_ELEM_PAD = 0x8 2118 NFTA_SET_ELEM_OBJREF = 0x9 2119 NFTA_SET_ELEM_LIST_UNSPEC = 0x0 2120 NFTA_SET_ELEM_LIST_TABLE = 0x1 2121 NFTA_SET_ELEM_LIST_SET = 0x2 2122 NFTA_SET_ELEM_LIST_ELEMENTS = 0x3 2123 NFTA_SET_ELEM_LIST_SET_ID = 0x4 2124 NFT_DATA_VALUE = 0x0 2125 NFT_DATA_VERDICT = 0xffffff00 2126 NFTA_DATA_UNSPEC = 0x0 2127 NFTA_DATA_VALUE = 0x1 2128 NFTA_DATA_VERDICT = 0x2 2129 NFTA_VERDICT_UNSPEC = 0x0 2130 NFTA_VERDICT_CODE = 0x1 2131 NFTA_VERDICT_CHAIN = 0x2 2132 NFTA_EXPR_UNSPEC = 0x0 2133 NFTA_EXPR_NAME = 0x1 2134 NFTA_EXPR_DATA = 0x2 2135 NFTA_IMMEDIATE_UNSPEC = 0x0 2136 NFTA_IMMEDIATE_DREG = 0x1 2137 NFTA_IMMEDIATE_DATA = 0x2 2138 NFTA_BITWISE_UNSPEC = 0x0 2139 NFTA_BITWISE_SREG = 0x1 2140 NFTA_BITWISE_DREG = 0x2 2141 NFTA_BITWISE_LEN = 0x3 2142 NFTA_BITWISE_MASK = 0x4 2143 NFTA_BITWISE_XOR = 0x5 2144 NFT_BYTEORDER_NTOH = 0x0 2145 NFT_BYTEORDER_HTON = 0x1 2146 NFTA_BYTEORDER_UNSPEC = 0x0 2147 NFTA_BYTEORDER_SREG = 0x1 2148 NFTA_BYTEORDER_DREG = 0x2 2149 NFTA_BYTEORDER_OP = 0x3 2150 NFTA_BYTEORDER_LEN = 0x4 2151 NFTA_BYTEORDER_SIZE = 0x5 2152 NFT_CMP_EQ = 0x0 2153 NFT_CMP_NEQ = 0x1 2154 NFT_CMP_LT = 0x2 2155 NFT_CMP_LTE = 0x3 2156 NFT_CMP_GT = 0x4 2157 NFT_CMP_GTE = 0x5 2158 NFTA_CMP_UNSPEC = 0x0 2159 NFTA_CMP_SREG = 0x1 2160 NFTA_CMP_OP = 0x2 2161 NFTA_CMP_DATA = 0x3 2162 NFT_RANGE_EQ = 0x0 2163 NFT_RANGE_NEQ = 0x1 2164 NFTA_RANGE_UNSPEC = 0x0 2165 NFTA_RANGE_SREG = 0x1 2166 NFTA_RANGE_OP = 0x2 2167 NFTA_RANGE_FROM_DATA = 0x3 2168 NFTA_RANGE_TO_DATA = 0x4 2169 NFT_LOOKUP_F_INV = 0x1 2170 NFTA_LOOKUP_UNSPEC = 0x0 2171 NFTA_LOOKUP_SET = 0x1 2172 NFTA_LOOKUP_SREG = 0x2 2173 NFTA_LOOKUP_DREG = 0x3 2174 NFTA_LOOKUP_SET_ID = 0x4 2175 NFTA_LOOKUP_FLAGS = 0x5 2176 NFT_DYNSET_OP_ADD = 0x0 2177 NFT_DYNSET_OP_UPDATE = 0x1 2178 NFT_DYNSET_F_INV = 0x1 2179 NFTA_DYNSET_UNSPEC = 0x0 2180 NFTA_DYNSET_SET_NAME = 0x1 2181 NFTA_DYNSET_SET_ID = 0x2 2182 NFTA_DYNSET_OP = 0x3 2183 NFTA_DYNSET_SREG_KEY = 0x4 2184 NFTA_DYNSET_SREG_DATA = 0x5 2185 NFTA_DYNSET_TIMEOUT = 0x6 2186 NFTA_DYNSET_EXPR = 0x7 2187 NFTA_DYNSET_PAD = 0x8 2188 NFTA_DYNSET_FLAGS = 0x9 2189 NFT_PAYLOAD_LL_HEADER = 0x0 2190 NFT_PAYLOAD_NETWORK_HEADER = 0x1 2191 NFT_PAYLOAD_TRANSPORT_HEADER = 0x2 2192 NFT_PAYLOAD_CSUM_NONE = 0x0 2193 NFT_PAYLOAD_CSUM_INET = 0x1 2194 NFT_PAYLOAD_L4CSUM_PSEUDOHDR = 0x1 2195 NFTA_PAYLOAD_UNSPEC = 0x0 2196 NFTA_PAYLOAD_DREG = 0x1 2197 NFTA_PAYLOAD_BASE = 0x2 2198 NFTA_PAYLOAD_OFFSET = 0x3 2199 NFTA_PAYLOAD_LEN = 0x4 2200 NFTA_PAYLOAD_SREG = 0x5 2201 NFTA_PAYLOAD_CSUM_TYPE = 0x6 2202 NFTA_PAYLOAD_CSUM_OFFSET = 0x7 2203 NFTA_PAYLOAD_CSUM_FLAGS = 0x8 2204 NFT_EXTHDR_F_PRESENT = 0x1 2205 NFT_EXTHDR_OP_IPV6 = 0x0 2206 NFT_EXTHDR_OP_TCPOPT = 0x1 2207 NFTA_EXTHDR_UNSPEC = 0x0 2208 NFTA_EXTHDR_DREG = 0x1 2209 NFTA_EXTHDR_TYPE = 0x2 2210 NFTA_EXTHDR_OFFSET = 0x3 2211 NFTA_EXTHDR_LEN = 0x4 2212 NFTA_EXTHDR_FLAGS = 0x5 2213 NFTA_EXTHDR_OP = 0x6 2214 NFTA_EXTHDR_SREG = 0x7 2215 NFT_META_LEN = 0x0 2216 NFT_META_PROTOCOL = 0x1 2217 NFT_META_PRIORITY = 0x2 2218 NFT_META_MARK = 0x3 2219 NFT_META_IIF = 0x4 2220 NFT_META_OIF = 0x5 2221 NFT_META_IIFNAME = 0x6 2222 NFT_META_OIFNAME = 0x7 2223 NFT_META_IIFTYPE = 0x8 2224 NFT_META_OIFTYPE = 0x9 2225 NFT_META_SKUID = 0xa 2226 NFT_META_SKGID = 0xb 2227 NFT_META_NFTRACE = 0xc 2228 NFT_META_RTCLASSID = 0xd 2229 NFT_META_SECMARK = 0xe 2230 NFT_META_NFPROTO = 0xf 2231 NFT_META_L4PROTO = 0x10 2232 NFT_META_BRI_IIFNAME = 0x11 2233 NFT_META_BRI_OIFNAME = 0x12 2234 NFT_META_PKTTYPE = 0x13 2235 NFT_META_CPU = 0x14 2236 NFT_META_IIFGROUP = 0x15 2237 NFT_META_OIFGROUP = 0x16 2238 NFT_META_CGROUP = 0x17 2239 NFT_META_PRANDOM = 0x18 2240 NFT_RT_CLASSID = 0x0 2241 NFT_RT_NEXTHOP4 = 0x1 2242 NFT_RT_NEXTHOP6 = 0x2 2243 NFT_RT_TCPMSS = 0x3 2244 NFT_HASH_JENKINS = 0x0 2245 NFT_HASH_SYM = 0x1 2246 NFTA_HASH_UNSPEC = 0x0 2247 NFTA_HASH_SREG = 0x1 2248 NFTA_HASH_DREG = 0x2 2249 NFTA_HASH_LEN = 0x3 2250 NFTA_HASH_MODULUS = 0x4 2251 NFTA_HASH_SEED = 0x5 2252 NFTA_HASH_OFFSET = 0x6 2253 NFTA_HASH_TYPE = 0x7 2254 NFTA_META_UNSPEC = 0x0 2255 NFTA_META_DREG = 0x1 2256 NFTA_META_KEY = 0x2 2257 NFTA_META_SREG = 0x3 2258 NFTA_RT_UNSPEC = 0x0 2259 NFTA_RT_DREG = 0x1 2260 NFTA_RT_KEY = 0x2 2261 NFT_CT_STATE = 0x0 2262 NFT_CT_DIRECTION = 0x1 2263 NFT_CT_STATUS = 0x2 2264 NFT_CT_MARK = 0x3 2265 NFT_CT_SECMARK = 0x4 2266 NFT_CT_EXPIRATION = 0x5 2267 NFT_CT_HELPER = 0x6 2268 NFT_CT_L3PROTOCOL = 0x7 2269 NFT_CT_SRC = 0x8 2270 NFT_CT_DST = 0x9 2271 NFT_CT_PROTOCOL = 0xa 2272 NFT_CT_PROTO_SRC = 0xb 2273 NFT_CT_PROTO_DST = 0xc 2274 NFT_CT_LABELS = 0xd 2275 NFT_CT_PKTS = 0xe 2276 NFT_CT_BYTES = 0xf 2277 NFT_CT_AVGPKT = 0x10 2278 NFT_CT_ZONE = 0x11 2279 NFT_CT_EVENTMASK = 0x12 2280 NFTA_CT_UNSPEC = 0x0 2281 NFTA_CT_DREG = 0x1 2282 NFTA_CT_KEY = 0x2 2283 NFTA_CT_DIRECTION = 0x3 2284 NFTA_CT_SREG = 0x4 2285 NFT_LIMIT_PKTS = 0x0 2286 NFT_LIMIT_PKT_BYTES = 0x1 2287 NFT_LIMIT_F_INV = 0x1 2288 NFTA_LIMIT_UNSPEC = 0x0 2289 NFTA_LIMIT_RATE = 0x1 2290 NFTA_LIMIT_UNIT = 0x2 2291 NFTA_LIMIT_BURST = 0x3 2292 NFTA_LIMIT_TYPE = 0x4 2293 NFTA_LIMIT_FLAGS = 0x5 2294 NFTA_LIMIT_PAD = 0x6 2295 NFTA_COUNTER_UNSPEC = 0x0 2296 NFTA_COUNTER_BYTES = 0x1 2297 NFTA_COUNTER_PACKETS = 0x2 2298 NFTA_COUNTER_PAD = 0x3 2299 NFTA_LOG_UNSPEC = 0x0 2300 NFTA_LOG_GROUP = 0x1 2301 NFTA_LOG_PREFIX = 0x2 2302 NFTA_LOG_SNAPLEN = 0x3 2303 NFTA_LOG_QTHRESHOLD = 0x4 2304 NFTA_LOG_LEVEL = 0x5 2305 NFTA_LOG_FLAGS = 0x6 2306 NFTA_QUEUE_UNSPEC = 0x0 2307 NFTA_QUEUE_NUM = 0x1 2308 NFTA_QUEUE_TOTAL = 0x2 2309 NFTA_QUEUE_FLAGS = 0x3 2310 NFTA_QUEUE_SREG_QNUM = 0x4 2311 NFT_QUOTA_F_INV = 0x1 2312 NFT_QUOTA_F_DEPLETED = 0x2 2313 NFTA_QUOTA_UNSPEC = 0x0 2314 NFTA_QUOTA_BYTES = 0x1 2315 NFTA_QUOTA_FLAGS = 0x2 2316 NFTA_QUOTA_PAD = 0x3 2317 NFTA_QUOTA_CONSUMED = 0x4 2318 NFT_REJECT_ICMP_UNREACH = 0x0 2319 NFT_REJECT_TCP_RST = 0x1 2320 NFT_REJECT_ICMPX_UNREACH = 0x2 2321 NFT_REJECT_ICMPX_NO_ROUTE = 0x0 2322 NFT_REJECT_ICMPX_PORT_UNREACH = 0x1 2323 NFT_REJECT_ICMPX_HOST_UNREACH = 0x2 2324 NFT_REJECT_ICMPX_ADMIN_PROHIBITED = 0x3 2325 NFTA_REJECT_UNSPEC = 0x0 2326 NFTA_REJECT_TYPE = 0x1 2327 NFTA_REJECT_ICMP_CODE = 0x2 2328 NFT_NAT_SNAT = 0x0 2329 NFT_NAT_DNAT = 0x1 2330 NFTA_NAT_UNSPEC = 0x0 2331 NFTA_NAT_TYPE = 0x1 2332 NFTA_NAT_FAMILY = 0x2 2333 NFTA_NAT_REG_ADDR_MIN = 0x3 2334 NFTA_NAT_REG_ADDR_MAX = 0x4 2335 NFTA_NAT_REG_PROTO_MIN = 0x5 2336 NFTA_NAT_REG_PROTO_MAX = 0x6 2337 NFTA_NAT_FLAGS = 0x7 2338 NFTA_MASQ_UNSPEC = 0x0 2339 NFTA_MASQ_FLAGS = 0x1 2340 NFTA_MASQ_REG_PROTO_MIN = 0x2 2341 NFTA_MASQ_REG_PROTO_MAX = 0x3 2342 NFTA_REDIR_UNSPEC = 0x0 2343 NFTA_REDIR_REG_PROTO_MIN = 0x1 2344 NFTA_REDIR_REG_PROTO_MAX = 0x2 2345 NFTA_REDIR_FLAGS = 0x3 2346 NFTA_DUP_UNSPEC = 0x0 2347 NFTA_DUP_SREG_ADDR = 0x1 2348 NFTA_DUP_SREG_DEV = 0x2 2349 NFTA_FWD_UNSPEC = 0x0 2350 NFTA_FWD_SREG_DEV = 0x1 2351 NFTA_OBJREF_UNSPEC = 0x0 2352 NFTA_OBJREF_IMM_TYPE = 0x1 2353 NFTA_OBJREF_IMM_NAME = 0x2 2354 NFTA_OBJREF_SET_SREG = 0x3 2355 NFTA_OBJREF_SET_NAME = 0x4 2356 NFTA_OBJREF_SET_ID = 0x5 2357 NFTA_GEN_UNSPEC = 0x0 2358 NFTA_GEN_ID = 0x1 2359 NFTA_GEN_PROC_PID = 0x2 2360 NFTA_GEN_PROC_NAME = 0x3 2361 NFTA_FIB_UNSPEC = 0x0 2362 NFTA_FIB_DREG = 0x1 2363 NFTA_FIB_RESULT = 0x2 2364 NFTA_FIB_FLAGS = 0x3 2365 NFT_FIB_RESULT_UNSPEC = 0x0 2366 NFT_FIB_RESULT_OIF = 0x1 2367 NFT_FIB_RESULT_OIFNAME = 0x2 2368 NFT_FIB_RESULT_ADDRTYPE = 0x3 2369 NFTA_FIB_F_SADDR = 0x1 2370 NFTA_FIB_F_DADDR = 0x2 2371 NFTA_FIB_F_MARK = 0x4 2372 NFTA_FIB_F_IIF = 0x8 2373 NFTA_FIB_F_OIF = 0x10 2374 NFTA_FIB_F_PRESENT = 0x20 2375 NFTA_CT_HELPER_UNSPEC = 0x0 2376 NFTA_CT_HELPER_NAME = 0x1 2377 NFTA_CT_HELPER_L3PROTO = 0x2 2378 NFTA_CT_HELPER_L4PROTO = 0x3 2379 NFTA_OBJ_UNSPEC = 0x0 2380 NFTA_OBJ_TABLE = 0x1 2381 NFTA_OBJ_NAME = 0x2 2382 NFTA_OBJ_TYPE = 0x3 2383 NFTA_OBJ_DATA = 0x4 2384 NFTA_OBJ_USE = 0x5 2385 NFTA_TRACE_UNSPEC = 0x0 2386 NFTA_TRACE_TABLE = 0x1 2387 NFTA_TRACE_CHAIN = 0x2 2388 NFTA_TRACE_RULE_HANDLE = 0x3 2389 NFTA_TRACE_TYPE = 0x4 2390 NFTA_TRACE_VERDICT = 0x5 2391 NFTA_TRACE_ID = 0x6 2392 NFTA_TRACE_LL_HEADER = 0x7 2393 NFTA_TRACE_NETWORK_HEADER = 0x8 2394 NFTA_TRACE_TRANSPORT_HEADER = 0x9 2395 NFTA_TRACE_IIF = 0xa 2396 NFTA_TRACE_IIFTYPE = 0xb 2397 NFTA_TRACE_OIF = 0xc 2398 NFTA_TRACE_OIFTYPE = 0xd 2399 NFTA_TRACE_MARK = 0xe 2400 NFTA_TRACE_NFPROTO = 0xf 2401 NFTA_TRACE_POLICY = 0x10 2402 NFTA_TRACE_PAD = 0x11 2403 NFT_TRACETYPE_UNSPEC = 0x0 2404 NFT_TRACETYPE_POLICY = 0x1 2405 NFT_TRACETYPE_RETURN = 0x2 2406 NFT_TRACETYPE_RULE = 0x3 2407 NFTA_NG_UNSPEC = 0x0 2408 NFTA_NG_DREG = 0x1 2409 NFTA_NG_MODULUS = 0x2 2410 NFTA_NG_TYPE = 0x3 2411 NFTA_NG_OFFSET = 0x4 2412 NFT_NG_INCREMENTAL = 0x0 2413 NFT_NG_RANDOM = 0x1 2414 ) 2415 2416 const ( 2417 NFTA_TARGET_UNSPEC = 0x0 2418 NFTA_TARGET_NAME = 0x1 2419 NFTA_TARGET_REV = 0x2 2420 NFTA_TARGET_INFO = 0x3 2421 NFTA_MATCH_UNSPEC = 0x0 2422 NFTA_MATCH_NAME = 0x1 2423 NFTA_MATCH_REV = 0x2 2424 NFTA_MATCH_INFO = 0x3 2425 NFTA_COMPAT_UNSPEC = 0x0 2426 NFTA_COMPAT_NAME = 0x1 2427 NFTA_COMPAT_REV = 0x2 2428 NFTA_COMPAT_TYPE = 0x3 2429 ) 2430 2431 type RTCTime struct { 2432 Sec int32 2433 Min int32 2434 Hour int32 2435 Mday int32 2436 Mon int32 2437 Year int32 2438 Wday int32 2439 Yday int32 2440 Isdst int32 2441 } 2442 2443 type RTCWkAlrm struct { 2444 Enabled uint8 2445 Pending uint8 2446 Time RTCTime 2447 } 2448 2449 type BlkpgIoctlArg struct { 2450 Op int32 2451 Flags int32 2452 Datalen int32 2453 Data *byte 2454 } 2455 2456 const ( 2457 BLKPG_ADD_PARTITION = 0x1 2458 BLKPG_DEL_PARTITION = 0x2 2459 BLKPG_RESIZE_PARTITION = 0x3 2460 ) 2461 2462 const ( 2463 NETNSA_NONE = 0x0 2464 NETNSA_NSID = 0x1 2465 NETNSA_PID = 0x2 2466 NETNSA_FD = 0x3 2467 NETNSA_TARGET_NSID = 0x4 2468 NETNSA_CURRENT_NSID = 0x5 2469 ) 2470 2471 type XDPRingOffset struct { 2472 Producer uint64 2473 Consumer uint64 2474 Desc uint64 2475 Flags uint64 2476 } 2477 2478 type XDPMmapOffsets struct { 2479 Rx XDPRingOffset 2480 Tx XDPRingOffset 2481 Fr XDPRingOffset 2482 Cr XDPRingOffset 2483 } 2484 2485 type XDPUmemReg struct { 2486 Addr uint64 2487 Len uint64 2488 Chunk_size uint32 2489 Headroom uint32 2490 Flags uint32 2491 Tx_metadata_len uint32 2492 } 2493 2494 type XDPStatistics struct { 2495 Rx_dropped uint64 2496 Rx_invalid_descs uint64 2497 Tx_invalid_descs uint64 2498 Rx_ring_full uint64 2499 Rx_fill_ring_empty_descs uint64 2500 Tx_ring_empty_descs uint64 2501 } 2502 2503 type XDPDesc struct { 2504 Addr uint64 2505 Len uint32 2506 Options uint32 2507 } 2508 2509 const ( 2510 NCSI_CMD_UNSPEC = 0x0 2511 NCSI_CMD_PKG_INFO = 0x1 2512 NCSI_CMD_SET_INTERFACE = 0x2 2513 NCSI_CMD_CLEAR_INTERFACE = 0x3 2514 NCSI_ATTR_UNSPEC = 0x0 2515 NCSI_ATTR_IFINDEX = 0x1 2516 NCSI_ATTR_PACKAGE_LIST = 0x2 2517 NCSI_ATTR_PACKAGE_ID = 0x3 2518 NCSI_ATTR_CHANNEL_ID = 0x4 2519 NCSI_PKG_ATTR_UNSPEC = 0x0 2520 NCSI_PKG_ATTR = 0x1 2521 NCSI_PKG_ATTR_ID = 0x2 2522 NCSI_PKG_ATTR_FORCED = 0x3 2523 NCSI_PKG_ATTR_CHANNEL_LIST = 0x4 2524 NCSI_CHANNEL_ATTR_UNSPEC = 0x0 2525 NCSI_CHANNEL_ATTR = 0x1 2526 NCSI_CHANNEL_ATTR_ID = 0x2 2527 NCSI_CHANNEL_ATTR_VERSION_MAJOR = 0x3 2528 NCSI_CHANNEL_ATTR_VERSION_MINOR = 0x4 2529 NCSI_CHANNEL_ATTR_VERSION_STR = 0x5 2530 NCSI_CHANNEL_ATTR_LINK_STATE = 0x6 2531 NCSI_CHANNEL_ATTR_ACTIVE = 0x7 2532 NCSI_CHANNEL_ATTR_FORCED = 0x8 2533 NCSI_CHANNEL_ATTR_VLAN_LIST = 0x9 2534 NCSI_CHANNEL_ATTR_VLAN_ID = 0xa 2535 ) 2536 2537 type ScmTimestamping struct { 2538 Ts [3]Timespec 2539 } 2540 2541 const ( 2542 SOF_TIMESTAMPING_TX_HARDWARE = 0x1 2543 SOF_TIMESTAMPING_TX_SOFTWARE = 0x2 2544 SOF_TIMESTAMPING_RX_HARDWARE = 0x4 2545 SOF_TIMESTAMPING_RX_SOFTWARE = 0x8 2546 SOF_TIMESTAMPING_SOFTWARE = 0x10 2547 SOF_TIMESTAMPING_SYS_HARDWARE = 0x20 2548 SOF_TIMESTAMPING_RAW_HARDWARE = 0x40 2549 SOF_TIMESTAMPING_OPT_ID = 0x80 2550 SOF_TIMESTAMPING_TX_SCHED = 0x100 2551 SOF_TIMESTAMPING_TX_ACK = 0x200 2552 SOF_TIMESTAMPING_OPT_CMSG = 0x400 2553 SOF_TIMESTAMPING_OPT_TSONLY = 0x800 2554 SOF_TIMESTAMPING_OPT_STATS = 0x1000 2555 SOF_TIMESTAMPING_OPT_PKTINFO = 0x2000 2556 SOF_TIMESTAMPING_OPT_TX_SWHW = 0x4000 2557 SOF_TIMESTAMPING_BIND_PHC = 0x8000 2558 SOF_TIMESTAMPING_OPT_ID_TCP = 0x10000 2559 2560 SOF_TIMESTAMPING_LAST = 0x10000 2561 SOF_TIMESTAMPING_MASK = 0x1ffff 2562 2563 SCM_TSTAMP_SND = 0x0 2564 SCM_TSTAMP_SCHED = 0x1 2565 SCM_TSTAMP_ACK = 0x2 2566 ) 2567 2568 type SockExtendedErr struct { 2569 Errno uint32 2570 Origin uint8 2571 Type uint8 2572 Code uint8 2573 Pad uint8 2574 Info uint32 2575 Data uint32 2576 } 2577 2578 type FanotifyEventMetadata struct { 2579 Event_len uint32 2580 Vers uint8 2581 Reserved uint8 2582 Metadata_len uint16 2583 Mask uint64 2584 Fd int32 2585 Pid int32 2586 } 2587 2588 type FanotifyResponse struct { 2589 Fd int32 2590 Response uint32 2591 } 2592 2593 const ( 2594 CRYPTO_MSG_BASE = 0x10 2595 CRYPTO_MSG_NEWALG = 0x10 2596 CRYPTO_MSG_DELALG = 0x11 2597 CRYPTO_MSG_UPDATEALG = 0x12 2598 CRYPTO_MSG_GETALG = 0x13 2599 CRYPTO_MSG_DELRNG = 0x14 2600 CRYPTO_MSG_GETSTAT = 0x15 2601 ) 2602 2603 const ( 2604 CRYPTOCFGA_UNSPEC = 0x0 2605 CRYPTOCFGA_PRIORITY_VAL = 0x1 2606 CRYPTOCFGA_REPORT_LARVAL = 0x2 2607 CRYPTOCFGA_REPORT_HASH = 0x3 2608 CRYPTOCFGA_REPORT_BLKCIPHER = 0x4 2609 CRYPTOCFGA_REPORT_AEAD = 0x5 2610 CRYPTOCFGA_REPORT_COMPRESS = 0x6 2611 CRYPTOCFGA_REPORT_RNG = 0x7 2612 CRYPTOCFGA_REPORT_CIPHER = 0x8 2613 CRYPTOCFGA_REPORT_AKCIPHER = 0x9 2614 CRYPTOCFGA_REPORT_KPP = 0xa 2615 CRYPTOCFGA_REPORT_ACOMP = 0xb 2616 CRYPTOCFGA_STAT_LARVAL = 0xc 2617 CRYPTOCFGA_STAT_HASH = 0xd 2618 CRYPTOCFGA_STAT_BLKCIPHER = 0xe 2619 CRYPTOCFGA_STAT_AEAD = 0xf 2620 CRYPTOCFGA_STAT_COMPRESS = 0x10 2621 CRYPTOCFGA_STAT_RNG = 0x11 2622 CRYPTOCFGA_STAT_CIPHER = 0x12 2623 CRYPTOCFGA_STAT_AKCIPHER = 0x13 2624 CRYPTOCFGA_STAT_KPP = 0x14 2625 CRYPTOCFGA_STAT_ACOMP = 0x15 2626 ) 2627 2628 const ( 2629 BPF_REG_0 = 0x0 2630 BPF_REG_1 = 0x1 2631 BPF_REG_2 = 0x2 2632 BPF_REG_3 = 0x3 2633 BPF_REG_4 = 0x4 2634 BPF_REG_5 = 0x5 2635 BPF_REG_6 = 0x6 2636 BPF_REG_7 = 0x7 2637 BPF_REG_8 = 0x8 2638 BPF_REG_9 = 0x9 2639 BPF_REG_10 = 0xa 2640 BPF_CGROUP_ITER_ORDER_UNSPEC = 0x0 2641 BPF_CGROUP_ITER_SELF_ONLY = 0x1 2642 BPF_CGROUP_ITER_DESCENDANTS_PRE = 0x2 2643 BPF_CGROUP_ITER_DESCENDANTS_POST = 0x3 2644 BPF_CGROUP_ITER_ANCESTORS_UP = 0x4 2645 BPF_MAP_CREATE = 0x0 2646 BPF_MAP_LOOKUP_ELEM = 0x1 2647 BPF_MAP_UPDATE_ELEM = 0x2 2648 BPF_MAP_DELETE_ELEM = 0x3 2649 BPF_MAP_GET_NEXT_KEY = 0x4 2650 BPF_PROG_LOAD = 0x5 2651 BPF_OBJ_PIN = 0x6 2652 BPF_OBJ_GET = 0x7 2653 BPF_PROG_ATTACH = 0x8 2654 BPF_PROG_DETACH = 0x9 2655 BPF_PROG_TEST_RUN = 0xa 2656 BPF_PROG_RUN = 0xa 2657 BPF_PROG_GET_NEXT_ID = 0xb 2658 BPF_MAP_GET_NEXT_ID = 0xc 2659 BPF_PROG_GET_FD_BY_ID = 0xd 2660 BPF_MAP_GET_FD_BY_ID = 0xe 2661 BPF_OBJ_GET_INFO_BY_FD = 0xf 2662 BPF_PROG_QUERY = 0x10 2663 BPF_RAW_TRACEPOINT_OPEN = 0x11 2664 BPF_BTF_LOAD = 0x12 2665 BPF_BTF_GET_FD_BY_ID = 0x13 2666 BPF_TASK_FD_QUERY = 0x14 2667 BPF_MAP_LOOKUP_AND_DELETE_ELEM = 0x15 2668 BPF_MAP_FREEZE = 0x16 2669 BPF_BTF_GET_NEXT_ID = 0x17 2670 BPF_MAP_LOOKUP_BATCH = 0x18 2671 BPF_MAP_LOOKUP_AND_DELETE_BATCH = 0x19 2672 BPF_MAP_UPDATE_BATCH = 0x1a 2673 BPF_MAP_DELETE_BATCH = 0x1b 2674 BPF_LINK_CREATE = 0x1c 2675 BPF_LINK_UPDATE = 0x1d 2676 BPF_LINK_GET_FD_BY_ID = 0x1e 2677 BPF_LINK_GET_NEXT_ID = 0x1f 2678 BPF_ENABLE_STATS = 0x20 2679 BPF_ITER_CREATE = 0x21 2680 BPF_LINK_DETACH = 0x22 2681 BPF_PROG_BIND_MAP = 0x23 2682 BPF_MAP_TYPE_UNSPEC = 0x0 2683 BPF_MAP_TYPE_HASH = 0x1 2684 BPF_MAP_TYPE_ARRAY = 0x2 2685 BPF_MAP_TYPE_PROG_ARRAY = 0x3 2686 BPF_MAP_TYPE_PERF_EVENT_ARRAY = 0x4 2687 BPF_MAP_TYPE_PERCPU_HASH = 0x5 2688 BPF_MAP_TYPE_PERCPU_ARRAY = 0x6 2689 BPF_MAP_TYPE_STACK_TRACE = 0x7 2690 BPF_MAP_TYPE_CGROUP_ARRAY = 0x8 2691 BPF_MAP_TYPE_LRU_HASH = 0x9 2692 BPF_MAP_TYPE_LRU_PERCPU_HASH = 0xa 2693 BPF_MAP_TYPE_LPM_TRIE = 0xb 2694 BPF_MAP_TYPE_ARRAY_OF_MAPS = 0xc 2695 BPF_MAP_TYPE_HASH_OF_MAPS = 0xd 2696 BPF_MAP_TYPE_DEVMAP = 0xe 2697 BPF_MAP_TYPE_SOCKMAP = 0xf 2698 BPF_MAP_TYPE_CPUMAP = 0x10 2699 BPF_MAP_TYPE_XSKMAP = 0x11 2700 BPF_MAP_TYPE_SOCKHASH = 0x12 2701 BPF_MAP_TYPE_CGROUP_STORAGE_DEPRECATED = 0x13 2702 BPF_MAP_TYPE_CGROUP_STORAGE = 0x13 2703 BPF_MAP_TYPE_REUSEPORT_SOCKARRAY = 0x14 2704 BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE = 0x15 2705 BPF_MAP_TYPE_QUEUE = 0x16 2706 BPF_MAP_TYPE_STACK = 0x17 2707 BPF_MAP_TYPE_SK_STORAGE = 0x18 2708 BPF_MAP_TYPE_DEVMAP_HASH = 0x19 2709 BPF_MAP_TYPE_STRUCT_OPS = 0x1a 2710 BPF_MAP_TYPE_RINGBUF = 0x1b 2711 BPF_MAP_TYPE_INODE_STORAGE = 0x1c 2712 BPF_MAP_TYPE_TASK_STORAGE = 0x1d 2713 BPF_MAP_TYPE_BLOOM_FILTER = 0x1e 2714 BPF_MAP_TYPE_USER_RINGBUF = 0x1f 2715 BPF_MAP_TYPE_CGRP_STORAGE = 0x20 2716 BPF_PROG_TYPE_UNSPEC = 0x0 2717 BPF_PROG_TYPE_SOCKET_FILTER = 0x1 2718 BPF_PROG_TYPE_KPROBE = 0x2 2719 BPF_PROG_TYPE_SCHED_CLS = 0x3 2720 BPF_PROG_TYPE_SCHED_ACT = 0x4 2721 BPF_PROG_TYPE_TRACEPOINT = 0x5 2722 BPF_PROG_TYPE_XDP = 0x6 2723 BPF_PROG_TYPE_PERF_EVENT = 0x7 2724 BPF_PROG_TYPE_CGROUP_SKB = 0x8 2725 BPF_PROG_TYPE_CGROUP_SOCK = 0x9 2726 BPF_PROG_TYPE_LWT_IN = 0xa 2727 BPF_PROG_TYPE_LWT_OUT = 0xb 2728 BPF_PROG_TYPE_LWT_XMIT = 0xc 2729 BPF_PROG_TYPE_SOCK_OPS = 0xd 2730 BPF_PROG_TYPE_SK_SKB = 0xe 2731 BPF_PROG_TYPE_CGROUP_DEVICE = 0xf 2732 BPF_PROG_TYPE_SK_MSG = 0x10 2733 BPF_PROG_TYPE_RAW_TRACEPOINT = 0x11 2734 BPF_PROG_TYPE_CGROUP_SOCK_ADDR = 0x12 2735 BPF_PROG_TYPE_LWT_SEG6LOCAL = 0x13 2736 BPF_PROG_TYPE_LIRC_MODE2 = 0x14 2737 BPF_PROG_TYPE_SK_REUSEPORT = 0x15 2738 BPF_PROG_TYPE_FLOW_DISSECTOR = 0x16 2739 BPF_PROG_TYPE_CGROUP_SYSCTL = 0x17 2740 BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE = 0x18 2741 BPF_PROG_TYPE_CGROUP_SOCKOPT = 0x19 2742 BPF_PROG_TYPE_TRACING = 0x1a 2743 BPF_PROG_TYPE_STRUCT_OPS = 0x1b 2744 BPF_PROG_TYPE_EXT = 0x1c 2745 BPF_PROG_TYPE_LSM = 0x1d 2746 BPF_PROG_TYPE_SK_LOOKUP = 0x1e 2747 BPF_PROG_TYPE_SYSCALL = 0x1f 2748 BPF_PROG_TYPE_NETFILTER = 0x20 2749 BPF_CGROUP_INET_INGRESS = 0x0 2750 BPF_CGROUP_INET_EGRESS = 0x1 2751 BPF_CGROUP_INET_SOCK_CREATE = 0x2 2752 BPF_CGROUP_SOCK_OPS = 0x3 2753 BPF_SK_SKB_STREAM_PARSER = 0x4 2754 BPF_SK_SKB_STREAM_VERDICT = 0x5 2755 BPF_CGROUP_DEVICE = 0x6 2756 BPF_SK_MSG_VERDICT = 0x7 2757 BPF_CGROUP_INET4_BIND = 0x8 2758 BPF_CGROUP_INET6_BIND = 0x9 2759 BPF_CGROUP_INET4_CONNECT = 0xa 2760 BPF_CGROUP_INET6_CONNECT = 0xb 2761 BPF_CGROUP_INET4_POST_BIND = 0xc 2762 BPF_CGROUP_INET6_POST_BIND = 0xd 2763 BPF_CGROUP_UDP4_SENDMSG = 0xe 2764 BPF_CGROUP_UDP6_SENDMSG = 0xf 2765 BPF_LIRC_MODE2 = 0x10 2766 BPF_FLOW_DISSECTOR = 0x11 2767 BPF_CGROUP_SYSCTL = 0x12 2768 BPF_CGROUP_UDP4_RECVMSG = 0x13 2769 BPF_CGROUP_UDP6_RECVMSG = 0x14 2770 BPF_CGROUP_GETSOCKOPT = 0x15 2771 BPF_CGROUP_SETSOCKOPT = 0x16 2772 BPF_TRACE_RAW_TP = 0x17 2773 BPF_TRACE_FENTRY = 0x18 2774 BPF_TRACE_FEXIT = 0x19 2775 BPF_MODIFY_RETURN = 0x1a 2776 BPF_LSM_MAC = 0x1b 2777 BPF_TRACE_ITER = 0x1c 2778 BPF_CGROUP_INET4_GETPEERNAME = 0x1d 2779 BPF_CGROUP_INET6_GETPEERNAME = 0x1e 2780 BPF_CGROUP_INET4_GETSOCKNAME = 0x1f 2781 BPF_CGROUP_INET6_GETSOCKNAME = 0x20 2782 BPF_XDP_DEVMAP = 0x21 2783 BPF_CGROUP_INET_SOCK_RELEASE = 0x22 2784 BPF_XDP_CPUMAP = 0x23 2785 BPF_SK_LOOKUP = 0x24 2786 BPF_XDP = 0x25 2787 BPF_SK_SKB_VERDICT = 0x26 2788 BPF_SK_REUSEPORT_SELECT = 0x27 2789 BPF_SK_REUSEPORT_SELECT_OR_MIGRATE = 0x28 2790 BPF_PERF_EVENT = 0x29 2791 BPF_TRACE_KPROBE_MULTI = 0x2a 2792 BPF_LSM_CGROUP = 0x2b 2793 BPF_STRUCT_OPS = 0x2c 2794 BPF_NETFILTER = 0x2d 2795 BPF_TCX_INGRESS = 0x2e 2796 BPF_TCX_EGRESS = 0x2f 2797 BPF_TRACE_UPROBE_MULTI = 0x30 2798 BPF_LINK_TYPE_UNSPEC = 0x0 2799 BPF_LINK_TYPE_RAW_TRACEPOINT = 0x1 2800 BPF_LINK_TYPE_TRACING = 0x2 2801 BPF_LINK_TYPE_CGROUP = 0x3 2802 BPF_LINK_TYPE_ITER = 0x4 2803 BPF_LINK_TYPE_NETNS = 0x5 2804 BPF_LINK_TYPE_XDP = 0x6 2805 BPF_LINK_TYPE_PERF_EVENT = 0x7 2806 BPF_LINK_TYPE_KPROBE_MULTI = 0x8 2807 BPF_LINK_TYPE_STRUCT_OPS = 0x9 2808 BPF_LINK_TYPE_NETFILTER = 0xa 2809 BPF_LINK_TYPE_TCX = 0xb 2810 BPF_LINK_TYPE_UPROBE_MULTI = 0xc 2811 BPF_PERF_EVENT_UNSPEC = 0x0 2812 BPF_PERF_EVENT_UPROBE = 0x1 2813 BPF_PERF_EVENT_URETPROBE = 0x2 2814 BPF_PERF_EVENT_KPROBE = 0x3 2815 BPF_PERF_EVENT_KRETPROBE = 0x4 2816 BPF_PERF_EVENT_TRACEPOINT = 0x5 2817 BPF_PERF_EVENT_EVENT = 0x6 2818 BPF_F_KPROBE_MULTI_RETURN = 0x1 2819 BPF_F_UPROBE_MULTI_RETURN = 0x1 2820 BPF_ANY = 0x0 2821 BPF_NOEXIST = 0x1 2822 BPF_EXIST = 0x2 2823 BPF_F_LOCK = 0x4 2824 BPF_F_NO_PREALLOC = 0x1 2825 BPF_F_NO_COMMON_LRU = 0x2 2826 BPF_F_NUMA_NODE = 0x4 2827 BPF_F_RDONLY = 0x8 2828 BPF_F_WRONLY = 0x10 2829 BPF_F_STACK_BUILD_ID = 0x20 2830 BPF_F_ZERO_SEED = 0x40 2831 BPF_F_RDONLY_PROG = 0x80 2832 BPF_F_WRONLY_PROG = 0x100 2833 BPF_F_CLONE = 0x200 2834 BPF_F_MMAPABLE = 0x400 2835 BPF_F_PRESERVE_ELEMS = 0x800 2836 BPF_F_INNER_MAP = 0x1000 2837 BPF_F_LINK = 0x2000 2838 BPF_F_PATH_FD = 0x4000 2839 BPF_STATS_RUN_TIME = 0x0 2840 BPF_STACK_BUILD_ID_EMPTY = 0x0 2841 BPF_STACK_BUILD_ID_VALID = 0x1 2842 BPF_STACK_BUILD_ID_IP = 0x2 2843 BPF_F_RECOMPUTE_CSUM = 0x1 2844 BPF_F_INVALIDATE_HASH = 0x2 2845 BPF_F_HDR_FIELD_MASK = 0xf 2846 BPF_F_PSEUDO_HDR = 0x10 2847 BPF_F_MARK_MANGLED_0 = 0x20 2848 BPF_F_MARK_ENFORCE = 0x40 2849 BPF_F_INGRESS = 0x1 2850 BPF_F_TUNINFO_IPV6 = 0x1 2851 BPF_F_SKIP_FIELD_MASK = 0xff 2852 BPF_F_USER_STACK = 0x100 2853 BPF_F_FAST_STACK_CMP = 0x200 2854 BPF_F_REUSE_STACKID = 0x400 2855 BPF_F_USER_BUILD_ID = 0x800 2856 BPF_F_ZERO_CSUM_TX = 0x2 2857 BPF_F_DONT_FRAGMENT = 0x4 2858 BPF_F_SEQ_NUMBER = 0x8 2859 BPF_F_NO_TUNNEL_KEY = 0x10 2860 BPF_F_TUNINFO_FLAGS = 0x10 2861 BPF_F_INDEX_MASK = 0xffffffff 2862 BPF_F_CURRENT_CPU = 0xffffffff 2863 BPF_F_CTXLEN_MASK = 0xfffff00000000 2864 BPF_F_CURRENT_NETNS = -0x1 2865 BPF_CSUM_LEVEL_QUERY = 0x0 2866 BPF_CSUM_LEVEL_INC = 0x1 2867 BPF_CSUM_LEVEL_DEC = 0x2 2868 BPF_CSUM_LEVEL_RESET = 0x3 2869 BPF_F_ADJ_ROOM_FIXED_GSO = 0x1 2870 BPF_F_ADJ_ROOM_ENCAP_L3_IPV4 = 0x2 2871 BPF_F_ADJ_ROOM_ENCAP_L3_IPV6 = 0x4 2872 BPF_F_ADJ_ROOM_ENCAP_L4_GRE = 0x8 2873 BPF_F_ADJ_ROOM_ENCAP_L4_UDP = 0x10 2874 BPF_F_ADJ_ROOM_NO_CSUM_RESET = 0x20 2875 BPF_F_ADJ_ROOM_ENCAP_L2_ETH = 0x40 2876 BPF_F_ADJ_ROOM_DECAP_L3_IPV4 = 0x80 2877 BPF_F_ADJ_ROOM_DECAP_L3_IPV6 = 0x100 2878 BPF_ADJ_ROOM_ENCAP_L2_MASK = 0xff 2879 BPF_ADJ_ROOM_ENCAP_L2_SHIFT = 0x38 2880 BPF_F_SYSCTL_BASE_NAME = 0x1 2881 BPF_LOCAL_STORAGE_GET_F_CREATE = 0x1 2882 BPF_SK_STORAGE_GET_F_CREATE = 0x1 2883 BPF_F_GET_BRANCH_RECORDS_SIZE = 0x1 2884 BPF_RB_NO_WAKEUP = 0x1 2885 BPF_RB_FORCE_WAKEUP = 0x2 2886 BPF_RB_AVAIL_DATA = 0x0 2887 BPF_RB_RING_SIZE = 0x1 2888 BPF_RB_CONS_POS = 0x2 2889 BPF_RB_PROD_POS = 0x3 2890 BPF_RINGBUF_BUSY_BIT = 0x80000000 2891 BPF_RINGBUF_DISCARD_BIT = 0x40000000 2892 BPF_RINGBUF_HDR_SZ = 0x8 2893 BPF_SK_LOOKUP_F_REPLACE = 0x1 2894 BPF_SK_LOOKUP_F_NO_REUSEPORT = 0x2 2895 BPF_ADJ_ROOM_NET = 0x0 2896 BPF_ADJ_ROOM_MAC = 0x1 2897 BPF_HDR_START_MAC = 0x0 2898 BPF_HDR_START_NET = 0x1 2899 BPF_LWT_ENCAP_SEG6 = 0x0 2900 BPF_LWT_ENCAP_SEG6_INLINE = 0x1 2901 BPF_LWT_ENCAP_IP = 0x2 2902 BPF_F_BPRM_SECUREEXEC = 0x1 2903 BPF_F_BROADCAST = 0x8 2904 BPF_F_EXCLUDE_INGRESS = 0x10 2905 BPF_SKB_TSTAMP_UNSPEC = 0x0 2906 BPF_SKB_TSTAMP_DELIVERY_MONO = 0x1 2907 BPF_OK = 0x0 2908 BPF_DROP = 0x2 2909 BPF_REDIRECT = 0x7 2910 BPF_LWT_REROUTE = 0x80 2911 BPF_FLOW_DISSECTOR_CONTINUE = 0x81 2912 BPF_SOCK_OPS_RTO_CB_FLAG = 0x1 2913 BPF_SOCK_OPS_RETRANS_CB_FLAG = 0x2 2914 BPF_SOCK_OPS_STATE_CB_FLAG = 0x4 2915 BPF_SOCK_OPS_RTT_CB_FLAG = 0x8 2916 BPF_SOCK_OPS_PARSE_ALL_HDR_OPT_CB_FLAG = 0x10 2917 BPF_SOCK_OPS_PARSE_UNKNOWN_HDR_OPT_CB_FLAG = 0x20 2918 BPF_SOCK_OPS_WRITE_HDR_OPT_CB_FLAG = 0x40 2919 BPF_SOCK_OPS_ALL_CB_FLAGS = 0x7f 2920 BPF_SOCK_OPS_VOID = 0x0 2921 BPF_SOCK_OPS_TIMEOUT_INIT = 0x1 2922 BPF_SOCK_OPS_RWND_INIT = 0x2 2923 BPF_SOCK_OPS_TCP_CONNECT_CB = 0x3 2924 BPF_SOCK_OPS_ACTIVE_ESTABLISHED_CB = 0x4 2925 BPF_SOCK_OPS_PASSIVE_ESTABLISHED_CB = 0x5 2926 BPF_SOCK_OPS_NEEDS_ECN = 0x6 2927 BPF_SOCK_OPS_BASE_RTT = 0x7 2928 BPF_SOCK_OPS_RTO_CB = 0x8 2929 BPF_SOCK_OPS_RETRANS_CB = 0x9 2930 BPF_SOCK_OPS_STATE_CB = 0xa 2931 BPF_SOCK_OPS_TCP_LISTEN_CB = 0xb 2932 BPF_SOCK_OPS_RTT_CB = 0xc 2933 BPF_SOCK_OPS_PARSE_HDR_OPT_CB = 0xd 2934 BPF_SOCK_OPS_HDR_OPT_LEN_CB = 0xe 2935 BPF_SOCK_OPS_WRITE_HDR_OPT_CB = 0xf 2936 BPF_TCP_ESTABLISHED = 0x1 2937 BPF_TCP_SYN_SENT = 0x2 2938 BPF_TCP_SYN_RECV = 0x3 2939 BPF_TCP_FIN_WAIT1 = 0x4 2940 BPF_TCP_FIN_WAIT2 = 0x5 2941 BPF_TCP_TIME_WAIT = 0x6 2942 BPF_TCP_CLOSE = 0x7 2943 BPF_TCP_CLOSE_WAIT = 0x8 2944 BPF_TCP_LAST_ACK = 0x9 2945 BPF_TCP_LISTEN = 0xa 2946 BPF_TCP_CLOSING = 0xb 2947 BPF_TCP_NEW_SYN_RECV = 0xc 2948 BPF_TCP_MAX_STATES = 0xe 2949 TCP_BPF_IW = 0x3e9 2950 TCP_BPF_SNDCWND_CLAMP = 0x3ea 2951 TCP_BPF_DELACK_MAX = 0x3eb 2952 TCP_BPF_RTO_MIN = 0x3ec 2953 TCP_BPF_SYN = 0x3ed 2954 TCP_BPF_SYN_IP = 0x3ee 2955 TCP_BPF_SYN_MAC = 0x3ef 2956 BPF_LOAD_HDR_OPT_TCP_SYN = 0x1 2957 BPF_WRITE_HDR_TCP_CURRENT_MSS = 0x1 2958 BPF_WRITE_HDR_TCP_SYNACK_COOKIE = 0x2 2959 BPF_DEVCG_ACC_MKNOD = 0x1 2960 BPF_DEVCG_ACC_READ = 0x2 2961 BPF_DEVCG_ACC_WRITE = 0x4 2962 BPF_DEVCG_DEV_BLOCK = 0x1 2963 BPF_DEVCG_DEV_CHAR = 0x2 2964 BPF_FIB_LOOKUP_DIRECT = 0x1 2965 BPF_FIB_LOOKUP_OUTPUT = 0x2 2966 BPF_FIB_LOOKUP_SKIP_NEIGH = 0x4 2967 BPF_FIB_LOOKUP_TBID = 0x8 2968 BPF_FIB_LKUP_RET_SUCCESS = 0x0 2969 BPF_FIB_LKUP_RET_BLACKHOLE = 0x1 2970 BPF_FIB_LKUP_RET_UNREACHABLE = 0x2 2971 BPF_FIB_LKUP_RET_PROHIBIT = 0x3 2972 BPF_FIB_LKUP_RET_NOT_FWDED = 0x4 2973 BPF_FIB_LKUP_RET_FWD_DISABLED = 0x5 2974 BPF_FIB_LKUP_RET_UNSUPP_LWT = 0x6 2975 BPF_FIB_LKUP_RET_NO_NEIGH = 0x7 2976 BPF_FIB_LKUP_RET_FRAG_NEEDED = 0x8 2977 BPF_MTU_CHK_SEGS = 0x1 2978 BPF_MTU_CHK_RET_SUCCESS = 0x0 2979 BPF_MTU_CHK_RET_FRAG_NEEDED = 0x1 2980 BPF_MTU_CHK_RET_SEGS_TOOBIG = 0x2 2981 BPF_FD_TYPE_RAW_TRACEPOINT = 0x0 2982 BPF_FD_TYPE_TRACEPOINT = 0x1 2983 BPF_FD_TYPE_KPROBE = 0x2 2984 BPF_FD_TYPE_KRETPROBE = 0x3 2985 BPF_FD_TYPE_UPROBE = 0x4 2986 BPF_FD_TYPE_URETPROBE = 0x5 2987 BPF_FLOW_DISSECTOR_F_PARSE_1ST_FRAG = 0x1 2988 BPF_FLOW_DISSECTOR_F_STOP_AT_FLOW_LABEL = 0x2 2989 BPF_FLOW_DISSECTOR_F_STOP_AT_ENCAP = 0x4 2990 BPF_CORE_FIELD_BYTE_OFFSET = 0x0 2991 BPF_CORE_FIELD_BYTE_SIZE = 0x1 2992 BPF_CORE_FIELD_EXISTS = 0x2 2993 BPF_CORE_FIELD_SIGNED = 0x3 2994 BPF_CORE_FIELD_LSHIFT_U64 = 0x4 2995 BPF_CORE_FIELD_RSHIFT_U64 = 0x5 2996 BPF_CORE_TYPE_ID_LOCAL = 0x6 2997 BPF_CORE_TYPE_ID_TARGET = 0x7 2998 BPF_CORE_TYPE_EXISTS = 0x8 2999 BPF_CORE_TYPE_SIZE = 0x9 3000 BPF_CORE_ENUMVAL_EXISTS = 0xa 3001 BPF_CORE_ENUMVAL_VALUE = 0xb 3002 BPF_CORE_TYPE_MATCHES = 0xc 3003 BPF_F_TIMER_ABS = 0x1 3004 ) 3005 3006 const ( 3007 RTNLGRP_NONE = 0x0 3008 RTNLGRP_LINK = 0x1 3009 RTNLGRP_NOTIFY = 0x2 3010 RTNLGRP_NEIGH = 0x3 3011 RTNLGRP_TC = 0x4 3012 RTNLGRP_IPV4_IFADDR = 0x5 3013 RTNLGRP_IPV4_MROUTE = 0x6 3014 RTNLGRP_IPV4_ROUTE = 0x7 3015 RTNLGRP_IPV4_RULE = 0x8 3016 RTNLGRP_IPV6_IFADDR = 0x9 3017 RTNLGRP_IPV6_MROUTE = 0xa 3018 RTNLGRP_IPV6_ROUTE = 0xb 3019 RTNLGRP_IPV6_IFINFO = 0xc 3020 RTNLGRP_DECnet_IFADDR = 0xd 3021 RTNLGRP_NOP2 = 0xe 3022 RTNLGRP_DECnet_ROUTE = 0xf 3023 RTNLGRP_DECnet_RULE = 0x10 3024 RTNLGRP_NOP4 = 0x11 3025 RTNLGRP_IPV6_PREFIX = 0x12 3026 RTNLGRP_IPV6_RULE = 0x13 3027 RTNLGRP_ND_USEROPT = 0x14 3028 RTNLGRP_PHONET_IFADDR = 0x15 3029 RTNLGRP_PHONET_ROUTE = 0x16 3030 RTNLGRP_DCB = 0x17 3031 RTNLGRP_IPV4_NETCONF = 0x18 3032 RTNLGRP_IPV6_NETCONF = 0x19 3033 RTNLGRP_MDB = 0x1a 3034 RTNLGRP_MPLS_ROUTE = 0x1b 3035 RTNLGRP_NSID = 0x1c 3036 RTNLGRP_MPLS_NETCONF = 0x1d 3037 RTNLGRP_IPV4_MROUTE_R = 0x1e 3038 RTNLGRP_IPV6_MROUTE_R = 0x1f 3039 RTNLGRP_NEXTHOP = 0x20 3040 RTNLGRP_BRVLAN = 0x21 3041 ) 3042 3043 type CapUserHeader struct { 3044 Version uint32 3045 Pid int32 3046 } 3047 3048 type CapUserData struct { 3049 Effective uint32 3050 Permitted uint32 3051 Inheritable uint32 3052 } 3053 3054 const ( 3055 LINUX_CAPABILITY_VERSION_1 = 0x19980330 3056 LINUX_CAPABILITY_VERSION_2 = 0x20071026 3057 LINUX_CAPABILITY_VERSION_3 = 0x20080522 3058 ) 3059 3060 const ( 3061 LO_FLAGS_READ_ONLY = 0x1 3062 LO_FLAGS_AUTOCLEAR = 0x4 3063 LO_FLAGS_PARTSCAN = 0x8 3064 LO_FLAGS_DIRECT_IO = 0x10 3065 ) 3066 3067 type LoopInfo64 struct { 3068 Device uint64 3069 Inode uint64 3070 Rdevice uint64 3071 Offset uint64 3072 Sizelimit uint64 3073 Number uint32 3074 Encrypt_type uint32 3075 Encrypt_key_size uint32 3076 Flags uint32 3077 File_name [64]uint8 3078 Crypt_name [64]uint8 3079 Encrypt_key [32]uint8 3080 Init [2]uint64 3081 } 3082 type LoopConfig struct { 3083 Fd uint32 3084 Size uint32 3085 Info LoopInfo64 3086 _ [8]uint64 3087 } 3088 3089 type TIPCSocketAddr struct { 3090 Ref uint32 3091 Node uint32 3092 } 3093 3094 type TIPCServiceRange struct { 3095 Type uint32 3096 Lower uint32 3097 Upper uint32 3098 } 3099 3100 type TIPCServiceName struct { 3101 Type uint32 3102 Instance uint32 3103 Domain uint32 3104 } 3105 3106 type TIPCEvent struct { 3107 Event uint32 3108 Lower uint32 3109 Upper uint32 3110 Port TIPCSocketAddr 3111 S TIPCSubscr 3112 } 3113 3114 type TIPCGroupReq struct { 3115 Type uint32 3116 Instance uint32 3117 Scope uint32 3118 Flags uint32 3119 } 3120 3121 const ( 3122 TIPC_CLUSTER_SCOPE = 0x2 3123 TIPC_NODE_SCOPE = 0x3 3124 ) 3125 3126 const ( 3127 SYSLOG_ACTION_CLOSE = 0 3128 SYSLOG_ACTION_OPEN = 1 3129 SYSLOG_ACTION_READ = 2 3130 SYSLOG_ACTION_READ_ALL = 3 3131 SYSLOG_ACTION_READ_CLEAR = 4 3132 SYSLOG_ACTION_CLEAR = 5 3133 SYSLOG_ACTION_CONSOLE_OFF = 6 3134 SYSLOG_ACTION_CONSOLE_ON = 7 3135 SYSLOG_ACTION_CONSOLE_LEVEL = 8 3136 SYSLOG_ACTION_SIZE_UNREAD = 9 3137 SYSLOG_ACTION_SIZE_BUFFER = 10 3138 ) 3139 3140 const ( 3141 DEVLINK_CMD_UNSPEC = 0x0 3142 DEVLINK_CMD_GET = 0x1 3143 DEVLINK_CMD_SET = 0x2 3144 DEVLINK_CMD_NEW = 0x3 3145 DEVLINK_CMD_DEL = 0x4 3146 DEVLINK_CMD_PORT_GET = 0x5 3147 DEVLINK_CMD_PORT_SET = 0x6 3148 DEVLINK_CMD_PORT_NEW = 0x7 3149 DEVLINK_CMD_PORT_DEL = 0x8 3150 DEVLINK_CMD_PORT_SPLIT = 0x9 3151 DEVLINK_CMD_PORT_UNSPLIT = 0xa 3152 DEVLINK_CMD_SB_GET = 0xb 3153 DEVLINK_CMD_SB_SET = 0xc 3154 DEVLINK_CMD_SB_NEW = 0xd 3155 DEVLINK_CMD_SB_DEL = 0xe 3156 DEVLINK_CMD_SB_POOL_GET = 0xf 3157 DEVLINK_CMD_SB_POOL_SET = 0x10 3158 DEVLINK_CMD_SB_POOL_NEW = 0x11 3159 DEVLINK_CMD_SB_POOL_DEL = 0x12 3160 DEVLINK_CMD_SB_PORT_POOL_GET = 0x13 3161 DEVLINK_CMD_SB_PORT_POOL_SET = 0x14 3162 DEVLINK_CMD_SB_PORT_POOL_NEW = 0x15 3163 DEVLINK_CMD_SB_PORT_POOL_DEL = 0x16 3164 DEVLINK_CMD_SB_TC_POOL_BIND_GET = 0x17 3165 DEVLINK_CMD_SB_TC_POOL_BIND_SET = 0x18 3166 DEVLINK_CMD_SB_TC_POOL_BIND_NEW = 0x19 3167 DEVLINK_CMD_SB_TC_POOL_BIND_DEL = 0x1a 3168 DEVLINK_CMD_SB_OCC_SNAPSHOT = 0x1b 3169 DEVLINK_CMD_SB_OCC_MAX_CLEAR = 0x1c 3170 DEVLINK_CMD_ESWITCH_GET = 0x1d 3171 DEVLINK_CMD_ESWITCH_SET = 0x1e 3172 DEVLINK_CMD_DPIPE_TABLE_GET = 0x1f 3173 DEVLINK_CMD_DPIPE_ENTRIES_GET = 0x20 3174 DEVLINK_CMD_DPIPE_HEADERS_GET = 0x21 3175 DEVLINK_CMD_DPIPE_TABLE_COUNTERS_SET = 0x22 3176 DEVLINK_CMD_RESOURCE_SET = 0x23 3177 DEVLINK_CMD_RESOURCE_DUMP = 0x24 3178 DEVLINK_CMD_RELOAD = 0x25 3179 DEVLINK_CMD_PARAM_GET = 0x26 3180 DEVLINK_CMD_PARAM_SET = 0x27 3181 DEVLINK_CMD_PARAM_NEW = 0x28 3182 DEVLINK_CMD_PARAM_DEL = 0x29 3183 DEVLINK_CMD_REGION_GET = 0x2a 3184 DEVLINK_CMD_REGION_SET = 0x2b 3185 DEVLINK_CMD_REGION_NEW = 0x2c 3186 DEVLINK_CMD_REGION_DEL = 0x2d 3187 DEVLINK_CMD_REGION_READ = 0x2e 3188 DEVLINK_CMD_PORT_PARAM_GET = 0x2f 3189 DEVLINK_CMD_PORT_PARAM_SET = 0x30 3190 DEVLINK_CMD_PORT_PARAM_NEW = 0x31 3191 DEVLINK_CMD_PORT_PARAM_DEL = 0x32 3192 DEVLINK_CMD_INFO_GET = 0x33 3193 DEVLINK_CMD_HEALTH_REPORTER_GET = 0x34 3194 DEVLINK_CMD_HEALTH_REPORTER_SET = 0x35 3195 DEVLINK_CMD_HEALTH_REPORTER_RECOVER = 0x36 3196 DEVLINK_CMD_HEALTH_REPORTER_DIAGNOSE = 0x37 3197 DEVLINK_CMD_HEALTH_REPORTER_DUMP_GET = 0x38 3198 DEVLINK_CMD_HEALTH_REPORTER_DUMP_CLEAR = 0x39 3199 DEVLINK_CMD_FLASH_UPDATE = 0x3a 3200 DEVLINK_CMD_FLASH_UPDATE_END = 0x3b 3201 DEVLINK_CMD_FLASH_UPDATE_STATUS = 0x3c 3202 DEVLINK_CMD_TRAP_GET = 0x3d 3203 DEVLINK_CMD_TRAP_SET = 0x3e 3204 DEVLINK_CMD_TRAP_NEW = 0x3f 3205 DEVLINK_CMD_TRAP_DEL = 0x40 3206 DEVLINK_CMD_TRAP_GROUP_GET = 0x41 3207 DEVLINK_CMD_TRAP_GROUP_SET = 0x42 3208 DEVLINK_CMD_TRAP_GROUP_NEW = 0x43 3209 DEVLINK_CMD_TRAP_GROUP_DEL = 0x44 3210 DEVLINK_CMD_TRAP_POLICER_GET = 0x45 3211 DEVLINK_CMD_TRAP_POLICER_SET = 0x46 3212 DEVLINK_CMD_TRAP_POLICER_NEW = 0x47 3213 DEVLINK_CMD_TRAP_POLICER_DEL = 0x48 3214 DEVLINK_CMD_HEALTH_REPORTER_TEST = 0x49 3215 DEVLINK_CMD_RATE_GET = 0x4a 3216 DEVLINK_CMD_RATE_SET = 0x4b 3217 DEVLINK_CMD_RATE_NEW = 0x4c 3218 DEVLINK_CMD_RATE_DEL = 0x4d 3219 DEVLINK_CMD_LINECARD_GET = 0x4e 3220 DEVLINK_CMD_LINECARD_SET = 0x4f 3221 DEVLINK_CMD_LINECARD_NEW = 0x50 3222 DEVLINK_CMD_LINECARD_DEL = 0x51 3223 DEVLINK_CMD_SELFTESTS_GET = 0x52 3224 DEVLINK_CMD_MAX = 0x54 3225 DEVLINK_PORT_TYPE_NOTSET = 0x0 3226 DEVLINK_PORT_TYPE_AUTO = 0x1 3227 DEVLINK_PORT_TYPE_ETH = 0x2 3228 DEVLINK_PORT_TYPE_IB = 0x3 3229 DEVLINK_SB_POOL_TYPE_INGRESS = 0x0 3230 DEVLINK_SB_POOL_TYPE_EGRESS = 0x1 3231 DEVLINK_SB_THRESHOLD_TYPE_STATIC = 0x0 3232 DEVLINK_SB_THRESHOLD_TYPE_DYNAMIC = 0x1 3233 DEVLINK_ESWITCH_MODE_LEGACY = 0x0 3234 DEVLINK_ESWITCH_MODE_SWITCHDEV = 0x1 3235 DEVLINK_ESWITCH_INLINE_MODE_NONE = 0x0 3236 DEVLINK_ESWITCH_INLINE_MODE_LINK = 0x1 3237 DEVLINK_ESWITCH_INLINE_MODE_NETWORK = 0x2 3238 DEVLINK_ESWITCH_INLINE_MODE_TRANSPORT = 0x3 3239 DEVLINK_ESWITCH_ENCAP_MODE_NONE = 0x0 3240 DEVLINK_ESWITCH_ENCAP_MODE_BASIC = 0x1 3241 DEVLINK_PORT_FLAVOUR_PHYSICAL = 0x0 3242 DEVLINK_PORT_FLAVOUR_CPU = 0x1 3243 DEVLINK_PORT_FLAVOUR_DSA = 0x2 3244 DEVLINK_PORT_FLAVOUR_PCI_PF = 0x3 3245 DEVLINK_PORT_FLAVOUR_PCI_VF = 0x4 3246 DEVLINK_PORT_FLAVOUR_VIRTUAL = 0x5 3247 DEVLINK_PORT_FLAVOUR_UNUSED = 0x6 3248 DEVLINK_PARAM_CMODE_RUNTIME = 0x0 3249 DEVLINK_PARAM_CMODE_DRIVERINIT = 0x1 3250 DEVLINK_PARAM_CMODE_PERMANENT = 0x2 3251 DEVLINK_PARAM_CMODE_MAX = 0x2 3252 DEVLINK_PARAM_FW_LOAD_POLICY_VALUE_DRIVER = 0x0 3253 DEVLINK_PARAM_FW_LOAD_POLICY_VALUE_FLASH = 0x1 3254 DEVLINK_PARAM_FW_LOAD_POLICY_VALUE_DISK = 0x2 3255 DEVLINK_PARAM_FW_LOAD_POLICY_VALUE_UNKNOWN = 0x3 3256 DEVLINK_PARAM_RESET_DEV_ON_DRV_PROBE_VALUE_UNKNOWN = 0x0 3257 DEVLINK_PARAM_RESET_DEV_ON_DRV_PROBE_VALUE_ALWAYS = 0x1 3258 DEVLINK_PARAM_RESET_DEV_ON_DRV_PROBE_VALUE_NEVER = 0x2 3259 DEVLINK_PARAM_RESET_DEV_ON_DRV_PROBE_VALUE_DISK = 0x3 3260 DEVLINK_ATTR_STATS_RX_PACKETS = 0x0 3261 DEVLINK_ATTR_STATS_RX_BYTES = 0x1 3262 DEVLINK_ATTR_STATS_RX_DROPPED = 0x2 3263 DEVLINK_ATTR_STATS_MAX = 0x2 3264 DEVLINK_FLASH_OVERWRITE_SETTINGS_BIT = 0x0 3265 DEVLINK_FLASH_OVERWRITE_IDENTIFIERS_BIT = 0x1 3266 DEVLINK_FLASH_OVERWRITE_MAX_BIT = 0x1 3267 DEVLINK_TRAP_ACTION_DROP = 0x0 3268 DEVLINK_TRAP_ACTION_TRAP = 0x1 3269 DEVLINK_TRAP_ACTION_MIRROR = 0x2 3270 DEVLINK_TRAP_TYPE_DROP = 0x0 3271 DEVLINK_TRAP_TYPE_EXCEPTION = 0x1 3272 DEVLINK_TRAP_TYPE_CONTROL = 0x2 3273 DEVLINK_ATTR_TRAP_METADATA_TYPE_IN_PORT = 0x0 3274 DEVLINK_ATTR_TRAP_METADATA_TYPE_FA_COOKIE = 0x1 3275 DEVLINK_RELOAD_ACTION_UNSPEC = 0x0 3276 DEVLINK_RELOAD_ACTION_DRIVER_REINIT = 0x1 3277 DEVLINK_RELOAD_ACTION_FW_ACTIVATE = 0x2 3278 DEVLINK_RELOAD_ACTION_MAX = 0x2 3279 DEVLINK_RELOAD_LIMIT_UNSPEC = 0x0 3280 DEVLINK_RELOAD_LIMIT_NO_RESET = 0x1 3281 DEVLINK_RELOAD_LIMIT_MAX = 0x1 3282 DEVLINK_ATTR_UNSPEC = 0x0 3283 DEVLINK_ATTR_BUS_NAME = 0x1 3284 DEVLINK_ATTR_DEV_NAME = 0x2 3285 DEVLINK_ATTR_PORT_INDEX = 0x3 3286 DEVLINK_ATTR_PORT_TYPE = 0x4 3287 DEVLINK_ATTR_PORT_DESIRED_TYPE = 0x5 3288 DEVLINK_ATTR_PORT_NETDEV_IFINDEX = 0x6 3289 DEVLINK_ATTR_PORT_NETDEV_NAME = 0x7 3290 DEVLINK_ATTR_PORT_IBDEV_NAME = 0x8 3291 DEVLINK_ATTR_PORT_SPLIT_COUNT = 0x9 3292 DEVLINK_ATTR_PORT_SPLIT_GROUP = 0xa 3293 DEVLINK_ATTR_SB_INDEX = 0xb 3294 DEVLINK_ATTR_SB_SIZE = 0xc 3295 DEVLINK_ATTR_SB_INGRESS_POOL_COUNT = 0xd 3296 DEVLINK_ATTR_SB_EGRESS_POOL_COUNT = 0xe 3297 DEVLINK_ATTR_SB_INGRESS_TC_COUNT = 0xf 3298 DEVLINK_ATTR_SB_EGRESS_TC_COUNT = 0x10 3299 DEVLINK_ATTR_SB_POOL_INDEX = 0x11 3300 DEVLINK_ATTR_SB_POOL_TYPE = 0x12 3301 DEVLINK_ATTR_SB_POOL_SIZE = 0x13 3302 DEVLINK_ATTR_SB_POOL_THRESHOLD_TYPE = 0x14 3303 DEVLINK_ATTR_SB_THRESHOLD = 0x15 3304 DEVLINK_ATTR_SB_TC_INDEX = 0x16 3305 DEVLINK_ATTR_SB_OCC_CUR = 0x17 3306 DEVLINK_ATTR_SB_OCC_MAX = 0x18 3307 DEVLINK_ATTR_ESWITCH_MODE = 0x19 3308 DEVLINK_ATTR_ESWITCH_INLINE_MODE = 0x1a 3309 DEVLINK_ATTR_DPIPE_TABLES = 0x1b 3310 DEVLINK_ATTR_DPIPE_TABLE = 0x1c 3311 DEVLINK_ATTR_DPIPE_TABLE_NAME = 0x1d 3312 DEVLINK_ATTR_DPIPE_TABLE_SIZE = 0x1e 3313 DEVLINK_ATTR_DPIPE_TABLE_MATCHES = 0x1f 3314 DEVLINK_ATTR_DPIPE_TABLE_ACTIONS = 0x20 3315 DEVLINK_ATTR_DPIPE_TABLE_COUNTERS_ENABLED = 0x21 3316 DEVLINK_ATTR_DPIPE_ENTRIES = 0x22 3317 DEVLINK_ATTR_DPIPE_ENTRY = 0x23 3318 DEVLINK_ATTR_DPIPE_ENTRY_INDEX = 0x24 3319 DEVLINK_ATTR_DPIPE_ENTRY_MATCH_VALUES = 0x25 3320 DEVLINK_ATTR_DPIPE_ENTRY_ACTION_VALUES = 0x26 3321 DEVLINK_ATTR_DPIPE_ENTRY_COUNTER = 0x27 3322 DEVLINK_ATTR_DPIPE_MATCH = 0x28 3323 DEVLINK_ATTR_DPIPE_MATCH_VALUE = 0x29 3324 DEVLINK_ATTR_DPIPE_MATCH_TYPE = 0x2a 3325 DEVLINK_ATTR_DPIPE_ACTION = 0x2b 3326 DEVLINK_ATTR_DPIPE_ACTION_VALUE = 0x2c 3327 DEVLINK_ATTR_DPIPE_ACTION_TYPE = 0x2d 3328 DEVLINK_ATTR_DPIPE_VALUE = 0x2e 3329 DEVLINK_ATTR_DPIPE_VALUE_MASK = 0x2f 3330 DEVLINK_ATTR_DPIPE_VALUE_MAPPING = 0x30 3331 DEVLINK_ATTR_DPIPE_HEADERS = 0x31 3332 DEVLINK_ATTR_DPIPE_HEADER = 0x32 3333 DEVLINK_ATTR_DPIPE_HEADER_NAME = 0x33 3334 DEVLINK_ATTR_DPIPE_HEADER_ID = 0x34 3335 DEVLINK_ATTR_DPIPE_HEADER_FIELDS = 0x35 3336 DEVLINK_ATTR_DPIPE_HEADER_GLOBAL = 0x36 3337 DEVLINK_ATTR_DPIPE_HEADER_INDEX = 0x37 3338 DEVLINK_ATTR_DPIPE_FIELD = 0x38 3339 DEVLINK_ATTR_DPIPE_FIELD_NAME = 0x39 3340 DEVLINK_ATTR_DPIPE_FIELD_ID = 0x3a 3341 DEVLINK_ATTR_DPIPE_FIELD_BITWIDTH = 0x3b 3342 DEVLINK_ATTR_DPIPE_FIELD_MAPPING_TYPE = 0x3c 3343 DEVLINK_ATTR_PAD = 0x3d 3344 DEVLINK_ATTR_ESWITCH_ENCAP_MODE = 0x3e 3345 DEVLINK_ATTR_RESOURCE_LIST = 0x3f 3346 DEVLINK_ATTR_RESOURCE = 0x40 3347 DEVLINK_ATTR_RESOURCE_NAME = 0x41 3348 DEVLINK_ATTR_RESOURCE_ID = 0x42 3349 DEVLINK_ATTR_RESOURCE_SIZE = 0x43 3350 DEVLINK_ATTR_RESOURCE_SIZE_NEW = 0x44 3351 DEVLINK_ATTR_RESOURCE_SIZE_VALID = 0x45 3352 DEVLINK_ATTR_RESOURCE_SIZE_MIN = 0x46 3353 DEVLINK_ATTR_RESOURCE_SIZE_MAX = 0x47 3354 DEVLINK_ATTR_RESOURCE_SIZE_GRAN = 0x48 3355 DEVLINK_ATTR_RESOURCE_UNIT = 0x49 3356 DEVLINK_ATTR_RESOURCE_OCC = 0x4a 3357 DEVLINK_ATTR_DPIPE_TABLE_RESOURCE_ID = 0x4b 3358 DEVLINK_ATTR_DPIPE_TABLE_RESOURCE_UNITS = 0x4c 3359 DEVLINK_ATTR_PORT_FLAVOUR = 0x4d 3360 DEVLINK_ATTR_PORT_NUMBER = 0x4e 3361 DEVLINK_ATTR_PORT_SPLIT_SUBPORT_NUMBER = 0x4f 3362 DEVLINK_ATTR_PARAM = 0x50 3363 DEVLINK_ATTR_PARAM_NAME = 0x51 3364 DEVLINK_ATTR_PARAM_GENERIC = 0x52 3365 DEVLINK_ATTR_PARAM_TYPE = 0x53 3366 DEVLINK_ATTR_PARAM_VALUES_LIST = 0x54 3367 DEVLINK_ATTR_PARAM_VALUE = 0x55 3368 DEVLINK_ATTR_PARAM_VALUE_DATA = 0x56 3369 DEVLINK_ATTR_PARAM_VALUE_CMODE = 0x57 3370 DEVLINK_ATTR_REGION_NAME = 0x58 3371 DEVLINK_ATTR_REGION_SIZE = 0x59 3372 DEVLINK_ATTR_REGION_SNAPSHOTS = 0x5a 3373 DEVLINK_ATTR_REGION_SNAPSHOT = 0x5b 3374 DEVLINK_ATTR_REGION_SNAPSHOT_ID = 0x5c 3375 DEVLINK_ATTR_REGION_CHUNKS = 0x5d 3376 DEVLINK_ATTR_REGION_CHUNK = 0x5e 3377 DEVLINK_ATTR_REGION_CHUNK_DATA = 0x5f 3378 DEVLINK_ATTR_REGION_CHUNK_ADDR = 0x60 3379 DEVLINK_ATTR_REGION_CHUNK_LEN = 0x61 3380 DEVLINK_ATTR_INFO_DRIVER_NAME = 0x62 3381 DEVLINK_ATTR_INFO_SERIAL_NUMBER = 0x63 3382 DEVLINK_ATTR_INFO_VERSION_FIXED = 0x64 3383 DEVLINK_ATTR_INFO_VERSION_RUNNING = 0x65 3384 DEVLINK_ATTR_INFO_VERSION_STORED = 0x66 3385 DEVLINK_ATTR_INFO_VERSION_NAME = 0x67 3386 DEVLINK_ATTR_INFO_VERSION_VALUE = 0x68 3387 DEVLINK_ATTR_SB_POOL_CELL_SIZE = 0x69 3388 DEVLINK_ATTR_FMSG = 0x6a 3389 DEVLINK_ATTR_FMSG_OBJ_NEST_START = 0x6b 3390 DEVLINK_ATTR_FMSG_PAIR_NEST_START = 0x6c 3391 DEVLINK_ATTR_FMSG_ARR_NEST_START = 0x6d 3392 DEVLINK_ATTR_FMSG_NEST_END = 0x6e 3393 DEVLINK_ATTR_FMSG_OBJ_NAME = 0x6f 3394 DEVLINK_ATTR_FMSG_OBJ_VALUE_TYPE = 0x70 3395 DEVLINK_ATTR_FMSG_OBJ_VALUE_DATA = 0x71 3396 DEVLINK_ATTR_HEALTH_REPORTER = 0x72 3397 DEVLINK_ATTR_HEALTH_REPORTER_NAME = 0x73 3398 DEVLINK_ATTR_HEALTH_REPORTER_STATE = 0x74 3399 DEVLINK_ATTR_HEALTH_REPORTER_ERR_COUNT = 0x75 3400 DEVLINK_ATTR_HEALTH_REPORTER_RECOVER_COUNT = 0x76 3401 DEVLINK_ATTR_HEALTH_REPORTER_DUMP_TS = 0x77 3402 DEVLINK_ATTR_HEALTH_REPORTER_GRACEFUL_PERIOD = 0x78 3403 DEVLINK_ATTR_HEALTH_REPORTER_AUTO_RECOVER = 0x79 3404 DEVLINK_ATTR_FLASH_UPDATE_FILE_NAME = 0x7a 3405 DEVLINK_ATTR_FLASH_UPDATE_COMPONENT = 0x7b 3406 DEVLINK_ATTR_FLASH_UPDATE_STATUS_MSG = 0x7c 3407 DEVLINK_ATTR_FLASH_UPDATE_STATUS_DONE = 0x7d 3408 DEVLINK_ATTR_FLASH_UPDATE_STATUS_TOTAL = 0x7e 3409 DEVLINK_ATTR_PORT_PCI_PF_NUMBER = 0x7f 3410 DEVLINK_ATTR_PORT_PCI_VF_NUMBER = 0x80 3411 DEVLINK_ATTR_STATS = 0x81 3412 DEVLINK_ATTR_TRAP_NAME = 0x82 3413 DEVLINK_ATTR_TRAP_ACTION = 0x83 3414 DEVLINK_ATTR_TRAP_TYPE = 0x84 3415 DEVLINK_ATTR_TRAP_GENERIC = 0x85 3416 DEVLINK_ATTR_TRAP_METADATA = 0x86 3417 DEVLINK_ATTR_TRAP_GROUP_NAME = 0x87 3418 DEVLINK_ATTR_RELOAD_FAILED = 0x88 3419 DEVLINK_ATTR_HEALTH_REPORTER_DUMP_TS_NS = 0x89 3420 DEVLINK_ATTR_NETNS_FD = 0x8a 3421 DEVLINK_ATTR_NETNS_PID = 0x8b 3422 DEVLINK_ATTR_NETNS_ID = 0x8c 3423 DEVLINK_ATTR_HEALTH_REPORTER_AUTO_DUMP = 0x8d 3424 DEVLINK_ATTR_TRAP_POLICER_ID = 0x8e 3425 DEVLINK_ATTR_TRAP_POLICER_RATE = 0x8f 3426 DEVLINK_ATTR_TRAP_POLICER_BURST = 0x90 3427 DEVLINK_ATTR_PORT_FUNCTION = 0x91 3428 DEVLINK_ATTR_INFO_BOARD_SERIAL_NUMBER = 0x92 3429 DEVLINK_ATTR_PORT_LANES = 0x93 3430 DEVLINK_ATTR_PORT_SPLITTABLE = 0x94 3431 DEVLINK_ATTR_PORT_EXTERNAL = 0x95 3432 DEVLINK_ATTR_PORT_CONTROLLER_NUMBER = 0x96 3433 DEVLINK_ATTR_FLASH_UPDATE_STATUS_TIMEOUT = 0x97 3434 DEVLINK_ATTR_FLASH_UPDATE_OVERWRITE_MASK = 0x98 3435 DEVLINK_ATTR_RELOAD_ACTION = 0x99 3436 DEVLINK_ATTR_RELOAD_ACTIONS_PERFORMED = 0x9a 3437 DEVLINK_ATTR_RELOAD_LIMITS = 0x9b 3438 DEVLINK_ATTR_DEV_STATS = 0x9c 3439 DEVLINK_ATTR_RELOAD_STATS = 0x9d 3440 DEVLINK_ATTR_RELOAD_STATS_ENTRY = 0x9e 3441 DEVLINK_ATTR_RELOAD_STATS_LIMIT = 0x9f 3442 DEVLINK_ATTR_RELOAD_STATS_VALUE = 0xa0 3443 DEVLINK_ATTR_REMOTE_RELOAD_STATS = 0xa1 3444 DEVLINK_ATTR_RELOAD_ACTION_INFO = 0xa2 3445 DEVLINK_ATTR_RELOAD_ACTION_STATS = 0xa3 3446 DEVLINK_ATTR_PORT_PCI_SF_NUMBER = 0xa4 3447 DEVLINK_ATTR_RATE_TYPE = 0xa5 3448 DEVLINK_ATTR_RATE_TX_SHARE = 0xa6 3449 DEVLINK_ATTR_RATE_TX_MAX = 0xa7 3450 DEVLINK_ATTR_RATE_NODE_NAME = 0xa8 3451 DEVLINK_ATTR_RATE_PARENT_NODE_NAME = 0xa9 3452 DEVLINK_ATTR_REGION_MAX_SNAPSHOTS = 0xaa 3453 DEVLINK_ATTR_LINECARD_INDEX = 0xab 3454 DEVLINK_ATTR_LINECARD_STATE = 0xac 3455 DEVLINK_ATTR_LINECARD_TYPE = 0xad 3456 DEVLINK_ATTR_LINECARD_SUPPORTED_TYPES = 0xae 3457 DEVLINK_ATTR_NESTED_DEVLINK = 0xaf 3458 DEVLINK_ATTR_SELFTESTS = 0xb0 3459 DEVLINK_ATTR_MAX = 0xb3 3460 DEVLINK_DPIPE_FIELD_MAPPING_TYPE_NONE = 0x0 3461 DEVLINK_DPIPE_FIELD_MAPPING_TYPE_IFINDEX = 0x1 3462 DEVLINK_DPIPE_MATCH_TYPE_FIELD_EXACT = 0x0 3463 DEVLINK_DPIPE_ACTION_TYPE_FIELD_MODIFY = 0x0 3464 DEVLINK_DPIPE_FIELD_ETHERNET_DST_MAC = 0x0 3465 DEVLINK_DPIPE_FIELD_IPV4_DST_IP = 0x0 3466 DEVLINK_DPIPE_FIELD_IPV6_DST_IP = 0x0 3467 DEVLINK_DPIPE_HEADER_ETHERNET = 0x0 3468 DEVLINK_DPIPE_HEADER_IPV4 = 0x1 3469 DEVLINK_DPIPE_HEADER_IPV6 = 0x2 3470 DEVLINK_RESOURCE_UNIT_ENTRY = 0x0 3471 DEVLINK_PORT_FUNCTION_ATTR_UNSPEC = 0x0 3472 DEVLINK_PORT_FUNCTION_ATTR_HW_ADDR = 0x1 3473 DEVLINK_PORT_FN_ATTR_STATE = 0x2 3474 DEVLINK_PORT_FN_ATTR_OPSTATE = 0x3 3475 DEVLINK_PORT_FN_ATTR_CAPS = 0x4 3476 DEVLINK_PORT_FUNCTION_ATTR_MAX = 0x5 3477 ) 3478 3479 type FsverityDigest struct { 3480 Algorithm uint16 3481 Size uint16 3482 } 3483 3484 type FsverityEnableArg struct { 3485 Version uint32 3486 Hash_algorithm uint32 3487 Block_size uint32 3488 Salt_size uint32 3489 Salt_ptr uint64 3490 Sig_size uint32 3491 _ uint32 3492 Sig_ptr uint64 3493 _ [11]uint64 3494 } 3495 3496 type Nhmsg struct { 3497 Family uint8 3498 Scope uint8 3499 Protocol uint8 3500 Resvd uint8 3501 Flags uint32 3502 } 3503 3504 type NexthopGrp struct { 3505 Id uint32 3506 Weight uint8 3507 Resvd1 uint8 3508 Resvd2 uint16 3509 } 3510 3511 const ( 3512 NHA_UNSPEC = 0x0 3513 NHA_ID = 0x1 3514 NHA_GROUP = 0x2 3515 NHA_GROUP_TYPE = 0x3 3516 NHA_BLACKHOLE = 0x4 3517 NHA_OIF = 0x5 3518 NHA_GATEWAY = 0x6 3519 NHA_ENCAP_TYPE = 0x7 3520 NHA_ENCAP = 0x8 3521 NHA_GROUPS = 0x9 3522 NHA_MASTER = 0xa 3523 ) 3524 3525 const ( 3526 CAN_RAW_FILTER = 0x1 3527 CAN_RAW_ERR_FILTER = 0x2 3528 CAN_RAW_LOOPBACK = 0x3 3529 CAN_RAW_RECV_OWN_MSGS = 0x4 3530 CAN_RAW_FD_FRAMES = 0x5 3531 CAN_RAW_JOIN_FILTERS = 0x6 3532 ) 3533 3534 type WatchdogInfo struct { 3535 Options uint32 3536 Version uint32 3537 Identity [32]uint8 3538 } 3539 3540 type PPSFData struct { 3541 Info PPSKInfo 3542 Timeout PPSKTime 3543 } 3544 3545 type PPSKParams struct { 3546 Api_version int32 3547 Mode int32 3548 Assert_off_tu PPSKTime 3549 Clear_off_tu PPSKTime 3550 } 3551 3552 type PPSKTime struct { 3553 Sec int64 3554 Nsec int32 3555 Flags uint32 3556 } 3557 3558 const ( 3559 LWTUNNEL_ENCAP_NONE = 0x0 3560 LWTUNNEL_ENCAP_MPLS = 0x1 3561 LWTUNNEL_ENCAP_IP = 0x2 3562 LWTUNNEL_ENCAP_ILA = 0x3 3563 LWTUNNEL_ENCAP_IP6 = 0x4 3564 LWTUNNEL_ENCAP_SEG6 = 0x5 3565 LWTUNNEL_ENCAP_BPF = 0x6 3566 LWTUNNEL_ENCAP_SEG6_LOCAL = 0x7 3567 LWTUNNEL_ENCAP_RPL = 0x8 3568 LWTUNNEL_ENCAP_IOAM6 = 0x9 3569 LWTUNNEL_ENCAP_XFRM = 0xa 3570 LWTUNNEL_ENCAP_MAX = 0xa 3571 3572 MPLS_IPTUNNEL_UNSPEC = 0x0 3573 MPLS_IPTUNNEL_DST = 0x1 3574 MPLS_IPTUNNEL_TTL = 0x2 3575 MPLS_IPTUNNEL_MAX = 0x2 3576 ) 3577 3578 const ( 3579 ETHTOOL_ID_UNSPEC = 0x0 3580 ETHTOOL_RX_COPYBREAK = 0x1 3581 ETHTOOL_TX_COPYBREAK = 0x2 3582 ETHTOOL_PFC_PREVENTION_TOUT = 0x3 3583 ETHTOOL_TUNABLE_UNSPEC = 0x0 3584 ETHTOOL_TUNABLE_U8 = 0x1 3585 ETHTOOL_TUNABLE_U16 = 0x2 3586 ETHTOOL_TUNABLE_U32 = 0x3 3587 ETHTOOL_TUNABLE_U64 = 0x4 3588 ETHTOOL_TUNABLE_STRING = 0x5 3589 ETHTOOL_TUNABLE_S8 = 0x6 3590 ETHTOOL_TUNABLE_S16 = 0x7 3591 ETHTOOL_TUNABLE_S32 = 0x8 3592 ETHTOOL_TUNABLE_S64 = 0x9 3593 ETHTOOL_PHY_ID_UNSPEC = 0x0 3594 ETHTOOL_PHY_DOWNSHIFT = 0x1 3595 ETHTOOL_PHY_FAST_LINK_DOWN = 0x2 3596 ETHTOOL_PHY_EDPD = 0x3 3597 ETHTOOL_LINK_EXT_STATE_AUTONEG = 0x0 3598 ETHTOOL_LINK_EXT_STATE_LINK_TRAINING_FAILURE = 0x1 3599 ETHTOOL_LINK_EXT_STATE_LINK_LOGICAL_MISMATCH = 0x2 3600 ETHTOOL_LINK_EXT_STATE_BAD_SIGNAL_INTEGRITY = 0x3 3601 ETHTOOL_LINK_EXT_STATE_NO_CABLE = 0x4 3602 ETHTOOL_LINK_EXT_STATE_CABLE_ISSUE = 0x5 3603 ETHTOOL_LINK_EXT_STATE_EEPROM_ISSUE = 0x6 3604 ETHTOOL_LINK_EXT_STATE_CALIBRATION_FAILURE = 0x7 3605 ETHTOOL_LINK_EXT_STATE_POWER_BUDGET_EXCEEDED = 0x8 3606 ETHTOOL_LINK_EXT_STATE_OVERHEAT = 0x9 3607 ETHTOOL_LINK_EXT_SUBSTATE_AN_NO_PARTNER_DETECTED = 0x1 3608 ETHTOOL_LINK_EXT_SUBSTATE_AN_ACK_NOT_RECEIVED = 0x2 3609 ETHTOOL_LINK_EXT_SUBSTATE_AN_NEXT_PAGE_EXCHANGE_FAILED = 0x3 3610 ETHTOOL_LINK_EXT_SUBSTATE_AN_NO_PARTNER_DETECTED_FORCE_MODE = 0x4 3611 ETHTOOL_LINK_EXT_SUBSTATE_AN_FEC_MISMATCH_DURING_OVERRIDE = 0x5 3612 ETHTOOL_LINK_EXT_SUBSTATE_AN_NO_HCD = 0x6 3613 ETHTOOL_LINK_EXT_SUBSTATE_LT_KR_FRAME_LOCK_NOT_ACQUIRED = 0x1 3614 ETHTOOL_LINK_EXT_SUBSTATE_LT_KR_LINK_INHIBIT_TIMEOUT = 0x2 3615 ETHTOOL_LINK_EXT_SUBSTATE_LT_KR_LINK_PARTNER_DID_NOT_SET_RECEIVER_READY = 0x3 3616 ETHTOOL_LINK_EXT_SUBSTATE_LT_REMOTE_FAULT = 0x4 3617 ETHTOOL_LINK_EXT_SUBSTATE_LLM_PCS_DID_NOT_ACQUIRE_BLOCK_LOCK = 0x1 3618 ETHTOOL_LINK_EXT_SUBSTATE_LLM_PCS_DID_NOT_ACQUIRE_AM_LOCK = 0x2 3619 ETHTOOL_LINK_EXT_SUBSTATE_LLM_PCS_DID_NOT_GET_ALIGN_STATUS = 0x3 3620 ETHTOOL_LINK_EXT_SUBSTATE_LLM_FC_FEC_IS_NOT_LOCKED = 0x4 3621 ETHTOOL_LINK_EXT_SUBSTATE_LLM_RS_FEC_IS_NOT_LOCKED = 0x5 3622 ETHTOOL_LINK_EXT_SUBSTATE_BSI_LARGE_NUMBER_OF_PHYSICAL_ERRORS = 0x1 3623 ETHTOOL_LINK_EXT_SUBSTATE_BSI_UNSUPPORTED_RATE = 0x2 3624 ETHTOOL_LINK_EXT_SUBSTATE_CI_UNSUPPORTED_CABLE = 0x1 3625 ETHTOOL_LINK_EXT_SUBSTATE_CI_CABLE_TEST_FAILURE = 0x2 3626 ETHTOOL_FLASH_ALL_REGIONS = 0x0 3627 ETHTOOL_F_UNSUPPORTED__BIT = 0x0 3628 ETHTOOL_F_WISH__BIT = 0x1 3629 ETHTOOL_F_COMPAT__BIT = 0x2 3630 ETHTOOL_FEC_NONE_BIT = 0x0 3631 ETHTOOL_FEC_AUTO_BIT = 0x1 3632 ETHTOOL_FEC_OFF_BIT = 0x2 3633 ETHTOOL_FEC_RS_BIT = 0x3 3634 ETHTOOL_FEC_BASER_BIT = 0x4 3635 ETHTOOL_FEC_LLRS_BIT = 0x5 3636 ETHTOOL_LINK_MODE_10baseT_Half_BIT = 0x0 3637 ETHTOOL_LINK_MODE_10baseT_Full_BIT = 0x1 3638 ETHTOOL_LINK_MODE_100baseT_Half_BIT = 0x2 3639 ETHTOOL_LINK_MODE_100baseT_Full_BIT = 0x3 3640 ETHTOOL_LINK_MODE_1000baseT_Half_BIT = 0x4 3641 ETHTOOL_LINK_MODE_1000baseT_Full_BIT = 0x5 3642 ETHTOOL_LINK_MODE_Autoneg_BIT = 0x6 3643 ETHTOOL_LINK_MODE_TP_BIT = 0x7 3644 ETHTOOL_LINK_MODE_AUI_BIT = 0x8 3645 ETHTOOL_LINK_MODE_MII_BIT = 0x9 3646 ETHTOOL_LINK_MODE_FIBRE_BIT = 0xa 3647 ETHTOOL_LINK_MODE_BNC_BIT = 0xb 3648 ETHTOOL_LINK_MODE_10000baseT_Full_BIT = 0xc 3649 ETHTOOL_LINK_MODE_Pause_BIT = 0xd 3650 ETHTOOL_LINK_MODE_Asym_Pause_BIT = 0xe 3651 ETHTOOL_LINK_MODE_2500baseX_Full_BIT = 0xf 3652 ETHTOOL_LINK_MODE_Backplane_BIT = 0x10 3653 ETHTOOL_LINK_MODE_1000baseKX_Full_BIT = 0x11 3654 ETHTOOL_LINK_MODE_10000baseKX4_Full_BIT = 0x12 3655 ETHTOOL_LINK_MODE_10000baseKR_Full_BIT = 0x13 3656 ETHTOOL_LINK_MODE_10000baseR_FEC_BIT = 0x14 3657 ETHTOOL_LINK_MODE_20000baseMLD2_Full_BIT = 0x15 3658 ETHTOOL_LINK_MODE_20000baseKR2_Full_BIT = 0x16 3659 ETHTOOL_LINK_MODE_40000baseKR4_Full_BIT = 0x17 3660 ETHTOOL_LINK_MODE_40000baseCR4_Full_BIT = 0x18 3661 ETHTOOL_LINK_MODE_40000baseSR4_Full_BIT = 0x19 3662 ETHTOOL_LINK_MODE_40000baseLR4_Full_BIT = 0x1a 3663 ETHTOOL_LINK_MODE_56000baseKR4_Full_BIT = 0x1b 3664 ETHTOOL_LINK_MODE_56000baseCR4_Full_BIT = 0x1c 3665 ETHTOOL_LINK_MODE_56000baseSR4_Full_BIT = 0x1d 3666 ETHTOOL_LINK_MODE_56000baseLR4_Full_BIT = 0x1e 3667 ETHTOOL_LINK_MODE_25000baseCR_Full_BIT = 0x1f 3668 ETHTOOL_LINK_MODE_25000baseKR_Full_BIT = 0x20 3669 ETHTOOL_LINK_MODE_25000baseSR_Full_BIT = 0x21 3670 ETHTOOL_LINK_MODE_50000baseCR2_Full_BIT = 0x22 3671 ETHTOOL_LINK_MODE_50000baseKR2_Full_BIT = 0x23 3672 ETHTOOL_LINK_MODE_100000baseKR4_Full_BIT = 0x24 3673 ETHTOOL_LINK_MODE_100000baseSR4_Full_BIT = 0x25 3674 ETHTOOL_LINK_MODE_100000baseCR4_Full_BIT = 0x26 3675 ETHTOOL_LINK_MODE_100000baseLR4_ER4_Full_BIT = 0x27 3676 ETHTOOL_LINK_MODE_50000baseSR2_Full_BIT = 0x28 3677 ETHTOOL_LINK_MODE_1000baseX_Full_BIT = 0x29 3678 ETHTOOL_LINK_MODE_10000baseCR_Full_BIT = 0x2a 3679 ETHTOOL_LINK_MODE_10000baseSR_Full_BIT = 0x2b 3680 ETHTOOL_LINK_MODE_10000baseLR_Full_BIT = 0x2c 3681 ETHTOOL_LINK_MODE_10000baseLRM_Full_BIT = 0x2d 3682 ETHTOOL_LINK_MODE_10000baseER_Full_BIT = 0x2e 3683 ETHTOOL_LINK_MODE_2500baseT_Full_BIT = 0x2f 3684 ETHTOOL_LINK_MODE_5000baseT_Full_BIT = 0x30 3685 ETHTOOL_LINK_MODE_FEC_NONE_BIT = 0x31 3686 ETHTOOL_LINK_MODE_FEC_RS_BIT = 0x32 3687 ETHTOOL_LINK_MODE_FEC_BASER_BIT = 0x33 3688 ETHTOOL_LINK_MODE_50000baseKR_Full_BIT = 0x34 3689 ETHTOOL_LINK_MODE_50000baseSR_Full_BIT = 0x35 3690 ETHTOOL_LINK_MODE_50000baseCR_Full_BIT = 0x36 3691 ETHTOOL_LINK_MODE_50000baseLR_ER_FR_Full_BIT = 0x37 3692 ETHTOOL_LINK_MODE_50000baseDR_Full_BIT = 0x38 3693 ETHTOOL_LINK_MODE_100000baseKR2_Full_BIT = 0x39 3694 ETHTOOL_LINK_MODE_100000baseSR2_Full_BIT = 0x3a 3695 ETHTOOL_LINK_MODE_100000baseCR2_Full_BIT = 0x3b 3696 ETHTOOL_LINK_MODE_100000baseLR2_ER2_FR2_Full_BIT = 0x3c 3697 ETHTOOL_LINK_MODE_100000baseDR2_Full_BIT = 0x3d 3698 ETHTOOL_LINK_MODE_200000baseKR4_Full_BIT = 0x3e 3699 ETHTOOL_LINK_MODE_200000baseSR4_Full_BIT = 0x3f 3700 ETHTOOL_LINK_MODE_200000baseLR4_ER4_FR4_Full_BIT = 0x40 3701 ETHTOOL_LINK_MODE_200000baseDR4_Full_BIT = 0x41 3702 ETHTOOL_LINK_MODE_200000baseCR4_Full_BIT = 0x42 3703 ETHTOOL_LINK_MODE_100baseT1_Full_BIT = 0x43 3704 ETHTOOL_LINK_MODE_1000baseT1_Full_BIT = 0x44 3705 ETHTOOL_LINK_MODE_400000baseKR8_Full_BIT = 0x45 3706 ETHTOOL_LINK_MODE_400000baseSR8_Full_BIT = 0x46 3707 ETHTOOL_LINK_MODE_400000baseLR8_ER8_FR8_Full_BIT = 0x47 3708 ETHTOOL_LINK_MODE_400000baseDR8_Full_BIT = 0x48 3709 ETHTOOL_LINK_MODE_400000baseCR8_Full_BIT = 0x49 3710 ETHTOOL_LINK_MODE_FEC_LLRS_BIT = 0x4a 3711 ETHTOOL_LINK_MODE_100000baseKR_Full_BIT = 0x4b 3712 ETHTOOL_LINK_MODE_100000baseSR_Full_BIT = 0x4c 3713 ETHTOOL_LINK_MODE_100000baseLR_ER_FR_Full_BIT = 0x4d 3714 ETHTOOL_LINK_MODE_100000baseCR_Full_BIT = 0x4e 3715 ETHTOOL_LINK_MODE_100000baseDR_Full_BIT = 0x4f 3716 ETHTOOL_LINK_MODE_200000baseKR2_Full_BIT = 0x50 3717 ETHTOOL_LINK_MODE_200000baseSR2_Full_BIT = 0x51 3718 ETHTOOL_LINK_MODE_200000baseLR2_ER2_FR2_Full_BIT = 0x52 3719 ETHTOOL_LINK_MODE_200000baseDR2_Full_BIT = 0x53 3720 ETHTOOL_LINK_MODE_200000baseCR2_Full_BIT = 0x54 3721 ETHTOOL_LINK_MODE_400000baseKR4_Full_BIT = 0x55 3722 ETHTOOL_LINK_MODE_400000baseSR4_Full_BIT = 0x56 3723 ETHTOOL_LINK_MODE_400000baseLR4_ER4_FR4_Full_BIT = 0x57 3724 ETHTOOL_LINK_MODE_400000baseDR4_Full_BIT = 0x58 3725 ETHTOOL_LINK_MODE_400000baseCR4_Full_BIT = 0x59 3726 ETHTOOL_LINK_MODE_100baseFX_Half_BIT = 0x5a 3727 ETHTOOL_LINK_MODE_100baseFX_Full_BIT = 0x5b 3728 3729 ETHTOOL_MSG_USER_NONE = 0x0 3730 ETHTOOL_MSG_STRSET_GET = 0x1 3731 ETHTOOL_MSG_LINKINFO_GET = 0x2 3732 ETHTOOL_MSG_LINKINFO_SET = 0x3 3733 ETHTOOL_MSG_LINKMODES_GET = 0x4 3734 ETHTOOL_MSG_LINKMODES_SET = 0x5 3735 ETHTOOL_MSG_LINKSTATE_GET = 0x6 3736 ETHTOOL_MSG_DEBUG_GET = 0x7 3737 ETHTOOL_MSG_DEBUG_SET = 0x8 3738 ETHTOOL_MSG_WOL_GET = 0x9 3739 ETHTOOL_MSG_WOL_SET = 0xa 3740 ETHTOOL_MSG_FEATURES_GET = 0xb 3741 ETHTOOL_MSG_FEATURES_SET = 0xc 3742 ETHTOOL_MSG_PRIVFLAGS_GET = 0xd 3743 ETHTOOL_MSG_PRIVFLAGS_SET = 0xe 3744 ETHTOOL_MSG_RINGS_GET = 0xf 3745 ETHTOOL_MSG_RINGS_SET = 0x10 3746 ETHTOOL_MSG_CHANNELS_GET = 0x11 3747 ETHTOOL_MSG_CHANNELS_SET = 0x12 3748 ETHTOOL_MSG_COALESCE_GET = 0x13 3749 ETHTOOL_MSG_COALESCE_SET = 0x14 3750 ETHTOOL_MSG_PAUSE_GET = 0x15 3751 ETHTOOL_MSG_PAUSE_SET = 0x16 3752 ETHTOOL_MSG_EEE_GET = 0x17 3753 ETHTOOL_MSG_EEE_SET = 0x18 3754 ETHTOOL_MSG_TSINFO_GET = 0x19 3755 ETHTOOL_MSG_CABLE_TEST_ACT = 0x1a 3756 ETHTOOL_MSG_CABLE_TEST_TDR_ACT = 0x1b 3757 ETHTOOL_MSG_TUNNEL_INFO_GET = 0x1c 3758 ETHTOOL_MSG_FEC_GET = 0x1d 3759 ETHTOOL_MSG_FEC_SET = 0x1e 3760 ETHTOOL_MSG_MODULE_EEPROM_GET = 0x1f 3761 ETHTOOL_MSG_STATS_GET = 0x20 3762 ETHTOOL_MSG_PHC_VCLOCKS_GET = 0x21 3763 ETHTOOL_MSG_MODULE_GET = 0x22 3764 ETHTOOL_MSG_MODULE_SET = 0x23 3765 ETHTOOL_MSG_PSE_GET = 0x24 3766 ETHTOOL_MSG_PSE_SET = 0x25 3767 ETHTOOL_MSG_RSS_GET = 0x26 3768 ETHTOOL_MSG_USER_MAX = 0x2b 3769 ETHTOOL_MSG_KERNEL_NONE = 0x0 3770 ETHTOOL_MSG_STRSET_GET_REPLY = 0x1 3771 ETHTOOL_MSG_LINKINFO_GET_REPLY = 0x2 3772 ETHTOOL_MSG_LINKINFO_NTF = 0x3 3773 ETHTOOL_MSG_LINKMODES_GET_REPLY = 0x4 3774 ETHTOOL_MSG_LINKMODES_NTF = 0x5 3775 ETHTOOL_MSG_LINKSTATE_GET_REPLY = 0x6 3776 ETHTOOL_MSG_DEBUG_GET_REPLY = 0x7 3777 ETHTOOL_MSG_DEBUG_NTF = 0x8 3778 ETHTOOL_MSG_WOL_GET_REPLY = 0x9 3779 ETHTOOL_MSG_WOL_NTF = 0xa 3780 ETHTOOL_MSG_FEATURES_GET_REPLY = 0xb 3781 ETHTOOL_MSG_FEATURES_SET_REPLY = 0xc 3782 ETHTOOL_MSG_FEATURES_NTF = 0xd 3783 ETHTOOL_MSG_PRIVFLAGS_GET_REPLY = 0xe 3784 ETHTOOL_MSG_PRIVFLAGS_NTF = 0xf 3785 ETHTOOL_MSG_RINGS_GET_REPLY = 0x10 3786 ETHTOOL_MSG_RINGS_NTF = 0x11 3787 ETHTOOL_MSG_CHANNELS_GET_REPLY = 0x12 3788 ETHTOOL_MSG_CHANNELS_NTF = 0x13 3789 ETHTOOL_MSG_COALESCE_GET_REPLY = 0x14 3790 ETHTOOL_MSG_COALESCE_NTF = 0x15 3791 ETHTOOL_MSG_PAUSE_GET_REPLY = 0x16 3792 ETHTOOL_MSG_PAUSE_NTF = 0x17 3793 ETHTOOL_MSG_EEE_GET_REPLY = 0x18 3794 ETHTOOL_MSG_EEE_NTF = 0x19 3795 ETHTOOL_MSG_TSINFO_GET_REPLY = 0x1a 3796 ETHTOOL_MSG_CABLE_TEST_NTF = 0x1b 3797 ETHTOOL_MSG_CABLE_TEST_TDR_NTF = 0x1c 3798 ETHTOOL_MSG_TUNNEL_INFO_GET_REPLY = 0x1d 3799 ETHTOOL_MSG_FEC_GET_REPLY = 0x1e 3800 ETHTOOL_MSG_FEC_NTF = 0x1f 3801 ETHTOOL_MSG_MODULE_EEPROM_GET_REPLY = 0x20 3802 ETHTOOL_MSG_STATS_GET_REPLY = 0x21 3803 ETHTOOL_MSG_PHC_VCLOCKS_GET_REPLY = 0x22 3804 ETHTOOL_MSG_MODULE_GET_REPLY = 0x23 3805 ETHTOOL_MSG_MODULE_NTF = 0x24 3806 ETHTOOL_MSG_PSE_GET_REPLY = 0x25 3807 ETHTOOL_MSG_RSS_GET_REPLY = 0x26 3808 ETHTOOL_MSG_KERNEL_MAX = 0x2b 3809 ETHTOOL_A_HEADER_UNSPEC = 0x0 3810 ETHTOOL_A_HEADER_DEV_INDEX = 0x1 3811 ETHTOOL_A_HEADER_DEV_NAME = 0x2 3812 ETHTOOL_A_HEADER_FLAGS = 0x3 3813 ETHTOOL_A_HEADER_MAX = 0x3 3814 ETHTOOL_A_BITSET_BIT_UNSPEC = 0x0 3815 ETHTOOL_A_BITSET_BIT_INDEX = 0x1 3816 ETHTOOL_A_BITSET_BIT_NAME = 0x2 3817 ETHTOOL_A_BITSET_BIT_VALUE = 0x3 3818 ETHTOOL_A_BITSET_BIT_MAX = 0x3 3819 ETHTOOL_A_BITSET_BITS_UNSPEC = 0x0 3820 ETHTOOL_A_BITSET_BITS_BIT = 0x1 3821 ETHTOOL_A_BITSET_BITS_MAX = 0x1 3822 ETHTOOL_A_BITSET_UNSPEC = 0x0 3823 ETHTOOL_A_BITSET_NOMASK = 0x1 3824 ETHTOOL_A_BITSET_SIZE = 0x2 3825 ETHTOOL_A_BITSET_BITS = 0x3 3826 ETHTOOL_A_BITSET_VALUE = 0x4 3827 ETHTOOL_A_BITSET_MASK = 0x5 3828 ETHTOOL_A_BITSET_MAX = 0x5 3829 ETHTOOL_A_STRING_UNSPEC = 0x0 3830 ETHTOOL_A_STRING_INDEX = 0x1 3831 ETHTOOL_A_STRING_VALUE = 0x2 3832 ETHTOOL_A_STRING_MAX = 0x2 3833 ETHTOOL_A_STRINGS_UNSPEC = 0x0 3834 ETHTOOL_A_STRINGS_STRING = 0x1 3835 ETHTOOL_A_STRINGS_MAX = 0x1 3836 ETHTOOL_A_STRINGSET_UNSPEC = 0x0 3837 ETHTOOL_A_STRINGSET_ID = 0x1 3838 ETHTOOL_A_STRINGSET_COUNT = 0x2 3839 ETHTOOL_A_STRINGSET_STRINGS = 0x3 3840 ETHTOOL_A_STRINGSET_MAX = 0x3 3841 ETHTOOL_A_STRINGSETS_UNSPEC = 0x0 3842 ETHTOOL_A_STRINGSETS_STRINGSET = 0x1 3843 ETHTOOL_A_STRINGSETS_MAX = 0x1 3844 ETHTOOL_A_STRSET_UNSPEC = 0x0 3845 ETHTOOL_A_STRSET_HEADER = 0x1 3846 ETHTOOL_A_STRSET_STRINGSETS = 0x2 3847 ETHTOOL_A_STRSET_COUNTS_ONLY = 0x3 3848 ETHTOOL_A_STRSET_MAX = 0x3 3849 ETHTOOL_A_LINKINFO_UNSPEC = 0x0 3850 ETHTOOL_A_LINKINFO_HEADER = 0x1 3851 ETHTOOL_A_LINKINFO_PORT = 0x2 3852 ETHTOOL_A_LINKINFO_PHYADDR = 0x3 3853 ETHTOOL_A_LINKINFO_TP_MDIX = 0x4 3854 ETHTOOL_A_LINKINFO_TP_MDIX_CTRL = 0x5 3855 ETHTOOL_A_LINKINFO_TRANSCEIVER = 0x6 3856 ETHTOOL_A_LINKINFO_MAX = 0x6 3857 ETHTOOL_A_LINKMODES_UNSPEC = 0x0 3858 ETHTOOL_A_LINKMODES_HEADER = 0x1 3859 ETHTOOL_A_LINKMODES_AUTONEG = 0x2 3860 ETHTOOL_A_LINKMODES_OURS = 0x3 3861 ETHTOOL_A_LINKMODES_PEER = 0x4 3862 ETHTOOL_A_LINKMODES_SPEED = 0x5 3863 ETHTOOL_A_LINKMODES_DUPLEX = 0x6 3864 ETHTOOL_A_LINKMODES_MASTER_SLAVE_CFG = 0x7 3865 ETHTOOL_A_LINKMODES_MASTER_SLAVE_STATE = 0x8 3866 ETHTOOL_A_LINKMODES_LANES = 0x9 3867 ETHTOOL_A_LINKMODES_RATE_MATCHING = 0xa 3868 ETHTOOL_A_LINKMODES_MAX = 0xa 3869 ETHTOOL_A_LINKSTATE_UNSPEC = 0x0 3870 ETHTOOL_A_LINKSTATE_HEADER = 0x1 3871 ETHTOOL_A_LINKSTATE_LINK = 0x2 3872 ETHTOOL_A_LINKSTATE_SQI = 0x3 3873 ETHTOOL_A_LINKSTATE_SQI_MAX = 0x4 3874 ETHTOOL_A_LINKSTATE_EXT_STATE = 0x5 3875 ETHTOOL_A_LINKSTATE_EXT_SUBSTATE = 0x6 3876 ETHTOOL_A_LINKSTATE_EXT_DOWN_CNT = 0x7 3877 ETHTOOL_A_LINKSTATE_MAX = 0x7 3878 ETHTOOL_A_DEBUG_UNSPEC = 0x0 3879 ETHTOOL_A_DEBUG_HEADER = 0x1 3880 ETHTOOL_A_DEBUG_MSGMASK = 0x2 3881 ETHTOOL_A_DEBUG_MAX = 0x2 3882 ETHTOOL_A_WOL_UNSPEC = 0x0 3883 ETHTOOL_A_WOL_HEADER = 0x1 3884 ETHTOOL_A_WOL_MODES = 0x2 3885 ETHTOOL_A_WOL_SOPASS = 0x3 3886 ETHTOOL_A_WOL_MAX = 0x3 3887 ETHTOOL_A_FEATURES_UNSPEC = 0x0 3888 ETHTOOL_A_FEATURES_HEADER = 0x1 3889 ETHTOOL_A_FEATURES_HW = 0x2 3890 ETHTOOL_A_FEATURES_WANTED = 0x3 3891 ETHTOOL_A_FEATURES_ACTIVE = 0x4 3892 ETHTOOL_A_FEATURES_NOCHANGE = 0x5 3893 ETHTOOL_A_FEATURES_MAX = 0x5 3894 ETHTOOL_A_PRIVFLAGS_UNSPEC = 0x0 3895 ETHTOOL_A_PRIVFLAGS_HEADER = 0x1 3896 ETHTOOL_A_PRIVFLAGS_FLAGS = 0x2 3897 ETHTOOL_A_PRIVFLAGS_MAX = 0x2 3898 ETHTOOL_A_RINGS_UNSPEC = 0x0 3899 ETHTOOL_A_RINGS_HEADER = 0x1 3900 ETHTOOL_A_RINGS_RX_MAX = 0x2 3901 ETHTOOL_A_RINGS_RX_MINI_MAX = 0x3 3902 ETHTOOL_A_RINGS_RX_JUMBO_MAX = 0x4 3903 ETHTOOL_A_RINGS_TX_MAX = 0x5 3904 ETHTOOL_A_RINGS_RX = 0x6 3905 ETHTOOL_A_RINGS_RX_MINI = 0x7 3906 ETHTOOL_A_RINGS_RX_JUMBO = 0x8 3907 ETHTOOL_A_RINGS_TX = 0x9 3908 ETHTOOL_A_RINGS_RX_BUF_LEN = 0xa 3909 ETHTOOL_A_RINGS_TCP_DATA_SPLIT = 0xb 3910 ETHTOOL_A_RINGS_CQE_SIZE = 0xc 3911 ETHTOOL_A_RINGS_TX_PUSH = 0xd 3912 ETHTOOL_A_RINGS_MAX = 0x10 3913 ETHTOOL_A_CHANNELS_UNSPEC = 0x0 3914 ETHTOOL_A_CHANNELS_HEADER = 0x1 3915 ETHTOOL_A_CHANNELS_RX_MAX = 0x2 3916 ETHTOOL_A_CHANNELS_TX_MAX = 0x3 3917 ETHTOOL_A_CHANNELS_OTHER_MAX = 0x4 3918 ETHTOOL_A_CHANNELS_COMBINED_MAX = 0x5 3919 ETHTOOL_A_CHANNELS_RX_COUNT = 0x6 3920 ETHTOOL_A_CHANNELS_TX_COUNT = 0x7 3921 ETHTOOL_A_CHANNELS_OTHER_COUNT = 0x8 3922 ETHTOOL_A_CHANNELS_COMBINED_COUNT = 0x9 3923 ETHTOOL_A_CHANNELS_MAX = 0x9 3924 ETHTOOL_A_COALESCE_UNSPEC = 0x0 3925 ETHTOOL_A_COALESCE_HEADER = 0x1 3926 ETHTOOL_A_COALESCE_RX_USECS = 0x2 3927 ETHTOOL_A_COALESCE_RX_MAX_FRAMES = 0x3 3928 ETHTOOL_A_COALESCE_RX_USECS_IRQ = 0x4 3929 ETHTOOL_A_COALESCE_RX_MAX_FRAMES_IRQ = 0x5 3930 ETHTOOL_A_COALESCE_TX_USECS = 0x6 3931 ETHTOOL_A_COALESCE_TX_MAX_FRAMES = 0x7 3932 ETHTOOL_A_COALESCE_TX_USECS_IRQ = 0x8 3933 ETHTOOL_A_COALESCE_TX_MAX_FRAMES_IRQ = 0x9 3934 ETHTOOL_A_COALESCE_STATS_BLOCK_USECS = 0xa 3935 ETHTOOL_A_COALESCE_USE_ADAPTIVE_RX = 0xb 3936 ETHTOOL_A_COALESCE_USE_ADAPTIVE_TX = 0xc 3937 ETHTOOL_A_COALESCE_PKT_RATE_LOW = 0xd 3938 ETHTOOL_A_COALESCE_RX_USECS_LOW = 0xe 3939 ETHTOOL_A_COALESCE_RX_MAX_FRAMES_LOW = 0xf 3940 ETHTOOL_A_COALESCE_TX_USECS_LOW = 0x10 3941 ETHTOOL_A_COALESCE_TX_MAX_FRAMES_LOW = 0x11 3942 ETHTOOL_A_COALESCE_PKT_RATE_HIGH = 0x12 3943 ETHTOOL_A_COALESCE_RX_USECS_HIGH = 0x13 3944 ETHTOOL_A_COALESCE_RX_MAX_FRAMES_HIGH = 0x14 3945 ETHTOOL_A_COALESCE_TX_USECS_HIGH = 0x15 3946 ETHTOOL_A_COALESCE_TX_MAX_FRAMES_HIGH = 0x16 3947 ETHTOOL_A_COALESCE_RATE_SAMPLE_INTERVAL = 0x17 3948 ETHTOOL_A_COALESCE_USE_CQE_MODE_TX = 0x18 3949 ETHTOOL_A_COALESCE_USE_CQE_MODE_RX = 0x19 3950 ETHTOOL_A_COALESCE_MAX = 0x1c 3951 ETHTOOL_A_PAUSE_UNSPEC = 0x0 3952 ETHTOOL_A_PAUSE_HEADER = 0x1 3953 ETHTOOL_A_PAUSE_AUTONEG = 0x2 3954 ETHTOOL_A_PAUSE_RX = 0x3 3955 ETHTOOL_A_PAUSE_TX = 0x4 3956 ETHTOOL_A_PAUSE_STATS = 0x5 3957 ETHTOOL_A_PAUSE_MAX = 0x6 3958 ETHTOOL_A_PAUSE_STAT_UNSPEC = 0x0 3959 ETHTOOL_A_PAUSE_STAT_PAD = 0x1 3960 ETHTOOL_A_PAUSE_STAT_TX_FRAMES = 0x2 3961 ETHTOOL_A_PAUSE_STAT_RX_FRAMES = 0x3 3962 ETHTOOL_A_PAUSE_STAT_MAX = 0x3 3963 ETHTOOL_A_EEE_UNSPEC = 0x0 3964 ETHTOOL_A_EEE_HEADER = 0x1 3965 ETHTOOL_A_EEE_MODES_OURS = 0x2 3966 ETHTOOL_A_EEE_MODES_PEER = 0x3 3967 ETHTOOL_A_EEE_ACTIVE = 0x4 3968 ETHTOOL_A_EEE_ENABLED = 0x5 3969 ETHTOOL_A_EEE_TX_LPI_ENABLED = 0x6 3970 ETHTOOL_A_EEE_TX_LPI_TIMER = 0x7 3971 ETHTOOL_A_EEE_MAX = 0x7 3972 ETHTOOL_A_TSINFO_UNSPEC = 0x0 3973 ETHTOOL_A_TSINFO_HEADER = 0x1 3974 ETHTOOL_A_TSINFO_TIMESTAMPING = 0x2 3975 ETHTOOL_A_TSINFO_TX_TYPES = 0x3 3976 ETHTOOL_A_TSINFO_RX_FILTERS = 0x4 3977 ETHTOOL_A_TSINFO_PHC_INDEX = 0x5 3978 ETHTOOL_A_TSINFO_MAX = 0x5 3979 ETHTOOL_A_CABLE_TEST_UNSPEC = 0x0 3980 ETHTOOL_A_CABLE_TEST_HEADER = 0x1 3981 ETHTOOL_A_CABLE_TEST_MAX = 0x1 3982 ETHTOOL_A_CABLE_RESULT_CODE_UNSPEC = 0x0 3983 ETHTOOL_A_CABLE_RESULT_CODE_OK = 0x1 3984 ETHTOOL_A_CABLE_RESULT_CODE_OPEN = 0x2 3985 ETHTOOL_A_CABLE_RESULT_CODE_SAME_SHORT = 0x3 3986 ETHTOOL_A_CABLE_RESULT_CODE_CROSS_SHORT = 0x4 3987 ETHTOOL_A_CABLE_PAIR_A = 0x0 3988 ETHTOOL_A_CABLE_PAIR_B = 0x1 3989 ETHTOOL_A_CABLE_PAIR_C = 0x2 3990 ETHTOOL_A_CABLE_PAIR_D = 0x3 3991 ETHTOOL_A_CABLE_RESULT_UNSPEC = 0x0 3992 ETHTOOL_A_CABLE_RESULT_PAIR = 0x1 3993 ETHTOOL_A_CABLE_RESULT_CODE = 0x2 3994 ETHTOOL_A_CABLE_RESULT_MAX = 0x2 3995 ETHTOOL_A_CABLE_FAULT_LENGTH_UNSPEC = 0x0 3996 ETHTOOL_A_CABLE_FAULT_LENGTH_PAIR = 0x1 3997 ETHTOOL_A_CABLE_FAULT_LENGTH_CM = 0x2 3998 ETHTOOL_A_CABLE_FAULT_LENGTH_MAX = 0x2 3999 ETHTOOL_A_CABLE_TEST_NTF_STATUS_UNSPEC = 0x0 4000 ETHTOOL_A_CABLE_TEST_NTF_STATUS_STARTED = 0x1 4001 ETHTOOL_A_CABLE_TEST_NTF_STATUS_COMPLETED = 0x2 4002 ETHTOOL_A_CABLE_NEST_UNSPEC = 0x0 4003 ETHTOOL_A_CABLE_NEST_RESULT = 0x1 4004 ETHTOOL_A_CABLE_NEST_FAULT_LENGTH = 0x2 4005 ETHTOOL_A_CABLE_NEST_MAX = 0x2 4006 ETHTOOL_A_CABLE_TEST_NTF_UNSPEC = 0x0 4007 ETHTOOL_A_CABLE_TEST_NTF_HEADER = 0x1 4008 ETHTOOL_A_CABLE_TEST_NTF_STATUS = 0x2 4009 ETHTOOL_A_CABLE_TEST_NTF_NEST = 0x3 4010 ETHTOOL_A_CABLE_TEST_NTF_MAX = 0x3 4011 ETHTOOL_A_CABLE_TEST_TDR_CFG_UNSPEC = 0x0 4012 ETHTOOL_A_CABLE_TEST_TDR_CFG_FIRST = 0x1 4013 ETHTOOL_A_CABLE_TEST_TDR_CFG_LAST = 0x2 4014 ETHTOOL_A_CABLE_TEST_TDR_CFG_STEP = 0x3 4015 ETHTOOL_A_CABLE_TEST_TDR_CFG_PAIR = 0x4 4016 ETHTOOL_A_CABLE_TEST_TDR_CFG_MAX = 0x4 4017 ETHTOOL_A_CABLE_TEST_TDR_UNSPEC = 0x0 4018 ETHTOOL_A_CABLE_TEST_TDR_HEADER = 0x1 4019 ETHTOOL_A_CABLE_TEST_TDR_CFG = 0x2 4020 ETHTOOL_A_CABLE_TEST_TDR_MAX = 0x2 4021 ETHTOOL_A_CABLE_AMPLITUDE_UNSPEC = 0x0 4022 ETHTOOL_A_CABLE_AMPLITUDE_PAIR = 0x1 4023 ETHTOOL_A_CABLE_AMPLITUDE_mV = 0x2 4024 ETHTOOL_A_CABLE_AMPLITUDE_MAX = 0x2 4025 ETHTOOL_A_CABLE_PULSE_UNSPEC = 0x0 4026 ETHTOOL_A_CABLE_PULSE_mV = 0x1 4027 ETHTOOL_A_CABLE_PULSE_MAX = 0x1 4028 ETHTOOL_A_CABLE_STEP_UNSPEC = 0x0 4029 ETHTOOL_A_CABLE_STEP_FIRST_DISTANCE = 0x1 4030 ETHTOOL_A_CABLE_STEP_LAST_DISTANCE = 0x2 4031 ETHTOOL_A_CABLE_STEP_STEP_DISTANCE = 0x3 4032 ETHTOOL_A_CABLE_STEP_MAX = 0x3 4033 ETHTOOL_A_CABLE_TDR_NEST_UNSPEC = 0x0 4034 ETHTOOL_A_CABLE_TDR_NEST_STEP = 0x1 4035 ETHTOOL_A_CABLE_TDR_NEST_AMPLITUDE = 0x2 4036 ETHTOOL_A_CABLE_TDR_NEST_PULSE = 0x3 4037 ETHTOOL_A_CABLE_TDR_NEST_MAX = 0x3 4038 ETHTOOL_A_CABLE_TEST_TDR_NTF_UNSPEC = 0x0 4039 ETHTOOL_A_CABLE_TEST_TDR_NTF_HEADER = 0x1 4040 ETHTOOL_A_CABLE_TEST_TDR_NTF_STATUS = 0x2 4041 ETHTOOL_A_CABLE_TEST_TDR_NTF_NEST = 0x3 4042 ETHTOOL_A_CABLE_TEST_TDR_NTF_MAX = 0x3 4043 ETHTOOL_UDP_TUNNEL_TYPE_VXLAN = 0x0 4044 ETHTOOL_UDP_TUNNEL_TYPE_GENEVE = 0x1 4045 ETHTOOL_UDP_TUNNEL_TYPE_VXLAN_GPE = 0x2 4046 ETHTOOL_A_TUNNEL_UDP_ENTRY_UNSPEC = 0x0 4047 ETHTOOL_A_TUNNEL_UDP_ENTRY_PORT = 0x1 4048 ETHTOOL_A_TUNNEL_UDP_ENTRY_TYPE = 0x2 4049 ETHTOOL_A_TUNNEL_UDP_ENTRY_MAX = 0x2 4050 ETHTOOL_A_TUNNEL_UDP_TABLE_UNSPEC = 0x0 4051 ETHTOOL_A_TUNNEL_UDP_TABLE_SIZE = 0x1 4052 ETHTOOL_A_TUNNEL_UDP_TABLE_TYPES = 0x2 4053 ETHTOOL_A_TUNNEL_UDP_TABLE_ENTRY = 0x3 4054 ETHTOOL_A_TUNNEL_UDP_TABLE_MAX = 0x3 4055 ETHTOOL_A_TUNNEL_UDP_UNSPEC = 0x0 4056 ETHTOOL_A_TUNNEL_UDP_TABLE = 0x1 4057 ETHTOOL_A_TUNNEL_UDP_MAX = 0x1 4058 ETHTOOL_A_TUNNEL_INFO_UNSPEC = 0x0 4059 ETHTOOL_A_TUNNEL_INFO_HEADER = 0x1 4060 ETHTOOL_A_TUNNEL_INFO_UDP_PORTS = 0x2 4061 ETHTOOL_A_TUNNEL_INFO_MAX = 0x2 4062 ) 4063 4064 const SPEED_UNKNOWN = -0x1 4065 4066 type EthtoolDrvinfo struct { 4067 Cmd uint32 4068 Driver [32]byte 4069 Version [32]byte 4070 Fw_version [32]byte 4071 Bus_info [32]byte 4072 Erom_version [32]byte 4073 Reserved2 [12]byte 4074 N_priv_flags uint32 4075 N_stats uint32 4076 Testinfo_len uint32 4077 Eedump_len uint32 4078 Regdump_len uint32 4079 } 4080 4081 type ( 4082 HIDRawReportDescriptor struct { 4083 Size uint32 4084 Value [4096]uint8 4085 } 4086 HIDRawDevInfo struct { 4087 Bustype uint32 4088 Vendor int16 4089 Product int16 4090 } 4091 ) 4092 4093 const ( 4094 CLOSE_RANGE_UNSHARE = 0x2 4095 CLOSE_RANGE_CLOEXEC = 0x4 4096 ) 4097 4098 const ( 4099 NLMSGERR_ATTR_MSG = 0x1 4100 NLMSGERR_ATTR_OFFS = 0x2 4101 NLMSGERR_ATTR_COOKIE = 0x3 4102 ) 4103 4104 type ( 4105 EraseInfo struct { 4106 Start uint32 4107 Length uint32 4108 } 4109 EraseInfo64 struct { 4110 Start uint64 4111 Length uint64 4112 } 4113 MtdOobBuf struct { 4114 Start uint32 4115 Length uint32 4116 Ptr *uint8 4117 } 4118 MtdOobBuf64 struct { 4119 Start uint64 4120 Pad uint32 4121 Length uint32 4122 Ptr uint64 4123 } 4124 MtdWriteReq struct { 4125 Start uint64 4126 Len uint64 4127 Ooblen uint64 4128 Data uint64 4129 Oob uint64 4130 Mode uint8 4131 _ [7]uint8 4132 } 4133 MtdInfo struct { 4134 Type uint8 4135 Flags uint32 4136 Size uint32 4137 Erasesize uint32 4138 Writesize uint32 4139 Oobsize uint32 4140 _ uint64 4141 } 4142 RegionInfo struct { 4143 Offset uint32 4144 Erasesize uint32 4145 Numblocks uint32 4146 Regionindex uint32 4147 } 4148 OtpInfo struct { 4149 Start uint32 4150 Length uint32 4151 Locked uint32 4152 } 4153 NandOobinfo struct { 4154 Useecc uint32 4155 Eccbytes uint32 4156 Oobfree [8][2]uint32 4157 Eccpos [32]uint32 4158 } 4159 NandOobfree struct { 4160 Offset uint32 4161 Length uint32 4162 } 4163 NandEcclayout struct { 4164 Eccbytes uint32 4165 Eccpos [64]uint32 4166 Oobavail uint32 4167 Oobfree [8]NandOobfree 4168 } 4169 MtdEccStats struct { 4170 Corrected uint32 4171 Failed uint32 4172 Badblocks uint32 4173 Bbtblocks uint32 4174 } 4175 ) 4176 4177 const ( 4178 MTD_OPS_PLACE_OOB = 0x0 4179 MTD_OPS_AUTO_OOB = 0x1 4180 MTD_OPS_RAW = 0x2 4181 ) 4182 4183 const ( 4184 MTD_FILE_MODE_NORMAL = 0x0 4185 MTD_FILE_MODE_OTP_FACTORY = 0x1 4186 MTD_FILE_MODE_OTP_USER = 0x2 4187 MTD_FILE_MODE_RAW = 0x3 4188 ) 4189 4190 const ( 4191 NFC_CMD_UNSPEC = 0x0 4192 NFC_CMD_GET_DEVICE = 0x1 4193 NFC_CMD_DEV_UP = 0x2 4194 NFC_CMD_DEV_DOWN = 0x3 4195 NFC_CMD_DEP_LINK_UP = 0x4 4196 NFC_CMD_DEP_LINK_DOWN = 0x5 4197 NFC_CMD_START_POLL = 0x6 4198 NFC_CMD_STOP_POLL = 0x7 4199 NFC_CMD_GET_TARGET = 0x8 4200 NFC_EVENT_TARGETS_FOUND = 0x9 4201 NFC_EVENT_DEVICE_ADDED = 0xa 4202 NFC_EVENT_DEVICE_REMOVED = 0xb 4203 NFC_EVENT_TARGET_LOST = 0xc 4204 NFC_EVENT_TM_ACTIVATED = 0xd 4205 NFC_EVENT_TM_DEACTIVATED = 0xe 4206 NFC_CMD_LLC_GET_PARAMS = 0xf 4207 NFC_CMD_LLC_SET_PARAMS = 0x10 4208 NFC_CMD_ENABLE_SE = 0x11 4209 NFC_CMD_DISABLE_SE = 0x12 4210 NFC_CMD_LLC_SDREQ = 0x13 4211 NFC_EVENT_LLC_SDRES = 0x14 4212 NFC_CMD_FW_DOWNLOAD = 0x15 4213 NFC_EVENT_SE_ADDED = 0x16 4214 NFC_EVENT_SE_REMOVED = 0x17 4215 NFC_EVENT_SE_CONNECTIVITY = 0x18 4216 NFC_EVENT_SE_TRANSACTION = 0x19 4217 NFC_CMD_GET_SE = 0x1a 4218 NFC_CMD_SE_IO = 0x1b 4219 NFC_CMD_ACTIVATE_TARGET = 0x1c 4220 NFC_CMD_VENDOR = 0x1d 4221 NFC_CMD_DEACTIVATE_TARGET = 0x1e 4222 NFC_ATTR_UNSPEC = 0x0 4223 NFC_ATTR_DEVICE_INDEX = 0x1 4224 NFC_ATTR_DEVICE_NAME = 0x2 4225 NFC_ATTR_PROTOCOLS = 0x3 4226 NFC_ATTR_TARGET_INDEX = 0x4 4227 NFC_ATTR_TARGET_SENS_RES = 0x5 4228 NFC_ATTR_TARGET_SEL_RES = 0x6 4229 NFC_ATTR_TARGET_NFCID1 = 0x7 4230 NFC_ATTR_TARGET_SENSB_RES = 0x8 4231 NFC_ATTR_TARGET_SENSF_RES = 0x9 4232 NFC_ATTR_COMM_MODE = 0xa 4233 NFC_ATTR_RF_MODE = 0xb 4234 NFC_ATTR_DEVICE_POWERED = 0xc 4235 NFC_ATTR_IM_PROTOCOLS = 0xd 4236 NFC_ATTR_TM_PROTOCOLS = 0xe 4237 NFC_ATTR_LLC_PARAM_LTO = 0xf 4238 NFC_ATTR_LLC_PARAM_RW = 0x10 4239 NFC_ATTR_LLC_PARAM_MIUX = 0x11 4240 NFC_ATTR_SE = 0x12 4241 NFC_ATTR_LLC_SDP = 0x13 4242 NFC_ATTR_FIRMWARE_NAME = 0x14 4243 NFC_ATTR_SE_INDEX = 0x15 4244 NFC_ATTR_SE_TYPE = 0x16 4245 NFC_ATTR_SE_AID = 0x17 4246 NFC_ATTR_FIRMWARE_DOWNLOAD_STATUS = 0x18 4247 NFC_ATTR_SE_APDU = 0x19 4248 NFC_ATTR_TARGET_ISO15693_DSFID = 0x1a 4249 NFC_ATTR_TARGET_ISO15693_UID = 0x1b 4250 NFC_ATTR_SE_PARAMS = 0x1c 4251 NFC_ATTR_VENDOR_ID = 0x1d 4252 NFC_ATTR_VENDOR_SUBCMD = 0x1e 4253 NFC_ATTR_VENDOR_DATA = 0x1f 4254 NFC_SDP_ATTR_UNSPEC = 0x0 4255 NFC_SDP_ATTR_URI = 0x1 4256 NFC_SDP_ATTR_SAP = 0x2 4257 ) 4258 4259 type LandlockRulesetAttr struct { 4260 Access_fs uint64 4261 Access_net uint64 4262 } 4263 4264 type LandlockPathBeneathAttr struct { 4265 Allowed_access uint64 4266 Parent_fd int32 4267 } 4268 4269 const ( 4270 LANDLOCK_RULE_PATH_BENEATH = 0x1 4271 ) 4272 4273 const ( 4274 IPC_CREAT = 0x200 4275 IPC_EXCL = 0x400 4276 IPC_NOWAIT = 0x800 4277 IPC_PRIVATE = 0x0 4278 4279 ipc_64 = 0x100 4280 ) 4281 4282 const ( 4283 IPC_RMID = 0x0 4284 IPC_SET = 0x1 4285 IPC_STAT = 0x2 4286 ) 4287 4288 const ( 4289 SHM_RDONLY = 0x1000 4290 SHM_RND = 0x2000 4291 ) 4292 4293 type MountAttr struct { 4294 Attr_set uint64 4295 Attr_clr uint64 4296 Propagation uint64 4297 Userns_fd uint64 4298 } 4299 4300 const ( 4301 WG_CMD_GET_DEVICE = 0x0 4302 WG_CMD_SET_DEVICE = 0x1 4303 WGDEVICE_F_REPLACE_PEERS = 0x1 4304 WGDEVICE_A_UNSPEC = 0x0 4305 WGDEVICE_A_IFINDEX = 0x1 4306 WGDEVICE_A_IFNAME = 0x2 4307 WGDEVICE_A_PRIVATE_KEY = 0x3 4308 WGDEVICE_A_PUBLIC_KEY = 0x4 4309 WGDEVICE_A_FLAGS = 0x5 4310 WGDEVICE_A_LISTEN_PORT = 0x6 4311 WGDEVICE_A_FWMARK = 0x7 4312 WGDEVICE_A_PEERS = 0x8 4313 WGPEER_F_REMOVE_ME = 0x1 4314 WGPEER_F_REPLACE_ALLOWEDIPS = 0x2 4315 WGPEER_F_UPDATE_ONLY = 0x4 4316 WGPEER_A_UNSPEC = 0x0 4317 WGPEER_A_PUBLIC_KEY = 0x1 4318 WGPEER_A_PRESHARED_KEY = 0x2 4319 WGPEER_A_FLAGS = 0x3 4320 WGPEER_A_ENDPOINT = 0x4 4321 WGPEER_A_PERSISTENT_KEEPALIVE_INTERVAL = 0x5 4322 WGPEER_A_LAST_HANDSHAKE_TIME = 0x6 4323 WGPEER_A_RX_BYTES = 0x7 4324 WGPEER_A_TX_BYTES = 0x8 4325 WGPEER_A_ALLOWEDIPS = 0x9 4326 WGPEER_A_PROTOCOL_VERSION = 0xa 4327 WGALLOWEDIP_A_UNSPEC = 0x0 4328 WGALLOWEDIP_A_FAMILY = 0x1 4329 WGALLOWEDIP_A_IPADDR = 0x2 4330 WGALLOWEDIP_A_CIDR_MASK = 0x3 4331 ) 4332 4333 const ( 4334 NL_ATTR_TYPE_INVALID = 0x0 4335 NL_ATTR_TYPE_FLAG = 0x1 4336 NL_ATTR_TYPE_U8 = 0x2 4337 NL_ATTR_TYPE_U16 = 0x3 4338 NL_ATTR_TYPE_U32 = 0x4 4339 NL_ATTR_TYPE_U64 = 0x5 4340 NL_ATTR_TYPE_S8 = 0x6 4341 NL_ATTR_TYPE_S16 = 0x7 4342 NL_ATTR_TYPE_S32 = 0x8 4343 NL_ATTR_TYPE_S64 = 0x9 4344 NL_ATTR_TYPE_BINARY = 0xa 4345 NL_ATTR_TYPE_STRING = 0xb 4346 NL_ATTR_TYPE_NUL_STRING = 0xc 4347 NL_ATTR_TYPE_NESTED = 0xd 4348 NL_ATTR_TYPE_NESTED_ARRAY = 0xe 4349 NL_ATTR_TYPE_BITFIELD32 = 0xf 4350 4351 NL_POLICY_TYPE_ATTR_UNSPEC = 0x0 4352 NL_POLICY_TYPE_ATTR_TYPE = 0x1 4353 NL_POLICY_TYPE_ATTR_MIN_VALUE_S = 0x2 4354 NL_POLICY_TYPE_ATTR_MAX_VALUE_S = 0x3 4355 NL_POLICY_TYPE_ATTR_MIN_VALUE_U = 0x4 4356 NL_POLICY_TYPE_ATTR_MAX_VALUE_U = 0x5 4357 NL_POLICY_TYPE_ATTR_MIN_LENGTH = 0x6 4358 NL_POLICY_TYPE_ATTR_MAX_LENGTH = 0x7 4359 NL_POLICY_TYPE_ATTR_POLICY_IDX = 0x8 4360 NL_POLICY_TYPE_ATTR_POLICY_MAXTYPE = 0x9 4361 NL_POLICY_TYPE_ATTR_BITFIELD32_MASK = 0xa 4362 NL_POLICY_TYPE_ATTR_PAD = 0xb 4363 NL_POLICY_TYPE_ATTR_MASK = 0xc 4364 NL_POLICY_TYPE_ATTR_MAX = 0xc 4365 ) 4366 4367 type CANBitTiming struct { 4368 Bitrate uint32 4369 Sample_point uint32 4370 Tq uint32 4371 Prop_seg uint32 4372 Phase_seg1 uint32 4373 Phase_seg2 uint32 4374 Sjw uint32 4375 Brp uint32 4376 } 4377 4378 type CANBitTimingConst struct { 4379 Name [16]uint8 4380 Tseg1_min uint32 4381 Tseg1_max uint32 4382 Tseg2_min uint32 4383 Tseg2_max uint32 4384 Sjw_max uint32 4385 Brp_min uint32 4386 Brp_max uint32 4387 Brp_inc uint32 4388 } 4389 4390 type CANClock struct { 4391 Freq uint32 4392 } 4393 4394 type CANBusErrorCounters struct { 4395 Txerr uint16 4396 Rxerr uint16 4397 } 4398 4399 type CANCtrlMode struct { 4400 Mask uint32 4401 Flags uint32 4402 } 4403 4404 type CANDeviceStats struct { 4405 Bus_error uint32 4406 Error_warning uint32 4407 Error_passive uint32 4408 Bus_off uint32 4409 Arbitration_lost uint32 4410 Restarts uint32 4411 } 4412 4413 const ( 4414 CAN_STATE_ERROR_ACTIVE = 0x0 4415 CAN_STATE_ERROR_WARNING = 0x1 4416 CAN_STATE_ERROR_PASSIVE = 0x2 4417 CAN_STATE_BUS_OFF = 0x3 4418 CAN_STATE_STOPPED = 0x4 4419 CAN_STATE_SLEEPING = 0x5 4420 CAN_STATE_MAX = 0x6 4421 ) 4422 4423 const ( 4424 IFLA_CAN_UNSPEC = 0x0 4425 IFLA_CAN_BITTIMING = 0x1 4426 IFLA_CAN_BITTIMING_CONST = 0x2 4427 IFLA_CAN_CLOCK = 0x3 4428 IFLA_CAN_STATE = 0x4 4429 IFLA_CAN_CTRLMODE = 0x5 4430 IFLA_CAN_RESTART_MS = 0x6 4431 IFLA_CAN_RESTART = 0x7 4432 IFLA_CAN_BERR_COUNTER = 0x8 4433 IFLA_CAN_DATA_BITTIMING = 0x9 4434 IFLA_CAN_DATA_BITTIMING_CONST = 0xa 4435 IFLA_CAN_TERMINATION = 0xb 4436 IFLA_CAN_TERMINATION_CONST = 0xc 4437 IFLA_CAN_BITRATE_CONST = 0xd 4438 IFLA_CAN_DATA_BITRATE_CONST = 0xe 4439 IFLA_CAN_BITRATE_MAX = 0xf 4440 ) 4441 4442 type KCMAttach struct { 4443 Fd int32 4444 Bpf_fd int32 4445 } 4446 4447 type KCMUnattach struct { 4448 Fd int32 4449 } 4450 4451 type KCMClone struct { 4452 Fd int32 4453 } 4454 4455 const ( 4456 NL80211_AC_BE = 0x2 4457 NL80211_AC_BK = 0x3 4458 NL80211_ACL_POLICY_ACCEPT_UNLESS_LISTED = 0x0 4459 NL80211_ACL_POLICY_DENY_UNLESS_LISTED = 0x1 4460 NL80211_AC_VI = 0x1 4461 NL80211_AC_VO = 0x0 4462 NL80211_AP_SETTINGS_EXTERNAL_AUTH_SUPPORT = 0x1 4463 NL80211_AP_SETTINGS_SA_QUERY_OFFLOAD_SUPPORT = 0x2 4464 NL80211_AP_SME_SA_QUERY_OFFLOAD = 0x1 4465 NL80211_ATTR_4ADDR = 0x53 4466 NL80211_ATTR_ACK = 0x5c 4467 NL80211_ATTR_ACK_SIGNAL = 0x107 4468 NL80211_ATTR_ACL_POLICY = 0xa5 4469 NL80211_ATTR_ADMITTED_TIME = 0xd4 4470 NL80211_ATTR_AIRTIME_WEIGHT = 0x112 4471 NL80211_ATTR_AKM_SUITES = 0x4c 4472 NL80211_ATTR_AP_ISOLATE = 0x60 4473 NL80211_ATTR_AP_SETTINGS_FLAGS = 0x135 4474 NL80211_ATTR_AUTH_DATA = 0x9c 4475 NL80211_ATTR_AUTH_TYPE = 0x35 4476 NL80211_ATTR_BANDS = 0xef 4477 NL80211_ATTR_BEACON_HEAD = 0xe 4478 NL80211_ATTR_BEACON_INTERVAL = 0xc 4479 NL80211_ATTR_BEACON_TAIL = 0xf 4480 NL80211_ATTR_BG_SCAN_PERIOD = 0x98 4481 NL80211_ATTR_BSS_BASIC_RATES = 0x24 4482 NL80211_ATTR_BSS = 0x2f 4483 NL80211_ATTR_BSS_CTS_PROT = 0x1c 4484 NL80211_ATTR_BSS_HT_OPMODE = 0x6d 4485 NL80211_ATTR_BSSID = 0xf5 4486 NL80211_ATTR_BSS_SELECT = 0xe3 4487 NL80211_ATTR_BSS_SHORT_PREAMBLE = 0x1d 4488 NL80211_ATTR_BSS_SHORT_SLOT_TIME = 0x1e 4489 NL80211_ATTR_CENTER_FREQ1 = 0xa0 4490 NL80211_ATTR_CENTER_FREQ1_OFFSET = 0x123 4491 NL80211_ATTR_CENTER_FREQ2 = 0xa1 4492 NL80211_ATTR_CHANNEL_WIDTH = 0x9f 4493 NL80211_ATTR_CH_SWITCH_BLOCK_TX = 0xb8 4494 NL80211_ATTR_CH_SWITCH_COUNT = 0xb7 4495 NL80211_ATTR_CIPHER_SUITE_GROUP = 0x4a 4496 NL80211_ATTR_CIPHER_SUITES = 0x39 4497 NL80211_ATTR_CIPHER_SUITES_PAIRWISE = 0x49 4498 NL80211_ATTR_CNTDWN_OFFS_BEACON = 0xba 4499 NL80211_ATTR_CNTDWN_OFFS_PRESP = 0xbb 4500 NL80211_ATTR_COALESCE_RULE = 0xb6 4501 NL80211_ATTR_COALESCE_RULE_CONDITION = 0x2 4502 NL80211_ATTR_COALESCE_RULE_DELAY = 0x1 4503 NL80211_ATTR_COALESCE_RULE_MAX = 0x3 4504 NL80211_ATTR_COALESCE_RULE_PKT_PATTERN = 0x3 4505 NL80211_ATTR_COLOR_CHANGE_COLOR = 0x130 4506 NL80211_ATTR_COLOR_CHANGE_COUNT = 0x12f 4507 NL80211_ATTR_COLOR_CHANGE_ELEMS = 0x131 4508 NL80211_ATTR_CONN_FAILED_REASON = 0x9b 4509 NL80211_ATTR_CONTROL_PORT = 0x44 4510 NL80211_ATTR_CONTROL_PORT_ETHERTYPE = 0x66 4511 NL80211_ATTR_CONTROL_PORT_NO_ENCRYPT = 0x67 4512 NL80211_ATTR_CONTROL_PORT_NO_PREAUTH = 0x11e 4513 NL80211_ATTR_CONTROL_PORT_OVER_NL80211 = 0x108 4514 NL80211_ATTR_COOKIE = 0x58 4515 NL80211_ATTR_CQM_BEACON_LOSS_EVENT = 0x8 4516 NL80211_ATTR_CQM = 0x5e 4517 NL80211_ATTR_CQM_MAX = 0x9 4518 NL80211_ATTR_CQM_PKT_LOSS_EVENT = 0x4 4519 NL80211_ATTR_CQM_RSSI_HYST = 0x2 4520 NL80211_ATTR_CQM_RSSI_LEVEL = 0x9 4521 NL80211_ATTR_CQM_RSSI_THOLD = 0x1 4522 NL80211_ATTR_CQM_RSSI_THRESHOLD_EVENT = 0x3 4523 NL80211_ATTR_CQM_TXE_INTVL = 0x7 4524 NL80211_ATTR_CQM_TXE_PKTS = 0x6 4525 NL80211_ATTR_CQM_TXE_RATE = 0x5 4526 NL80211_ATTR_CRIT_PROT_ID = 0xb3 4527 NL80211_ATTR_CSA_C_OFF_BEACON = 0xba 4528 NL80211_ATTR_CSA_C_OFF_PRESP = 0xbb 4529 NL80211_ATTR_CSA_C_OFFSETS_TX = 0xcd 4530 NL80211_ATTR_CSA_IES = 0xb9 4531 NL80211_ATTR_DEVICE_AP_SME = 0x8d 4532 NL80211_ATTR_DFS_CAC_TIME = 0x7 4533 NL80211_ATTR_DFS_REGION = 0x92 4534 NL80211_ATTR_DISABLE_EHT = 0x137 4535 NL80211_ATTR_DISABLE_HE = 0x12d 4536 NL80211_ATTR_DISABLE_HT = 0x93 4537 NL80211_ATTR_DISABLE_VHT = 0xaf 4538 NL80211_ATTR_DISCONNECTED_BY_AP = 0x47 4539 NL80211_ATTR_DONT_WAIT_FOR_ACK = 0x8e 4540 NL80211_ATTR_DTIM_PERIOD = 0xd 4541 NL80211_ATTR_DURATION = 0x57 4542 NL80211_ATTR_EHT_CAPABILITY = 0x136 4543 NL80211_ATTR_EML_CAPABILITY = 0x13d 4544 NL80211_ATTR_EXT_CAPA = 0xa9 4545 NL80211_ATTR_EXT_CAPA_MASK = 0xaa 4546 NL80211_ATTR_EXTERNAL_AUTH_ACTION = 0x104 4547 NL80211_ATTR_EXTERNAL_AUTH_SUPPORT = 0x105 4548 NL80211_ATTR_EXT_FEATURES = 0xd9 4549 NL80211_ATTR_FEATURE_FLAGS = 0x8f 4550 NL80211_ATTR_FILS_CACHE_ID = 0xfd 4551 NL80211_ATTR_FILS_DISCOVERY = 0x126 4552 NL80211_ATTR_FILS_ERP_NEXT_SEQ_NUM = 0xfb 4553 NL80211_ATTR_FILS_ERP_REALM = 0xfa 4554 NL80211_ATTR_FILS_ERP_RRK = 0xfc 4555 NL80211_ATTR_FILS_ERP_USERNAME = 0xf9 4556 NL80211_ATTR_FILS_KEK = 0xf2 4557 NL80211_ATTR_FILS_NONCES = 0xf3 4558 NL80211_ATTR_FRAME = 0x33 4559 NL80211_ATTR_FRAME_MATCH = 0x5b 4560 NL80211_ATTR_FRAME_TYPE = 0x65 4561 NL80211_ATTR_FREQ_AFTER = 0x3b 4562 NL80211_ATTR_FREQ_BEFORE = 0x3a 4563 NL80211_ATTR_FREQ_FIXED = 0x3c 4564 NL80211_ATTR_FREQ_RANGE_END = 0x3 4565 NL80211_ATTR_FREQ_RANGE_MAX_BW = 0x4 4566 NL80211_ATTR_FREQ_RANGE_START = 0x2 4567 NL80211_ATTR_FTM_RESPONDER = 0x10e 4568 NL80211_ATTR_FTM_RESPONDER_STATS = 0x10f 4569 NL80211_ATTR_GENERATION = 0x2e 4570 NL80211_ATTR_HANDLE_DFS = 0xbf 4571 NL80211_ATTR_HE_6GHZ_CAPABILITY = 0x125 4572 NL80211_ATTR_HE_BSS_COLOR = 0x11b 4573 NL80211_ATTR_HE_CAPABILITY = 0x10d 4574 NL80211_ATTR_HE_OBSS_PD = 0x117 4575 NL80211_ATTR_HIDDEN_SSID = 0x7e 4576 NL80211_ATTR_HT_CAPABILITY = 0x1f 4577 NL80211_ATTR_HT_CAPABILITY_MASK = 0x94 4578 NL80211_ATTR_IE_ASSOC_RESP = 0x80 4579 NL80211_ATTR_IE = 0x2a 4580 NL80211_ATTR_IE_PROBE_RESP = 0x7f 4581 NL80211_ATTR_IE_RIC = 0xb2 4582 NL80211_ATTR_IFACE_SOCKET_OWNER = 0xcc 4583 NL80211_ATTR_IFINDEX = 0x3 4584 NL80211_ATTR_IFNAME = 0x4 4585 NL80211_ATTR_IFTYPE_AKM_SUITES = 0x11c 4586 NL80211_ATTR_IFTYPE = 0x5 4587 NL80211_ATTR_IFTYPE_EXT_CAPA = 0xe6 4588 NL80211_ATTR_INACTIVITY_TIMEOUT = 0x96 4589 NL80211_ATTR_INTERFACE_COMBINATIONS = 0x78 4590 NL80211_ATTR_KEY_CIPHER = 0x9 4591 NL80211_ATTR_KEY = 0x50 4592 NL80211_ATTR_KEY_DATA = 0x7 4593 NL80211_ATTR_KEY_DEFAULT = 0xb 4594 NL80211_ATTR_KEY_DEFAULT_MGMT = 0x28 4595 NL80211_ATTR_KEY_DEFAULT_TYPES = 0x6e 4596 NL80211_ATTR_KEY_IDX = 0x8 4597 NL80211_ATTR_KEYS = 0x51 4598 NL80211_ATTR_KEY_SEQ = 0xa 4599 NL80211_ATTR_KEY_TYPE = 0x37 4600 NL80211_ATTR_LOCAL_MESH_POWER_MODE = 0xa4 4601 NL80211_ATTR_LOCAL_STATE_CHANGE = 0x5f 4602 NL80211_ATTR_MAC_ACL_MAX = 0xa7 4603 NL80211_ATTR_MAC_ADDRS = 0xa6 4604 NL80211_ATTR_MAC = 0x6 4605 NL80211_ATTR_MAC_HINT = 0xc8 4606 NL80211_ATTR_MAC_MASK = 0xd7 4607 NL80211_ATTR_MAX_AP_ASSOC_STA = 0xca 4608 NL80211_ATTR_MAX = 0x14a 4609 NL80211_ATTR_MAX_CRIT_PROT_DURATION = 0xb4 4610 NL80211_ATTR_MAX_CSA_COUNTERS = 0xce 4611 NL80211_ATTR_MAX_MATCH_SETS = 0x85 4612 NL80211_ATTR_MAX_NUM_AKM_SUITES = 0x13c 4613 NL80211_ATTR_MAX_NUM_PMKIDS = 0x56 4614 NL80211_ATTR_MAX_NUM_SCAN_SSIDS = 0x2b 4615 NL80211_ATTR_MAX_NUM_SCHED_SCAN_PLANS = 0xde 4616 NL80211_ATTR_MAX_NUM_SCHED_SCAN_SSIDS = 0x7b 4617 NL80211_ATTR_MAX_REMAIN_ON_CHANNEL_DURATION = 0x6f 4618 NL80211_ATTR_MAX_SCAN_IE_LEN = 0x38 4619 NL80211_ATTR_MAX_SCAN_PLAN_INTERVAL = 0xdf 4620 NL80211_ATTR_MAX_SCAN_PLAN_ITERATIONS = 0xe0 4621 NL80211_ATTR_MAX_SCHED_SCAN_IE_LEN = 0x7c 4622 NL80211_ATTR_MBSSID_CONFIG = 0x132 4623 NL80211_ATTR_MBSSID_ELEMS = 0x133 4624 NL80211_ATTR_MCAST_RATE = 0x6b 4625 NL80211_ATTR_MDID = 0xb1 4626 NL80211_ATTR_MEASUREMENT_DURATION = 0xeb 4627 NL80211_ATTR_MEASUREMENT_DURATION_MANDATORY = 0xec 4628 NL80211_ATTR_MESH_CONFIG = 0x23 4629 NL80211_ATTR_MESH_ID = 0x18 4630 NL80211_ATTR_MESH_PEER_AID = 0xed 4631 NL80211_ATTR_MESH_SETUP = 0x70 4632 NL80211_ATTR_MGMT_SUBTYPE = 0x29 4633 NL80211_ATTR_MLD_ADDR = 0x13a 4634 NL80211_ATTR_MLD_CAPA_AND_OPS = 0x13e 4635 NL80211_ATTR_MLO_LINK_ID = 0x139 4636 NL80211_ATTR_MLO_LINKS = 0x138 4637 NL80211_ATTR_MLO_SUPPORT = 0x13b 4638 NL80211_ATTR_MNTR_FLAGS = 0x17 4639 NL80211_ATTR_MPATH_INFO = 0x1b 4640 NL80211_ATTR_MPATH_NEXT_HOP = 0x1a 4641 NL80211_ATTR_MULTICAST_TO_UNICAST_ENABLED = 0xf4 4642 NL80211_ATTR_MU_MIMO_FOLLOW_MAC_ADDR = 0xe8 4643 NL80211_ATTR_MU_MIMO_GROUP_DATA = 0xe7 4644 NL80211_ATTR_NAN_FUNC = 0xf0 4645 NL80211_ATTR_NAN_MASTER_PREF = 0xee 4646 NL80211_ATTR_NAN_MATCH = 0xf1 4647 NL80211_ATTR_NETNS_FD = 0xdb 4648 NL80211_ATTR_NOACK_MAP = 0x95 4649 NL80211_ATTR_NSS = 0x106 4650 NL80211_ATTR_OBSS_COLOR_BITMAP = 0x12e 4651 NL80211_ATTR_OFFCHANNEL_TX_OK = 0x6c 4652 NL80211_ATTR_OPER_CLASS = 0xd6 4653 NL80211_ATTR_OPMODE_NOTIF = 0xc2 4654 NL80211_ATTR_P2P_CTWINDOW = 0xa2 4655 NL80211_ATTR_P2P_OPPPS = 0xa3 4656 NL80211_ATTR_PAD = 0xe5 4657 NL80211_ATTR_PBSS = 0xe2 4658 NL80211_ATTR_PEER_AID = 0xb5 4659 NL80211_ATTR_PEER_MEASUREMENTS = 0x111 4660 NL80211_ATTR_PID = 0x52 4661 NL80211_ATTR_PMK = 0xfe 4662 NL80211_ATTR_PMKID = 0x55 4663 NL80211_ATTR_PMK_LIFETIME = 0x11f 4664 NL80211_ATTR_PMKR0_NAME = 0x102 4665 NL80211_ATTR_PMK_REAUTH_THRESHOLD = 0x120 4666 NL80211_ATTR_PMKSA_CANDIDATE = 0x86 4667 NL80211_ATTR_PORT_AUTHORIZED = 0x103 4668 NL80211_ATTR_POWER_RULE_MAX_ANT_GAIN = 0x5 4669 NL80211_ATTR_POWER_RULE_MAX_EIRP = 0x6 4670 NL80211_ATTR_PREV_BSSID = 0x4f 4671 NL80211_ATTR_PRIVACY = 0x46 4672 NL80211_ATTR_PROBE_RESP = 0x91 4673 NL80211_ATTR_PROBE_RESP_OFFLOAD = 0x90 4674 NL80211_ATTR_PROTOCOL_FEATURES = 0xad 4675 NL80211_ATTR_PS_STATE = 0x5d 4676 NL80211_ATTR_QOS_MAP = 0xc7 4677 NL80211_ATTR_RADAR_BACKGROUND = 0x134 4678 NL80211_ATTR_RADAR_EVENT = 0xa8 4679 NL80211_ATTR_REASON_CODE = 0x36 4680 NL80211_ATTR_RECEIVE_MULTICAST = 0x121 4681 NL80211_ATTR_RECONNECT_REQUESTED = 0x12b 4682 NL80211_ATTR_REG_ALPHA2 = 0x21 4683 NL80211_ATTR_REG_INDOOR = 0xdd 4684 NL80211_ATTR_REG_INITIATOR = 0x30 4685 NL80211_ATTR_REG_RULE_FLAGS = 0x1 4686 NL80211_ATTR_REG_RULES = 0x22 4687 NL80211_ATTR_REG_TYPE = 0x31 4688 NL80211_ATTR_REKEY_DATA = 0x7a 4689 NL80211_ATTR_REQ_IE = 0x4d 4690 NL80211_ATTR_RESP_IE = 0x4e 4691 NL80211_ATTR_ROAM_SUPPORT = 0x83 4692 NL80211_ATTR_RX_FRAME_TYPES = 0x64 4693 NL80211_ATTR_RX_HW_TIMESTAMP = 0x140 4694 NL80211_ATTR_RXMGMT_FLAGS = 0xbc 4695 NL80211_ATTR_RX_SIGNAL_DBM = 0x97 4696 NL80211_ATTR_S1G_CAPABILITY = 0x128 4697 NL80211_ATTR_S1G_CAPABILITY_MASK = 0x129 4698 NL80211_ATTR_SAE_DATA = 0x9c 4699 NL80211_ATTR_SAE_PASSWORD = 0x115 4700 NL80211_ATTR_SAE_PWE = 0x12a 4701 NL80211_ATTR_SAR_SPEC = 0x12c 4702 NL80211_ATTR_SCAN_FLAGS = 0x9e 4703 NL80211_ATTR_SCAN_FREQ_KHZ = 0x124 4704 NL80211_ATTR_SCAN_FREQUENCIES = 0x2c 4705 NL80211_ATTR_SCAN_GENERATION = 0x2e 4706 NL80211_ATTR_SCAN_SSIDS = 0x2d 4707 NL80211_ATTR_SCAN_START_TIME_TSF_BSSID = 0xea 4708 NL80211_ATTR_SCAN_START_TIME_TSF = 0xe9 4709 NL80211_ATTR_SCAN_SUPP_RATES = 0x7d 4710 NL80211_ATTR_SCHED_SCAN_DELAY = 0xdc 4711 NL80211_ATTR_SCHED_SCAN_INTERVAL = 0x77 4712 NL80211_ATTR_SCHED_SCAN_MATCH = 0x84 4713 NL80211_ATTR_SCHED_SCAN_MATCH_SSID = 0x1 4714 NL80211_ATTR_SCHED_SCAN_MAX_REQS = 0x100 4715 NL80211_ATTR_SCHED_SCAN_MULTI = 0xff 4716 NL80211_ATTR_SCHED_SCAN_PLANS = 0xe1 4717 NL80211_ATTR_SCHED_SCAN_RELATIVE_RSSI = 0xf6 4718 NL80211_ATTR_SCHED_SCAN_RSSI_ADJUST = 0xf7 4719 NL80211_ATTR_SMPS_MODE = 0xd5 4720 NL80211_ATTR_SOCKET_OWNER = 0xcc 4721 NL80211_ATTR_SOFTWARE_IFTYPES = 0x79 4722 NL80211_ATTR_SPLIT_WIPHY_DUMP = 0xae 4723 NL80211_ATTR_SSID = 0x34 4724 NL80211_ATTR_STA_AID = 0x10 4725 NL80211_ATTR_STA_CAPABILITY = 0xab 4726 NL80211_ATTR_STA_EXT_CAPABILITY = 0xac 4727 NL80211_ATTR_STA_FLAGS2 = 0x43 4728 NL80211_ATTR_STA_FLAGS = 0x11 4729 NL80211_ATTR_STA_INFO = 0x15 4730 NL80211_ATTR_STA_LISTEN_INTERVAL = 0x12 4731 NL80211_ATTR_STA_PLINK_ACTION = 0x19 4732 NL80211_ATTR_STA_PLINK_STATE = 0x74 4733 NL80211_ATTR_STA_SUPPORTED_CHANNELS = 0xbd 4734 NL80211_ATTR_STA_SUPPORTED_OPER_CLASSES = 0xbe 4735 NL80211_ATTR_STA_SUPPORTED_RATES = 0x13 4736 NL80211_ATTR_STA_SUPPORT_P2P_PS = 0xe4 4737 NL80211_ATTR_STATUS_CODE = 0x48 4738 NL80211_ATTR_STA_TX_POWER = 0x114 4739 NL80211_ATTR_STA_TX_POWER_SETTING = 0x113 4740 NL80211_ATTR_STA_VLAN = 0x14 4741 NL80211_ATTR_STA_WME = 0x81 4742 NL80211_ATTR_SUPPORT_10_MHZ = 0xc1 4743 NL80211_ATTR_SUPPORT_5_MHZ = 0xc0 4744 NL80211_ATTR_SUPPORT_AP_UAPSD = 0x82 4745 NL80211_ATTR_SUPPORTED_COMMANDS = 0x32 4746 NL80211_ATTR_SUPPORTED_IFTYPES = 0x20 4747 NL80211_ATTR_SUPPORT_IBSS_RSN = 0x68 4748 NL80211_ATTR_SUPPORT_MESH_AUTH = 0x73 4749 NL80211_ATTR_SURVEY_INFO = 0x54 4750 NL80211_ATTR_SURVEY_RADIO_STATS = 0xda 4751 NL80211_ATTR_TD_BITMAP = 0x141 4752 NL80211_ATTR_TDLS_ACTION = 0x88 4753 NL80211_ATTR_TDLS_DIALOG_TOKEN = 0x89 4754 NL80211_ATTR_TDLS_EXTERNAL_SETUP = 0x8c 4755 NL80211_ATTR_TDLS_INITIATOR = 0xcf 4756 NL80211_ATTR_TDLS_OPERATION = 0x8a 4757 NL80211_ATTR_TDLS_PEER_CAPABILITY = 0xcb 4758 NL80211_ATTR_TDLS_SUPPORT = 0x8b 4759 NL80211_ATTR_TESTDATA = 0x45 4760 NL80211_ATTR_TID_CONFIG = 0x11d 4761 NL80211_ATTR_TIMED_OUT = 0x41 4762 NL80211_ATTR_TIMEOUT = 0x110 4763 NL80211_ATTR_TIMEOUT_REASON = 0xf8 4764 NL80211_ATTR_TSID = 0xd2 4765 NL80211_ATTR_TWT_RESPONDER = 0x116 4766 NL80211_ATTR_TX_FRAME_TYPES = 0x63 4767 NL80211_ATTR_TX_HW_TIMESTAMP = 0x13f 4768 NL80211_ATTR_TX_NO_CCK_RATE = 0x87 4769 NL80211_ATTR_TXQ_LIMIT = 0x10a 4770 NL80211_ATTR_TXQ_MEMORY_LIMIT = 0x10b 4771 NL80211_ATTR_TXQ_QUANTUM = 0x10c 4772 NL80211_ATTR_TXQ_STATS = 0x109 4773 NL80211_ATTR_TX_RATES = 0x5a 4774 NL80211_ATTR_UNSOL_BCAST_PROBE_RESP = 0x127 4775 NL80211_ATTR_UNSPEC = 0x0 4776 NL80211_ATTR_USE_MFP = 0x42 4777 NL80211_ATTR_USER_PRIO = 0xd3 4778 NL80211_ATTR_USER_REG_HINT_TYPE = 0x9a 4779 NL80211_ATTR_USE_RRM = 0xd0 4780 NL80211_ATTR_VENDOR_DATA = 0xc5 4781 NL80211_ATTR_VENDOR_EVENTS = 0xc6 4782 NL80211_ATTR_VENDOR_ID = 0xc3 4783 NL80211_ATTR_VENDOR_SUBCMD = 0xc4 4784 NL80211_ATTR_VHT_CAPABILITY = 0x9d 4785 NL80211_ATTR_VHT_CAPABILITY_MASK = 0xb0 4786 NL80211_ATTR_VLAN_ID = 0x11a 4787 NL80211_ATTR_WANT_1X_4WAY_HS = 0x101 4788 NL80211_ATTR_WDEV = 0x99 4789 NL80211_ATTR_WIPHY_ANTENNA_AVAIL_RX = 0x72 4790 NL80211_ATTR_WIPHY_ANTENNA_AVAIL_TX = 0x71 4791 NL80211_ATTR_WIPHY_ANTENNA_RX = 0x6a 4792 NL80211_ATTR_WIPHY_ANTENNA_TX = 0x69 4793 NL80211_ATTR_WIPHY_BANDS = 0x16 4794 NL80211_ATTR_WIPHY_CHANNEL_TYPE = 0x27 4795 NL80211_ATTR_WIPHY = 0x1 4796 NL80211_ATTR_WIPHY_COVERAGE_CLASS = 0x59 4797 NL80211_ATTR_WIPHY_DYN_ACK = 0xd1 4798 NL80211_ATTR_WIPHY_EDMG_BW_CONFIG = 0x119 4799 NL80211_ATTR_WIPHY_EDMG_CHANNELS = 0x118 4800 NL80211_ATTR_WIPHY_FRAG_THRESHOLD = 0x3f 4801 NL80211_ATTR_WIPHY_FREQ = 0x26 4802 NL80211_ATTR_WIPHY_FREQ_HINT = 0xc9 4803 NL80211_ATTR_WIPHY_FREQ_OFFSET = 0x122 4804 NL80211_ATTR_WIPHY_NAME = 0x2 4805 NL80211_ATTR_WIPHY_RETRY_LONG = 0x3e 4806 NL80211_ATTR_WIPHY_RETRY_SHORT = 0x3d 4807 NL80211_ATTR_WIPHY_RTS_THRESHOLD = 0x40 4808 NL80211_ATTR_WIPHY_SELF_MANAGED_REG = 0xd8 4809 NL80211_ATTR_WIPHY_TX_POWER_LEVEL = 0x62 4810 NL80211_ATTR_WIPHY_TX_POWER_SETTING = 0x61 4811 NL80211_ATTR_WIPHY_TXQ_PARAMS = 0x25 4812 NL80211_ATTR_WOWLAN_TRIGGERS = 0x75 4813 NL80211_ATTR_WOWLAN_TRIGGERS_SUPPORTED = 0x76 4814 NL80211_ATTR_WPA_VERSIONS = 0x4b 4815 NL80211_AUTHTYPE_AUTOMATIC = 0x8 4816 NL80211_AUTHTYPE_FILS_PK = 0x7 4817 NL80211_AUTHTYPE_FILS_SK = 0x5 4818 NL80211_AUTHTYPE_FILS_SK_PFS = 0x6 4819 NL80211_AUTHTYPE_FT = 0x2 4820 NL80211_AUTHTYPE_MAX = 0x7 4821 NL80211_AUTHTYPE_NETWORK_EAP = 0x3 4822 NL80211_AUTHTYPE_OPEN_SYSTEM = 0x0 4823 NL80211_AUTHTYPE_SAE = 0x4 4824 NL80211_AUTHTYPE_SHARED_KEY = 0x1 4825 NL80211_BAND_2GHZ = 0x0 4826 NL80211_BAND_5GHZ = 0x1 4827 NL80211_BAND_60GHZ = 0x2 4828 NL80211_BAND_6GHZ = 0x3 4829 NL80211_BAND_ATTR_EDMG_BW_CONFIG = 0xb 4830 NL80211_BAND_ATTR_EDMG_CHANNELS = 0xa 4831 NL80211_BAND_ATTR_FREQS = 0x1 4832 NL80211_BAND_ATTR_HT_AMPDU_DENSITY = 0x6 4833 NL80211_BAND_ATTR_HT_AMPDU_FACTOR = 0x5 4834 NL80211_BAND_ATTR_HT_CAPA = 0x4 4835 NL80211_BAND_ATTR_HT_MCS_SET = 0x3 4836 NL80211_BAND_ATTR_IFTYPE_DATA = 0x9 4837 NL80211_BAND_ATTR_MAX = 0xd 4838 NL80211_BAND_ATTR_RATES = 0x2 4839 NL80211_BAND_ATTR_VHT_CAPA = 0x8 4840 NL80211_BAND_ATTR_VHT_MCS_SET = 0x7 4841 NL80211_BAND_IFTYPE_ATTR_EHT_CAP_MAC = 0x8 4842 NL80211_BAND_IFTYPE_ATTR_EHT_CAP_MCS_SET = 0xa 4843 NL80211_BAND_IFTYPE_ATTR_EHT_CAP_PHY = 0x9 4844 NL80211_BAND_IFTYPE_ATTR_EHT_CAP_PPE = 0xb 4845 NL80211_BAND_IFTYPE_ATTR_HE_6GHZ_CAPA = 0x6 4846 NL80211_BAND_IFTYPE_ATTR_HE_CAP_MAC = 0x2 4847 NL80211_BAND_IFTYPE_ATTR_HE_CAP_MCS_SET = 0x4 4848 NL80211_BAND_IFTYPE_ATTR_HE_CAP_PHY = 0x3 4849 NL80211_BAND_IFTYPE_ATTR_HE_CAP_PPE = 0x5 4850 NL80211_BAND_IFTYPE_ATTR_IFTYPES = 0x1 4851 NL80211_BAND_IFTYPE_ATTR_MAX = 0xb 4852 NL80211_BAND_IFTYPE_ATTR_VENDOR_ELEMS = 0x7 4853 NL80211_BAND_LC = 0x5 4854 NL80211_BAND_S1GHZ = 0x4 4855 NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE = 0x2 4856 NL80211_BITRATE_ATTR_MAX = 0x2 4857 NL80211_BITRATE_ATTR_RATE = 0x1 4858 NL80211_BSS_BEACON_IES = 0xb 4859 NL80211_BSS_BEACON_INTERVAL = 0x4 4860 NL80211_BSS_BEACON_TSF = 0xd 4861 NL80211_BSS_BSSID = 0x1 4862 NL80211_BSS_CAPABILITY = 0x5 4863 NL80211_BSS_CHAIN_SIGNAL = 0x13 4864 NL80211_BSS_CHAN_WIDTH_10 = 0x1 4865 NL80211_BSS_CHAN_WIDTH_1 = 0x3 4866 NL80211_BSS_CHAN_WIDTH_20 = 0x0 4867 NL80211_BSS_CHAN_WIDTH_2 = 0x4 4868 NL80211_BSS_CHAN_WIDTH_5 = 0x2 4869 NL80211_BSS_CHAN_WIDTH = 0xc 4870 NL80211_BSS_FREQUENCY = 0x2 4871 NL80211_BSS_FREQUENCY_OFFSET = 0x14 4872 NL80211_BSS_INFORMATION_ELEMENTS = 0x6 4873 NL80211_BSS_LAST_SEEN_BOOTTIME = 0xf 4874 NL80211_BSS_MAX = 0x18 4875 NL80211_BSS_MLD_ADDR = 0x16 4876 NL80211_BSS_MLO_LINK_ID = 0x15 4877 NL80211_BSS_PAD = 0x10 4878 NL80211_BSS_PARENT_BSSID = 0x12 4879 NL80211_BSS_PARENT_TSF = 0x11 4880 NL80211_BSS_PRESP_DATA = 0xe 4881 NL80211_BSS_SEEN_MS_AGO = 0xa 4882 NL80211_BSS_SELECT_ATTR_BAND_PREF = 0x2 4883 NL80211_BSS_SELECT_ATTR_MAX = 0x3 4884 NL80211_BSS_SELECT_ATTR_RSSI_ADJUST = 0x3 4885 NL80211_BSS_SELECT_ATTR_RSSI = 0x1 4886 NL80211_BSS_SIGNAL_MBM = 0x7 4887 NL80211_BSS_SIGNAL_UNSPEC = 0x8 4888 NL80211_BSS_STATUS_ASSOCIATED = 0x1 4889 NL80211_BSS_STATUS_AUTHENTICATED = 0x0 4890 NL80211_BSS_STATUS = 0x9 4891 NL80211_BSS_STATUS_IBSS_JOINED = 0x2 4892 NL80211_BSS_TSF = 0x3 4893 NL80211_CHAN_HT20 = 0x1 4894 NL80211_CHAN_HT40MINUS = 0x2 4895 NL80211_CHAN_HT40PLUS = 0x3 4896 NL80211_CHAN_NO_HT = 0x0 4897 NL80211_CHAN_WIDTH_10 = 0x7 4898 NL80211_CHAN_WIDTH_160 = 0x5 4899 NL80211_CHAN_WIDTH_16 = 0xc 4900 NL80211_CHAN_WIDTH_1 = 0x8 4901 NL80211_CHAN_WIDTH_20 = 0x1 4902 NL80211_CHAN_WIDTH_20_NOHT = 0x0 4903 NL80211_CHAN_WIDTH_2 = 0x9 4904 NL80211_CHAN_WIDTH_320 = 0xd 4905 NL80211_CHAN_WIDTH_40 = 0x2 4906 NL80211_CHAN_WIDTH_4 = 0xa 4907 NL80211_CHAN_WIDTH_5 = 0x6 4908 NL80211_CHAN_WIDTH_80 = 0x3 4909 NL80211_CHAN_WIDTH_80P80 = 0x4 4910 NL80211_CHAN_WIDTH_8 = 0xb 4911 NL80211_CMD_ABORT_SCAN = 0x72 4912 NL80211_CMD_ACTION = 0x3b 4913 NL80211_CMD_ACTION_TX_STATUS = 0x3c 4914 NL80211_CMD_ADD_LINK = 0x94 4915 NL80211_CMD_ADD_LINK_STA = 0x96 4916 NL80211_CMD_ADD_NAN_FUNCTION = 0x75 4917 NL80211_CMD_ADD_TX_TS = 0x69 4918 NL80211_CMD_ASSOC_COMEBACK = 0x93 4919 NL80211_CMD_ASSOCIATE = 0x26 4920 NL80211_CMD_AUTHENTICATE = 0x25 4921 NL80211_CMD_CANCEL_REMAIN_ON_CHANNEL = 0x38 4922 NL80211_CMD_CHANGE_NAN_CONFIG = 0x77 4923 NL80211_CMD_CHANNEL_SWITCH = 0x66 4924 NL80211_CMD_CH_SWITCH_NOTIFY = 0x58 4925 NL80211_CMD_CH_SWITCH_STARTED_NOTIFY = 0x6e 4926 NL80211_CMD_COLOR_CHANGE_ABORTED = 0x90 4927 NL80211_CMD_COLOR_CHANGE_COMPLETED = 0x91 4928 NL80211_CMD_COLOR_CHANGE_REQUEST = 0x8e 4929 NL80211_CMD_COLOR_CHANGE_STARTED = 0x8f 4930 NL80211_CMD_CONNECT = 0x2e 4931 NL80211_CMD_CONN_FAILED = 0x5b 4932 NL80211_CMD_CONTROL_PORT_FRAME = 0x81 4933 NL80211_CMD_CONTROL_PORT_FRAME_TX_STATUS = 0x8b 4934 NL80211_CMD_CRIT_PROTOCOL_START = 0x62 4935 NL80211_CMD_CRIT_PROTOCOL_STOP = 0x63 4936 NL80211_CMD_DEAUTHENTICATE = 0x27 4937 NL80211_CMD_DEL_BEACON = 0x10 4938 NL80211_CMD_DEL_INTERFACE = 0x8 4939 NL80211_CMD_DEL_KEY = 0xc 4940 NL80211_CMD_DEL_MPATH = 0x18 4941 NL80211_CMD_DEL_NAN_FUNCTION = 0x76 4942 NL80211_CMD_DEL_PMK = 0x7c 4943 NL80211_CMD_DEL_PMKSA = 0x35 4944 NL80211_CMD_DEL_STATION = 0x14 4945 NL80211_CMD_DEL_TX_TS = 0x6a 4946 NL80211_CMD_DEL_WIPHY = 0x4 4947 NL80211_CMD_DISASSOCIATE = 0x28 4948 NL80211_CMD_DISCONNECT = 0x30 4949 NL80211_CMD_EXTERNAL_AUTH = 0x7f 4950 NL80211_CMD_FLUSH_PMKSA = 0x36 4951 NL80211_CMD_FRAME = 0x3b 4952 NL80211_CMD_FRAME_TX_STATUS = 0x3c 4953 NL80211_CMD_FRAME_WAIT_CANCEL = 0x43 4954 NL80211_CMD_FT_EVENT = 0x61 4955 NL80211_CMD_GET_BEACON = 0xd 4956 NL80211_CMD_GET_COALESCE = 0x64 4957 NL80211_CMD_GET_FTM_RESPONDER_STATS = 0x82 4958 NL80211_CMD_GET_INTERFACE = 0x5 4959 NL80211_CMD_GET_KEY = 0x9 4960 NL80211_CMD_GET_MESH_CONFIG = 0x1c 4961 NL80211_CMD_GET_MESH_PARAMS = 0x1c 4962 NL80211_CMD_GET_MPATH = 0x15 4963 NL80211_CMD_GET_MPP = 0x6b 4964 NL80211_CMD_GET_POWER_SAVE = 0x3e 4965 NL80211_CMD_GET_PROTOCOL_FEATURES = 0x5f 4966 NL80211_CMD_GET_REG = 0x1f 4967 NL80211_CMD_GET_SCAN = 0x20 4968 NL80211_CMD_GET_STATION = 0x11 4969 NL80211_CMD_GET_SURVEY = 0x32 4970 NL80211_CMD_GET_WIPHY = 0x1 4971 NL80211_CMD_GET_WOWLAN = 0x49 4972 NL80211_CMD_JOIN_IBSS = 0x2b 4973 NL80211_CMD_JOIN_MESH = 0x44 4974 NL80211_CMD_JOIN_OCB = 0x6c 4975 NL80211_CMD_LEAVE_IBSS = 0x2c 4976 NL80211_CMD_LEAVE_MESH = 0x45 4977 NL80211_CMD_LEAVE_OCB = 0x6d 4978 NL80211_CMD_MAX = 0x9b 4979 NL80211_CMD_MICHAEL_MIC_FAILURE = 0x29 4980 NL80211_CMD_MODIFY_LINK_STA = 0x97 4981 NL80211_CMD_NAN_MATCH = 0x78 4982 NL80211_CMD_NEW_BEACON = 0xf 4983 NL80211_CMD_NEW_INTERFACE = 0x7 4984 NL80211_CMD_NEW_KEY = 0xb 4985 NL80211_CMD_NEW_MPATH = 0x17 4986 NL80211_CMD_NEW_PEER_CANDIDATE = 0x48 4987 NL80211_CMD_NEW_SCAN_RESULTS = 0x22 4988 NL80211_CMD_NEW_STATION = 0x13 4989 NL80211_CMD_NEW_SURVEY_RESULTS = 0x33 4990 NL80211_CMD_NEW_WIPHY = 0x3 4991 NL80211_CMD_NOTIFY_CQM = 0x40 4992 NL80211_CMD_NOTIFY_RADAR = 0x86 4993 NL80211_CMD_OBSS_COLOR_COLLISION = 0x8d 4994 NL80211_CMD_PEER_MEASUREMENT_COMPLETE = 0x85 4995 NL80211_CMD_PEER_MEASUREMENT_RESULT = 0x84 4996 NL80211_CMD_PEER_MEASUREMENT_START = 0x83 4997 NL80211_CMD_PMKSA_CANDIDATE = 0x50 4998 NL80211_CMD_PORT_AUTHORIZED = 0x7d 4999 NL80211_CMD_PROBE_CLIENT = 0x54 5000 NL80211_CMD_PROBE_MESH_LINK = 0x88 5001 NL80211_CMD_RADAR_DETECT = 0x5e 5002 NL80211_CMD_REG_BEACON_HINT = 0x2a 5003 NL80211_CMD_REG_CHANGE = 0x24 5004 NL80211_CMD_REGISTER_ACTION = 0x3a 5005 NL80211_CMD_REGISTER_BEACONS = 0x55 5006 NL80211_CMD_REGISTER_FRAME = 0x3a 5007 NL80211_CMD_RELOAD_REGDB = 0x7e 5008 NL80211_CMD_REMAIN_ON_CHANNEL = 0x37 5009 NL80211_CMD_REMOVE_LINK = 0x95 5010 NL80211_CMD_REMOVE_LINK_STA = 0x98 5011 NL80211_CMD_REQ_SET_REG = 0x1b 5012 NL80211_CMD_ROAM = 0x2f 5013 NL80211_CMD_SCAN_ABORTED = 0x23 5014 NL80211_CMD_SCHED_SCAN_RESULTS = 0x4d 5015 NL80211_CMD_SCHED_SCAN_STOPPED = 0x4e 5016 NL80211_CMD_SET_BEACON = 0xe 5017 NL80211_CMD_SET_BSS = 0x19 5018 NL80211_CMD_SET_CHANNEL = 0x41 5019 NL80211_CMD_SET_COALESCE = 0x65 5020 NL80211_CMD_SET_CQM = 0x3f 5021 NL80211_CMD_SET_FILS_AAD = 0x92 5022 NL80211_CMD_SET_INTERFACE = 0x6 5023 NL80211_CMD_SET_KEY = 0xa 5024 NL80211_CMD_SET_MAC_ACL = 0x5d 5025 NL80211_CMD_SET_MCAST_RATE = 0x5c 5026 NL80211_CMD_SET_MESH_CONFIG = 0x1d 5027 NL80211_CMD_SET_MESH_PARAMS = 0x1d 5028 NL80211_CMD_SET_MGMT_EXTRA_IE = 0x1e 5029 NL80211_CMD_SET_MPATH = 0x16 5030 NL80211_CMD_SET_MULTICAST_TO_UNICAST = 0x79 5031 NL80211_CMD_SET_NOACK_MAP = 0x57 5032 NL80211_CMD_SET_PMK = 0x7b 5033 NL80211_CMD_SET_PMKSA = 0x34 5034 NL80211_CMD_SET_POWER_SAVE = 0x3d 5035 NL80211_CMD_SET_QOS_MAP = 0x68 5036 NL80211_CMD_SET_REG = 0x1a 5037 NL80211_CMD_SET_REKEY_OFFLOAD = 0x4f 5038 NL80211_CMD_SET_SAR_SPECS = 0x8c 5039 NL80211_CMD_SET_STATION = 0x12 5040 NL80211_CMD_SET_TID_CONFIG = 0x89 5041 NL80211_CMD_SET_TX_BITRATE_MASK = 0x39 5042 NL80211_CMD_SET_WDS_PEER = 0x42 5043 NL80211_CMD_SET_WIPHY = 0x2 5044 NL80211_CMD_SET_WIPHY_NETNS = 0x31 5045 NL80211_CMD_SET_WOWLAN = 0x4a 5046 NL80211_CMD_STA_OPMODE_CHANGED = 0x80 5047 NL80211_CMD_START_AP = 0xf 5048 NL80211_CMD_START_NAN = 0x73 5049 NL80211_CMD_START_P2P_DEVICE = 0x59 5050 NL80211_CMD_START_SCHED_SCAN = 0x4b 5051 NL80211_CMD_STOP_AP = 0x10 5052 NL80211_CMD_STOP_NAN = 0x74 5053 NL80211_CMD_STOP_P2P_DEVICE = 0x5a 5054 NL80211_CMD_STOP_SCHED_SCAN = 0x4c 5055 NL80211_CMD_TDLS_CANCEL_CHANNEL_SWITCH = 0x70 5056 NL80211_CMD_TDLS_CHANNEL_SWITCH = 0x6f 5057 NL80211_CMD_TDLS_MGMT = 0x52 5058 NL80211_CMD_TDLS_OPER = 0x51 5059 NL80211_CMD_TESTMODE = 0x2d 5060 NL80211_CMD_TRIGGER_SCAN = 0x21 5061 NL80211_CMD_UNEXPECTED_4ADDR_FRAME = 0x56 5062 NL80211_CMD_UNEXPECTED_FRAME = 0x53 5063 NL80211_CMD_UNPROT_BEACON = 0x8a 5064 NL80211_CMD_UNPROT_DEAUTHENTICATE = 0x46 5065 NL80211_CMD_UNPROT_DISASSOCIATE = 0x47 5066 NL80211_CMD_UNSPEC = 0x0 5067 NL80211_CMD_UPDATE_CONNECT_PARAMS = 0x7a 5068 NL80211_CMD_UPDATE_FT_IES = 0x60 5069 NL80211_CMD_UPDATE_OWE_INFO = 0x87 5070 NL80211_CMD_VENDOR = 0x67 5071 NL80211_CMD_WIPHY_REG_CHANGE = 0x71 5072 NL80211_COALESCE_CONDITION_MATCH = 0x0 5073 NL80211_COALESCE_CONDITION_NO_MATCH = 0x1 5074 NL80211_CONN_FAIL_BLOCKED_CLIENT = 0x1 5075 NL80211_CONN_FAIL_MAX_CLIENTS = 0x0 5076 NL80211_CQM_RSSI_BEACON_LOSS_EVENT = 0x2 5077 NL80211_CQM_RSSI_THRESHOLD_EVENT_HIGH = 0x1 5078 NL80211_CQM_RSSI_THRESHOLD_EVENT_LOW = 0x0 5079 NL80211_CQM_TXE_MAX_INTVL = 0x708 5080 NL80211_CRIT_PROTO_APIPA = 0x3 5081 NL80211_CRIT_PROTO_DHCP = 0x1 5082 NL80211_CRIT_PROTO_EAPOL = 0x2 5083 NL80211_CRIT_PROTO_MAX_DURATION = 0x1388 5084 NL80211_CRIT_PROTO_UNSPEC = 0x0 5085 NL80211_DFS_AVAILABLE = 0x2 5086 NL80211_DFS_ETSI = 0x2 5087 NL80211_DFS_FCC = 0x1 5088 NL80211_DFS_JP = 0x3 5089 NL80211_DFS_UNAVAILABLE = 0x1 5090 NL80211_DFS_UNSET = 0x0 5091 NL80211_DFS_USABLE = 0x0 5092 NL80211_EDMG_BW_CONFIG_MAX = 0xf 5093 NL80211_EDMG_BW_CONFIG_MIN = 0x4 5094 NL80211_EDMG_CHANNELS_MAX = 0x3c 5095 NL80211_EDMG_CHANNELS_MIN = 0x1 5096 NL80211_EHT_MAX_CAPABILITY_LEN = 0x33 5097 NL80211_EHT_MIN_CAPABILITY_LEN = 0xd 5098 NL80211_EXTERNAL_AUTH_ABORT = 0x1 5099 NL80211_EXTERNAL_AUTH_START = 0x0 5100 NL80211_EXT_FEATURE_4WAY_HANDSHAKE_AP_PSK = 0x32 5101 NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_1X = 0x10 5102 NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_PSK = 0xf 5103 NL80211_EXT_FEATURE_ACCEPT_BCAST_PROBE_RESP = 0x12 5104 NL80211_EXT_FEATURE_ACK_SIGNAL_SUPPORT = 0x1b 5105 NL80211_EXT_FEATURE_AIRTIME_FAIRNESS = 0x21 5106 NL80211_EXT_FEATURE_AP_PMKSA_CACHING = 0x22 5107 NL80211_EXT_FEATURE_AQL = 0x28 5108 NL80211_EXT_FEATURE_BEACON_PROTECTION_CLIENT = 0x2e 5109 NL80211_EXT_FEATURE_BEACON_PROTECTION = 0x29 5110 NL80211_EXT_FEATURE_BEACON_RATE_HE = 0x36 5111 NL80211_EXT_FEATURE_BEACON_RATE_HT = 0x7 5112 NL80211_EXT_FEATURE_BEACON_RATE_LEGACY = 0x6 5113 NL80211_EXT_FEATURE_BEACON_RATE_VHT = 0x8 5114 NL80211_EXT_FEATURE_BSS_COLOR = 0x3a 5115 NL80211_EXT_FEATURE_BSS_PARENT_TSF = 0x4 5116 NL80211_EXT_FEATURE_CAN_REPLACE_PTK0 = 0x1f 5117 NL80211_EXT_FEATURE_CONTROL_PORT_NO_PREAUTH = 0x2a 5118 NL80211_EXT_FEATURE_CONTROL_PORT_OVER_NL80211 = 0x1a 5119 NL80211_EXT_FEATURE_CONTROL_PORT_OVER_NL80211_TX_STATUS = 0x30 5120 NL80211_EXT_FEATURE_CQM_RSSI_LIST = 0xd 5121 NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT = 0x1b 5122 NL80211_EXT_FEATURE_DEL_IBSS_STA = 0x2c 5123 NL80211_EXT_FEATURE_DFS_OFFLOAD = 0x19 5124 NL80211_EXT_FEATURE_ENABLE_FTM_RESPONDER = 0x20 5125 NL80211_EXT_FEATURE_EXT_KEY_ID = 0x24 5126 NL80211_EXT_FEATURE_FILS_CRYPTO_OFFLOAD = 0x3b 5127 NL80211_EXT_FEATURE_FILS_DISCOVERY = 0x34 5128 NL80211_EXT_FEATURE_FILS_MAX_CHANNEL_TIME = 0x11 5129 NL80211_EXT_FEATURE_FILS_SK_OFFLOAD = 0xe 5130 NL80211_EXT_FEATURE_FILS_STA = 0x9 5131 NL80211_EXT_FEATURE_HIGH_ACCURACY_SCAN = 0x18 5132 NL80211_EXT_FEATURE_LOW_POWER_SCAN = 0x17 5133 NL80211_EXT_FEATURE_LOW_SPAN_SCAN = 0x16 5134 NL80211_EXT_FEATURE_MFP_OPTIONAL = 0x15 5135 NL80211_EXT_FEATURE_MGMT_TX_RANDOM_TA = 0xa 5136 NL80211_EXT_FEATURE_MGMT_TX_RANDOM_TA_CONNECTED = 0xb 5137 NL80211_EXT_FEATURE_MULTICAST_REGISTRATIONS = 0x2d 5138 NL80211_EXT_FEATURE_MU_MIMO_AIR_SNIFFER = 0x2 5139 NL80211_EXT_FEATURE_OCE_PROBE_REQ_DEFERRAL_SUPPRESSION = 0x14 5140 NL80211_EXT_FEATURE_OCE_PROBE_REQ_HIGH_TX_RATE = 0x13 5141 NL80211_EXT_FEATURE_OPERATING_CHANNEL_VALIDATION = 0x31 5142 NL80211_EXT_FEATURE_POWERED_ADDR_CHANGE = 0x3d 5143 NL80211_EXT_FEATURE_PROTECTED_TWT = 0x2b 5144 NL80211_EXT_FEATURE_PROT_RANGE_NEGO_AND_MEASURE = 0x39 5145 NL80211_EXT_FEATURE_RADAR_BACKGROUND = 0x3c 5146 NL80211_EXT_FEATURE_RRM = 0x1 5147 NL80211_EXT_FEATURE_SAE_OFFLOAD_AP = 0x33 5148 NL80211_EXT_FEATURE_SAE_OFFLOAD = 0x26 5149 NL80211_EXT_FEATURE_SCAN_FREQ_KHZ = 0x2f 5150 NL80211_EXT_FEATURE_SCAN_MIN_PREQ_CONTENT = 0x1e 5151 NL80211_EXT_FEATURE_SCAN_RANDOM_SN = 0x1d 5152 NL80211_EXT_FEATURE_SCAN_START_TIME = 0x3 5153 NL80211_EXT_FEATURE_SCHED_SCAN_BAND_SPECIFIC_RSSI_THOLD = 0x23 5154 NL80211_EXT_FEATURE_SCHED_SCAN_RELATIVE_RSSI = 0xc 5155 NL80211_EXT_FEATURE_SECURE_LTF = 0x37 5156 NL80211_EXT_FEATURE_SECURE_RTT = 0x38 5157 NL80211_EXT_FEATURE_SET_SCAN_DWELL = 0x5 5158 NL80211_EXT_FEATURE_STA_TX_PWR = 0x25 5159 NL80211_EXT_FEATURE_TXQS = 0x1c 5160 NL80211_EXT_FEATURE_UNSOL_BCAST_PROBE_RESP = 0x35 5161 NL80211_EXT_FEATURE_VHT_IBSS = 0x0 5162 NL80211_EXT_FEATURE_VLAN_OFFLOAD = 0x27 5163 NL80211_FEATURE_ACKTO_ESTIMATION = 0x800000 5164 NL80211_FEATURE_ACTIVE_MONITOR = 0x20000 5165 NL80211_FEATURE_ADVERTISE_CHAN_LIMITS = 0x4000 5166 NL80211_FEATURE_AP_MODE_CHAN_WIDTH_CHANGE = 0x40000 5167 NL80211_FEATURE_AP_SCAN = 0x100 5168 NL80211_FEATURE_CELL_BASE_REG_HINTS = 0x8 5169 NL80211_FEATURE_DS_PARAM_SET_IE_IN_PROBES = 0x80000 5170 NL80211_FEATURE_DYNAMIC_SMPS = 0x2000000 5171 NL80211_FEATURE_FULL_AP_CLIENT_STATE = 0x8000 5172 NL80211_FEATURE_HT_IBSS = 0x2 5173 NL80211_FEATURE_INACTIVITY_TIMER = 0x4 5174 NL80211_FEATURE_LOW_PRIORITY_SCAN = 0x40 5175 NL80211_FEATURE_MAC_ON_CREATE = 0x8000000 5176 NL80211_FEATURE_ND_RANDOM_MAC_ADDR = 0x80000000 5177 NL80211_FEATURE_NEED_OBSS_SCAN = 0x400 5178 NL80211_FEATURE_P2P_DEVICE_NEEDS_CHANNEL = 0x10 5179 NL80211_FEATURE_P2P_GO_CTWIN = 0x800 5180 NL80211_FEATURE_P2P_GO_OPPPS = 0x1000 5181 NL80211_FEATURE_QUIET = 0x200000 5182 NL80211_FEATURE_SAE = 0x20 5183 NL80211_FEATURE_SCAN_FLUSH = 0x80 5184 NL80211_FEATURE_SCAN_RANDOM_MAC_ADDR = 0x20000000 5185 NL80211_FEATURE_SCHED_SCAN_RANDOM_MAC_ADDR = 0x40000000 5186 NL80211_FEATURE_SK_TX_STATUS = 0x1 5187 NL80211_FEATURE_STATIC_SMPS = 0x1000000 5188 NL80211_FEATURE_SUPPORTS_WMM_ADMISSION = 0x4000000 5189 NL80211_FEATURE_TDLS_CHANNEL_SWITCH = 0x10000000 5190 NL80211_FEATURE_TX_POWER_INSERTION = 0x400000 5191 NL80211_FEATURE_USERSPACE_MPM = 0x10000 5192 NL80211_FEATURE_VIF_TXPOWER = 0x200 5193 NL80211_FEATURE_WFA_TPC_IE_IN_PROBES = 0x100000 5194 NL80211_FILS_DISCOVERY_ATTR_INT_MAX = 0x2 5195 NL80211_FILS_DISCOVERY_ATTR_INT_MIN = 0x1 5196 NL80211_FILS_DISCOVERY_ATTR_MAX = 0x3 5197 NL80211_FILS_DISCOVERY_ATTR_TMPL = 0x3 5198 NL80211_FILS_DISCOVERY_TMPL_MIN_LEN = 0x2a 5199 NL80211_FREQUENCY_ATTR_16MHZ = 0x19 5200 NL80211_FREQUENCY_ATTR_1MHZ = 0x15 5201 NL80211_FREQUENCY_ATTR_2MHZ = 0x16 5202 NL80211_FREQUENCY_ATTR_4MHZ = 0x17 5203 NL80211_FREQUENCY_ATTR_8MHZ = 0x18 5204 NL80211_FREQUENCY_ATTR_DFS_CAC_TIME = 0xd 5205 NL80211_FREQUENCY_ATTR_DFS_STATE = 0x7 5206 NL80211_FREQUENCY_ATTR_DFS_TIME = 0x8 5207 NL80211_FREQUENCY_ATTR_DISABLED = 0x2 5208 NL80211_FREQUENCY_ATTR_FREQ = 0x1 5209 NL80211_FREQUENCY_ATTR_GO_CONCURRENT = 0xf 5210 NL80211_FREQUENCY_ATTR_INDOOR_ONLY = 0xe 5211 NL80211_FREQUENCY_ATTR_IR_CONCURRENT = 0xf 5212 NL80211_FREQUENCY_ATTR_MAX = 0x20 5213 NL80211_FREQUENCY_ATTR_MAX_TX_POWER = 0x6 5214 NL80211_FREQUENCY_ATTR_NO_10MHZ = 0x11 5215 NL80211_FREQUENCY_ATTR_NO_160MHZ = 0xc 5216 NL80211_FREQUENCY_ATTR_NO_20MHZ = 0x10 5217 NL80211_FREQUENCY_ATTR_NO_320MHZ = 0x1a 5218 NL80211_FREQUENCY_ATTR_NO_80MHZ = 0xb 5219 NL80211_FREQUENCY_ATTR_NO_EHT = 0x1b 5220 NL80211_FREQUENCY_ATTR_NO_HE = 0x13 5221 NL80211_FREQUENCY_ATTR_NO_HT40_MINUS = 0x9 5222 NL80211_FREQUENCY_ATTR_NO_HT40_PLUS = 0xa 5223 NL80211_FREQUENCY_ATTR_NO_IBSS = 0x3 5224 NL80211_FREQUENCY_ATTR_NO_IR = 0x3 5225 NL80211_FREQUENCY_ATTR_OFFSET = 0x14 5226 NL80211_FREQUENCY_ATTR_PASSIVE_SCAN = 0x3 5227 NL80211_FREQUENCY_ATTR_RADAR = 0x5 5228 NL80211_FREQUENCY_ATTR_WMM = 0x12 5229 NL80211_FTM_RESP_ATTR_CIVICLOC = 0x3 5230 NL80211_FTM_RESP_ATTR_ENABLED = 0x1 5231 NL80211_FTM_RESP_ATTR_LCI = 0x2 5232 NL80211_FTM_RESP_ATTR_MAX = 0x3 5233 NL80211_FTM_STATS_ASAP_NUM = 0x4 5234 NL80211_FTM_STATS_FAILED_NUM = 0x3 5235 NL80211_FTM_STATS_MAX = 0xa 5236 NL80211_FTM_STATS_NON_ASAP_NUM = 0x5 5237 NL80211_FTM_STATS_OUT_OF_WINDOW_TRIGGERS_NUM = 0x9 5238 NL80211_FTM_STATS_PAD = 0xa 5239 NL80211_FTM_STATS_PARTIAL_NUM = 0x2 5240 NL80211_FTM_STATS_RESCHEDULE_REQUESTS_NUM = 0x8 5241 NL80211_FTM_STATS_SUCCESS_NUM = 0x1 5242 NL80211_FTM_STATS_TOTAL_DURATION_MSEC = 0x6 5243 NL80211_FTM_STATS_UNKNOWN_TRIGGERS_NUM = 0x7 5244 NL80211_GENL_NAME = "nl80211" 5245 NL80211_HE_BSS_COLOR_ATTR_COLOR = 0x1 5246 NL80211_HE_BSS_COLOR_ATTR_DISABLED = 0x2 5247 NL80211_HE_BSS_COLOR_ATTR_MAX = 0x3 5248 NL80211_HE_BSS_COLOR_ATTR_PARTIAL = 0x3 5249 NL80211_HE_MAX_CAPABILITY_LEN = 0x36 5250 NL80211_HE_MIN_CAPABILITY_LEN = 0x10 5251 NL80211_HE_NSS_MAX = 0x8 5252 NL80211_HE_OBSS_PD_ATTR_BSS_COLOR_BITMAP = 0x4 5253 NL80211_HE_OBSS_PD_ATTR_MAX = 0x6 5254 NL80211_HE_OBSS_PD_ATTR_MAX_OFFSET = 0x2 5255 NL80211_HE_OBSS_PD_ATTR_MIN_OFFSET = 0x1 5256 NL80211_HE_OBSS_PD_ATTR_NON_SRG_MAX_OFFSET = 0x3 5257 NL80211_HE_OBSS_PD_ATTR_PARTIAL_BSSID_BITMAP = 0x5 5258 NL80211_HE_OBSS_PD_ATTR_SR_CTRL = 0x6 5259 NL80211_HIDDEN_SSID_NOT_IN_USE = 0x0 5260 NL80211_HIDDEN_SSID_ZERO_CONTENTS = 0x2 5261 NL80211_HIDDEN_SSID_ZERO_LEN = 0x1 5262 NL80211_HT_CAPABILITY_LEN = 0x1a 5263 NL80211_IFACE_COMB_BI_MIN_GCD = 0x7 5264 NL80211_IFACE_COMB_LIMITS = 0x1 5265 NL80211_IFACE_COMB_MAXNUM = 0x2 5266 NL80211_IFACE_COMB_NUM_CHANNELS = 0x4 5267 NL80211_IFACE_COMB_RADAR_DETECT_REGIONS = 0x6 5268 NL80211_IFACE_COMB_RADAR_DETECT_WIDTHS = 0x5 5269 NL80211_IFACE_COMB_STA_AP_BI_MATCH = 0x3 5270 NL80211_IFACE_COMB_UNSPEC = 0x0 5271 NL80211_IFACE_LIMIT_MAX = 0x1 5272 NL80211_IFACE_LIMIT_TYPES = 0x2 5273 NL80211_IFACE_LIMIT_UNSPEC = 0x0 5274 NL80211_IFTYPE_ADHOC = 0x1 5275 NL80211_IFTYPE_AKM_ATTR_IFTYPES = 0x1 5276 NL80211_IFTYPE_AKM_ATTR_MAX = 0x2 5277 NL80211_IFTYPE_AKM_ATTR_SUITES = 0x2 5278 NL80211_IFTYPE_AP = 0x3 5279 NL80211_IFTYPE_AP_VLAN = 0x4 5280 NL80211_IFTYPE_MAX = 0xc 5281 NL80211_IFTYPE_MESH_POINT = 0x7 5282 NL80211_IFTYPE_MONITOR = 0x6 5283 NL80211_IFTYPE_NAN = 0xc 5284 NL80211_IFTYPE_OCB = 0xb 5285 NL80211_IFTYPE_P2P_CLIENT = 0x8 5286 NL80211_IFTYPE_P2P_DEVICE = 0xa 5287 NL80211_IFTYPE_P2P_GO = 0x9 5288 NL80211_IFTYPE_STATION = 0x2 5289 NL80211_IFTYPE_UNSPECIFIED = 0x0 5290 NL80211_IFTYPE_WDS = 0x5 5291 NL80211_KCK_EXT_LEN = 0x18 5292 NL80211_KCK_LEN = 0x10 5293 NL80211_KEK_EXT_LEN = 0x20 5294 NL80211_KEK_LEN = 0x10 5295 NL80211_KEY_CIPHER = 0x3 5296 NL80211_KEY_DATA = 0x1 5297 NL80211_KEY_DEFAULT_BEACON = 0xa 5298 NL80211_KEY_DEFAULT = 0x5 5299 NL80211_KEY_DEFAULT_MGMT = 0x6 5300 NL80211_KEY_DEFAULT_TYPE_MULTICAST = 0x2 5301 NL80211_KEY_DEFAULT_TYPES = 0x8 5302 NL80211_KEY_DEFAULT_TYPE_UNICAST = 0x1 5303 NL80211_KEY_IDX = 0x2 5304 NL80211_KEY_MAX = 0xa 5305 NL80211_KEY_MODE = 0x9 5306 NL80211_KEY_NO_TX = 0x1 5307 NL80211_KEY_RX_TX = 0x0 5308 NL80211_KEY_SEQ = 0x4 5309 NL80211_KEY_SET_TX = 0x2 5310 NL80211_KEY_TYPE = 0x7 5311 NL80211_KEYTYPE_GROUP = 0x0 5312 NL80211_KEYTYPE_PAIRWISE = 0x1 5313 NL80211_KEYTYPE_PEERKEY = 0x2 5314 NL80211_MAX_NR_AKM_SUITES = 0x2 5315 NL80211_MAX_NR_CIPHER_SUITES = 0x5 5316 NL80211_MAX_SUPP_HT_RATES = 0x4d 5317 NL80211_MAX_SUPP_RATES = 0x20 5318 NL80211_MAX_SUPP_REG_RULES = 0x80 5319 NL80211_MBSSID_CONFIG_ATTR_EMA = 0x5 5320 NL80211_MBSSID_CONFIG_ATTR_INDEX = 0x3 5321 NL80211_MBSSID_CONFIG_ATTR_MAX = 0x5 5322 NL80211_MBSSID_CONFIG_ATTR_MAX_EMA_PROFILE_PERIODICITY = 0x2 5323 NL80211_MBSSID_CONFIG_ATTR_MAX_INTERFACES = 0x1 5324 NL80211_MBSSID_CONFIG_ATTR_TX_IFINDEX = 0x4 5325 NL80211_MESHCONF_ATTR_MAX = 0x1f 5326 NL80211_MESHCONF_AUTO_OPEN_PLINKS = 0x7 5327 NL80211_MESHCONF_AWAKE_WINDOW = 0x1b 5328 NL80211_MESHCONF_CONFIRM_TIMEOUT = 0x2 5329 NL80211_MESHCONF_CONNECTED_TO_AS = 0x1f 5330 NL80211_MESHCONF_CONNECTED_TO_GATE = 0x1d 5331 NL80211_MESHCONF_ELEMENT_TTL = 0xf 5332 NL80211_MESHCONF_FORWARDING = 0x13 5333 NL80211_MESHCONF_GATE_ANNOUNCEMENTS = 0x11 5334 NL80211_MESHCONF_HOLDING_TIMEOUT = 0x3 5335 NL80211_MESHCONF_HT_OPMODE = 0x16 5336 NL80211_MESHCONF_HWMP_ACTIVE_PATH_TIMEOUT = 0xb 5337 NL80211_MESHCONF_HWMP_CONFIRMATION_INTERVAL = 0x19 5338 NL80211_MESHCONF_HWMP_MAX_PREQ_RETRIES = 0x8 5339 NL80211_MESHCONF_HWMP_NET_DIAM_TRVS_TIME = 0xd 5340 NL80211_MESHCONF_HWMP_PATH_TO_ROOT_TIMEOUT = 0x17 5341 NL80211_MESHCONF_HWMP_PERR_MIN_INTERVAL = 0x12 5342 NL80211_MESHCONF_HWMP_PREQ_MIN_INTERVAL = 0xc 5343 NL80211_MESHCONF_HWMP_RANN_INTERVAL = 0x10 5344 NL80211_MESHCONF_HWMP_ROOT_INTERVAL = 0x18 5345 NL80211_MESHCONF_HWMP_ROOTMODE = 0xe 5346 NL80211_MESHCONF_MAX_PEER_LINKS = 0x4 5347 NL80211_MESHCONF_MAX_RETRIES = 0x5 5348 NL80211_MESHCONF_MIN_DISCOVERY_TIMEOUT = 0xa 5349 NL80211_MESHCONF_NOLEARN = 0x1e 5350 NL80211_MESHCONF_PATH_REFRESH_TIME = 0x9 5351 NL80211_MESHCONF_PLINK_TIMEOUT = 0x1c 5352 NL80211_MESHCONF_POWER_MODE = 0x1a 5353 NL80211_MESHCONF_RETRY_TIMEOUT = 0x1 5354 NL80211_MESHCONF_RSSI_THRESHOLD = 0x14 5355 NL80211_MESHCONF_SYNC_OFFSET_MAX_NEIGHBOR = 0x15 5356 NL80211_MESHCONF_TTL = 0x6 5357 NL80211_MESH_POWER_ACTIVE = 0x1 5358 NL80211_MESH_POWER_DEEP_SLEEP = 0x3 5359 NL80211_MESH_POWER_LIGHT_SLEEP = 0x2 5360 NL80211_MESH_POWER_MAX = 0x3 5361 NL80211_MESH_POWER_UNKNOWN = 0x0 5362 NL80211_MESH_SETUP_ATTR_MAX = 0x8 5363 NL80211_MESH_SETUP_AUTH_PROTOCOL = 0x8 5364 NL80211_MESH_SETUP_ENABLE_VENDOR_METRIC = 0x2 5365 NL80211_MESH_SETUP_ENABLE_VENDOR_PATH_SEL = 0x1 5366 NL80211_MESH_SETUP_ENABLE_VENDOR_SYNC = 0x6 5367 NL80211_MESH_SETUP_IE = 0x3 5368 NL80211_MESH_SETUP_USERSPACE_AMPE = 0x5 5369 NL80211_MESH_SETUP_USERSPACE_AUTH = 0x4 5370 NL80211_MESH_SETUP_USERSPACE_MPM = 0x7 5371 NL80211_MESH_SETUP_VENDOR_PATH_SEL_IE = 0x3 5372 NL80211_MFP_NO = 0x0 5373 NL80211_MFP_OPTIONAL = 0x2 5374 NL80211_MFP_REQUIRED = 0x1 5375 NL80211_MIN_REMAIN_ON_CHANNEL_TIME = 0xa 5376 NL80211_MNTR_FLAG_ACTIVE = 0x6 5377 NL80211_MNTR_FLAG_CONTROL = 0x3 5378 NL80211_MNTR_FLAG_COOK_FRAMES = 0x5 5379 NL80211_MNTR_FLAG_FCSFAIL = 0x1 5380 NL80211_MNTR_FLAG_MAX = 0x6 5381 NL80211_MNTR_FLAG_OTHER_BSS = 0x4 5382 NL80211_MNTR_FLAG_PLCPFAIL = 0x2 5383 NL80211_MPATH_FLAG_ACTIVE = 0x1 5384 NL80211_MPATH_FLAG_FIXED = 0x8 5385 NL80211_MPATH_FLAG_RESOLVED = 0x10 5386 NL80211_MPATH_FLAG_RESOLVING = 0x2 5387 NL80211_MPATH_FLAG_SN_VALID = 0x4 5388 NL80211_MPATH_INFO_DISCOVERY_RETRIES = 0x7 5389 NL80211_MPATH_INFO_DISCOVERY_TIMEOUT = 0x6 5390 NL80211_MPATH_INFO_EXPTIME = 0x4 5391 NL80211_MPATH_INFO_FLAGS = 0x5 5392 NL80211_MPATH_INFO_FRAME_QLEN = 0x1 5393 NL80211_MPATH_INFO_HOP_COUNT = 0x8 5394 NL80211_MPATH_INFO_MAX = 0x9 5395 NL80211_MPATH_INFO_METRIC = 0x3 5396 NL80211_MPATH_INFO_PATH_CHANGE = 0x9 5397 NL80211_MPATH_INFO_SN = 0x2 5398 NL80211_MULTICAST_GROUP_CONFIG = "config" 5399 NL80211_MULTICAST_GROUP_MLME = "mlme" 5400 NL80211_MULTICAST_GROUP_NAN = "nan" 5401 NL80211_MULTICAST_GROUP_REG = "regulatory" 5402 NL80211_MULTICAST_GROUP_SCAN = "scan" 5403 NL80211_MULTICAST_GROUP_TESTMODE = "testmode" 5404 NL80211_MULTICAST_GROUP_VENDOR = "vendor" 5405 NL80211_NAN_FUNC_ATTR_MAX = 0x10 5406 NL80211_NAN_FUNC_CLOSE_RANGE = 0x9 5407 NL80211_NAN_FUNC_FOLLOW_UP = 0x2 5408 NL80211_NAN_FUNC_FOLLOW_UP_DEST = 0x8 5409 NL80211_NAN_FUNC_FOLLOW_UP_ID = 0x6 5410 NL80211_NAN_FUNC_FOLLOW_UP_REQ_ID = 0x7 5411 NL80211_NAN_FUNC_INSTANCE_ID = 0xf 5412 NL80211_NAN_FUNC_MAX_TYPE = 0x2 5413 NL80211_NAN_FUNC_PUBLISH_BCAST = 0x4 5414 NL80211_NAN_FUNC_PUBLISH = 0x0 5415 NL80211_NAN_FUNC_PUBLISH_TYPE = 0x3 5416 NL80211_NAN_FUNC_RX_MATCH_FILTER = 0xd 5417 NL80211_NAN_FUNC_SERVICE_ID = 0x2 5418 NL80211_NAN_FUNC_SERVICE_ID_LEN = 0x6 5419 NL80211_NAN_FUNC_SERVICE_INFO = 0xb 5420 NL80211_NAN_FUNC_SERVICE_SPEC_INFO_MAX_LEN = 0xff 5421 NL80211_NAN_FUNC_SRF = 0xc 5422 NL80211_NAN_FUNC_SRF_MAX_LEN = 0xff 5423 NL80211_NAN_FUNC_SUBSCRIBE_ACTIVE = 0x5 5424 NL80211_NAN_FUNC_SUBSCRIBE = 0x1 5425 NL80211_NAN_FUNC_TERM_REASON = 0x10 5426 NL80211_NAN_FUNC_TERM_REASON_ERROR = 0x2 5427 NL80211_NAN_FUNC_TERM_REASON_TTL_EXPIRED = 0x1 5428 NL80211_NAN_FUNC_TERM_REASON_USER_REQUEST = 0x0 5429 NL80211_NAN_FUNC_TTL = 0xa 5430 NL80211_NAN_FUNC_TX_MATCH_FILTER = 0xe 5431 NL80211_NAN_FUNC_TYPE = 0x1 5432 NL80211_NAN_MATCH_ATTR_MAX = 0x2 5433 NL80211_NAN_MATCH_FUNC_LOCAL = 0x1 5434 NL80211_NAN_MATCH_FUNC_PEER = 0x2 5435 NL80211_NAN_SOLICITED_PUBLISH = 0x1 5436 NL80211_NAN_SRF_ATTR_MAX = 0x4 5437 NL80211_NAN_SRF_BF = 0x2 5438 NL80211_NAN_SRF_BF_IDX = 0x3 5439 NL80211_NAN_SRF_INCLUDE = 0x1 5440 NL80211_NAN_SRF_MAC_ADDRS = 0x4 5441 NL80211_NAN_UNSOLICITED_PUBLISH = 0x2 5442 NL80211_NUM_ACS = 0x4 5443 NL80211_P2P_PS_SUPPORTED = 0x1 5444 NL80211_P2P_PS_UNSUPPORTED = 0x0 5445 NL80211_PKTPAT_MASK = 0x1 5446 NL80211_PKTPAT_OFFSET = 0x3 5447 NL80211_PKTPAT_PATTERN = 0x2 5448 NL80211_PLINK_ACTION_BLOCK = 0x2 5449 NL80211_PLINK_ACTION_NO_ACTION = 0x0 5450 NL80211_PLINK_ACTION_OPEN = 0x1 5451 NL80211_PLINK_BLOCKED = 0x6 5452 NL80211_PLINK_CNF_RCVD = 0x3 5453 NL80211_PLINK_ESTAB = 0x4 5454 NL80211_PLINK_HOLDING = 0x5 5455 NL80211_PLINK_LISTEN = 0x0 5456 NL80211_PLINK_OPN_RCVD = 0x2 5457 NL80211_PLINK_OPN_SNT = 0x1 5458 NL80211_PMKSA_CANDIDATE_BSSID = 0x2 5459 NL80211_PMKSA_CANDIDATE_INDEX = 0x1 5460 NL80211_PMKSA_CANDIDATE_PREAUTH = 0x3 5461 NL80211_PMSR_ATTR_MAX = 0x5 5462 NL80211_PMSR_ATTR_MAX_PEERS = 0x1 5463 NL80211_PMSR_ATTR_PEERS = 0x5 5464 NL80211_PMSR_ATTR_RANDOMIZE_MAC_ADDR = 0x3 5465 NL80211_PMSR_ATTR_REPORT_AP_TSF = 0x2 5466 NL80211_PMSR_ATTR_TYPE_CAPA = 0x4 5467 NL80211_PMSR_FTM_CAPA_ATTR_ASAP = 0x1 5468 NL80211_PMSR_FTM_CAPA_ATTR_BANDWIDTHS = 0x6 5469 NL80211_PMSR_FTM_CAPA_ATTR_MAX_BURSTS_EXPONENT = 0x7 5470 NL80211_PMSR_FTM_CAPA_ATTR_MAX = 0xa 5471 NL80211_PMSR_FTM_CAPA_ATTR_MAX_FTMS_PER_BURST = 0x8 5472 NL80211_PMSR_FTM_CAPA_ATTR_NON_ASAP = 0x2 5473 NL80211_PMSR_FTM_CAPA_ATTR_NON_TRIGGER_BASED = 0xa 5474 NL80211_PMSR_FTM_CAPA_ATTR_PREAMBLES = 0x5 5475 NL80211_PMSR_FTM_CAPA_ATTR_REQ_CIVICLOC = 0x4 5476 NL80211_PMSR_FTM_CAPA_ATTR_REQ_LCI = 0x3 5477 NL80211_PMSR_FTM_CAPA_ATTR_TRIGGER_BASED = 0x9 5478 NL80211_PMSR_FTM_FAILURE_BAD_CHANGED_PARAMS = 0x7 5479 NL80211_PMSR_FTM_FAILURE_INVALID_TIMESTAMP = 0x5 5480 NL80211_PMSR_FTM_FAILURE_NO_RESPONSE = 0x1 5481 NL80211_PMSR_FTM_FAILURE_PEER_BUSY = 0x6 5482 NL80211_PMSR_FTM_FAILURE_PEER_NOT_CAPABLE = 0x4 5483 NL80211_PMSR_FTM_FAILURE_REJECTED = 0x2 5484 NL80211_PMSR_FTM_FAILURE_UNSPECIFIED = 0x0 5485 NL80211_PMSR_FTM_FAILURE_WRONG_CHANNEL = 0x3 5486 NL80211_PMSR_FTM_REQ_ATTR_ASAP = 0x1 5487 NL80211_PMSR_FTM_REQ_ATTR_BSS_COLOR = 0xd 5488 NL80211_PMSR_FTM_REQ_ATTR_BURST_DURATION = 0x5 5489 NL80211_PMSR_FTM_REQ_ATTR_BURST_PERIOD = 0x4 5490 NL80211_PMSR_FTM_REQ_ATTR_FTMS_PER_BURST = 0x6 5491 NL80211_PMSR_FTM_REQ_ATTR_LMR_FEEDBACK = 0xc 5492 NL80211_PMSR_FTM_REQ_ATTR_MAX = 0xd 5493 NL80211_PMSR_FTM_REQ_ATTR_NON_TRIGGER_BASED = 0xb 5494 NL80211_PMSR_FTM_REQ_ATTR_NUM_BURSTS_EXP = 0x3 5495 NL80211_PMSR_FTM_REQ_ATTR_NUM_FTMR_RETRIES = 0x7 5496 NL80211_PMSR_FTM_REQ_ATTR_PREAMBLE = 0x2 5497 NL80211_PMSR_FTM_REQ_ATTR_REQUEST_CIVICLOC = 0x9 5498 NL80211_PMSR_FTM_REQ_ATTR_REQUEST_LCI = 0x8 5499 NL80211_PMSR_FTM_REQ_ATTR_TRIGGER_BASED = 0xa 5500 NL80211_PMSR_FTM_RESP_ATTR_BURST_DURATION = 0x7 5501 NL80211_PMSR_FTM_RESP_ATTR_BURST_INDEX = 0x2 5502 NL80211_PMSR_FTM_RESP_ATTR_BUSY_RETRY_TIME = 0x5 5503 NL80211_PMSR_FTM_RESP_ATTR_CIVICLOC = 0x14 5504 NL80211_PMSR_FTM_RESP_ATTR_DIST_AVG = 0x10 5505 NL80211_PMSR_FTM_RESP_ATTR_DIST_SPREAD = 0x12 5506 NL80211_PMSR_FTM_RESP_ATTR_DIST_VARIANCE = 0x11 5507 NL80211_PMSR_FTM_RESP_ATTR_FAIL_REASON = 0x1 5508 NL80211_PMSR_FTM_RESP_ATTR_FTMS_PER_BURST = 0x8 5509 NL80211_PMSR_FTM_RESP_ATTR_LCI = 0x13 5510 NL80211_PMSR_FTM_RESP_ATTR_MAX = 0x15 5511 NL80211_PMSR_FTM_RESP_ATTR_NUM_BURSTS_EXP = 0x6 5512 NL80211_PMSR_FTM_RESP_ATTR_NUM_FTMR_ATTEMPTS = 0x3 5513 NL80211_PMSR_FTM_RESP_ATTR_NUM_FTMR_SUCCESSES = 0x4 5514 NL80211_PMSR_FTM_RESP_ATTR_PAD = 0x15 5515 NL80211_PMSR_FTM_RESP_ATTR_RSSI_AVG = 0x9 5516 NL80211_PMSR_FTM_RESP_ATTR_RSSI_SPREAD = 0xa 5517 NL80211_PMSR_FTM_RESP_ATTR_RTT_AVG = 0xd 5518 NL80211_PMSR_FTM_RESP_ATTR_RTT_SPREAD = 0xf 5519 NL80211_PMSR_FTM_RESP_ATTR_RTT_VARIANCE = 0xe 5520 NL80211_PMSR_FTM_RESP_ATTR_RX_RATE = 0xc 5521 NL80211_PMSR_FTM_RESP_ATTR_TX_RATE = 0xb 5522 NL80211_PMSR_PEER_ATTR_ADDR = 0x1 5523 NL80211_PMSR_PEER_ATTR_CHAN = 0x2 5524 NL80211_PMSR_PEER_ATTR_MAX = 0x4 5525 NL80211_PMSR_PEER_ATTR_REQ = 0x3 5526 NL80211_PMSR_PEER_ATTR_RESP = 0x4 5527 NL80211_PMSR_REQ_ATTR_DATA = 0x1 5528 NL80211_PMSR_REQ_ATTR_GET_AP_TSF = 0x2 5529 NL80211_PMSR_REQ_ATTR_MAX = 0x2 5530 NL80211_PMSR_RESP_ATTR_AP_TSF = 0x4 5531 NL80211_PMSR_RESP_ATTR_DATA = 0x1 5532 NL80211_PMSR_RESP_ATTR_FINAL = 0x5 5533 NL80211_PMSR_RESP_ATTR_HOST_TIME = 0x3 5534 NL80211_PMSR_RESP_ATTR_MAX = 0x6 5535 NL80211_PMSR_RESP_ATTR_PAD = 0x6 5536 NL80211_PMSR_RESP_ATTR_STATUS = 0x2 5537 NL80211_PMSR_STATUS_FAILURE = 0x3 5538 NL80211_PMSR_STATUS_REFUSED = 0x1 5539 NL80211_PMSR_STATUS_SUCCESS = 0x0 5540 NL80211_PMSR_STATUS_TIMEOUT = 0x2 5541 NL80211_PMSR_TYPE_FTM = 0x1 5542 NL80211_PMSR_TYPE_INVALID = 0x0 5543 NL80211_PMSR_TYPE_MAX = 0x1 5544 NL80211_PREAMBLE_DMG = 0x3 5545 NL80211_PREAMBLE_HE = 0x4 5546 NL80211_PREAMBLE_HT = 0x1 5547 NL80211_PREAMBLE_LEGACY = 0x0 5548 NL80211_PREAMBLE_VHT = 0x2 5549 NL80211_PROBE_RESP_OFFLOAD_SUPPORT_80211U = 0x8 5550 NL80211_PROBE_RESP_OFFLOAD_SUPPORT_P2P = 0x4 5551 NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS2 = 0x2 5552 NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS = 0x1 5553 NL80211_PROTOCOL_FEATURE_SPLIT_WIPHY_DUMP = 0x1 5554 NL80211_PS_DISABLED = 0x0 5555 NL80211_PS_ENABLED = 0x1 5556 NL80211_RADAR_CAC_ABORTED = 0x2 5557 NL80211_RADAR_CAC_FINISHED = 0x1 5558 NL80211_RADAR_CAC_STARTED = 0x5 5559 NL80211_RADAR_DETECTED = 0x0 5560 NL80211_RADAR_NOP_FINISHED = 0x3 5561 NL80211_RADAR_PRE_CAC_EXPIRED = 0x4 5562 NL80211_RATE_INFO_10_MHZ_WIDTH = 0xb 5563 NL80211_RATE_INFO_160_MHZ_WIDTH = 0xa 5564 NL80211_RATE_INFO_320_MHZ_WIDTH = 0x12 5565 NL80211_RATE_INFO_40_MHZ_WIDTH = 0x3 5566 NL80211_RATE_INFO_5_MHZ_WIDTH = 0xc 5567 NL80211_RATE_INFO_80_MHZ_WIDTH = 0x8 5568 NL80211_RATE_INFO_80P80_MHZ_WIDTH = 0x9 5569 NL80211_RATE_INFO_BITRATE32 = 0x5 5570 NL80211_RATE_INFO_BITRATE = 0x1 5571 NL80211_RATE_INFO_EHT_GI_0_8 = 0x0 5572 NL80211_RATE_INFO_EHT_GI_1_6 = 0x1 5573 NL80211_RATE_INFO_EHT_GI_3_2 = 0x2 5574 NL80211_RATE_INFO_EHT_GI = 0x15 5575 NL80211_RATE_INFO_EHT_MCS = 0x13 5576 NL80211_RATE_INFO_EHT_NSS = 0x14 5577 NL80211_RATE_INFO_EHT_RU_ALLOC_106 = 0x3 5578 NL80211_RATE_INFO_EHT_RU_ALLOC_106P26 = 0x4 5579 NL80211_RATE_INFO_EHT_RU_ALLOC_242 = 0x5 5580 NL80211_RATE_INFO_EHT_RU_ALLOC_26 = 0x0 5581 NL80211_RATE_INFO_EHT_RU_ALLOC_2x996 = 0xb 5582 NL80211_RATE_INFO_EHT_RU_ALLOC_2x996P484 = 0xc 5583 NL80211_RATE_INFO_EHT_RU_ALLOC_3x996 = 0xd 5584 NL80211_RATE_INFO_EHT_RU_ALLOC_3x996P484 = 0xe 5585 NL80211_RATE_INFO_EHT_RU_ALLOC_484 = 0x6 5586 NL80211_RATE_INFO_EHT_RU_ALLOC_484P242 = 0x7 5587 NL80211_RATE_INFO_EHT_RU_ALLOC_4x996 = 0xf 5588 NL80211_RATE_INFO_EHT_RU_ALLOC_52 = 0x1 5589 NL80211_RATE_INFO_EHT_RU_ALLOC_52P26 = 0x2 5590 NL80211_RATE_INFO_EHT_RU_ALLOC_996 = 0x8 5591 NL80211_RATE_INFO_EHT_RU_ALLOC_996P484 = 0x9 5592 NL80211_RATE_INFO_EHT_RU_ALLOC_996P484P242 = 0xa 5593 NL80211_RATE_INFO_EHT_RU_ALLOC = 0x16 5594 NL80211_RATE_INFO_HE_1XLTF = 0x0 5595 NL80211_RATE_INFO_HE_2XLTF = 0x1 5596 NL80211_RATE_INFO_HE_4XLTF = 0x2 5597 NL80211_RATE_INFO_HE_DCM = 0x10 5598 NL80211_RATE_INFO_HE_GI_0_8 = 0x0 5599 NL80211_RATE_INFO_HE_GI_1_6 = 0x1 5600 NL80211_RATE_INFO_HE_GI_3_2 = 0x2 5601 NL80211_RATE_INFO_HE_GI = 0xf 5602 NL80211_RATE_INFO_HE_MCS = 0xd 5603 NL80211_RATE_INFO_HE_NSS = 0xe 5604 NL80211_RATE_INFO_HE_RU_ALLOC_106 = 0x2 5605 NL80211_RATE_INFO_HE_RU_ALLOC_242 = 0x3 5606 NL80211_RATE_INFO_HE_RU_ALLOC_26 = 0x0 5607 NL80211_RATE_INFO_HE_RU_ALLOC_2x996 = 0x6 5608 NL80211_RATE_INFO_HE_RU_ALLOC_484 = 0x4 5609 NL80211_RATE_INFO_HE_RU_ALLOC_52 = 0x1 5610 NL80211_RATE_INFO_HE_RU_ALLOC_996 = 0x5 5611 NL80211_RATE_INFO_HE_RU_ALLOC = 0x11 5612 NL80211_RATE_INFO_MAX = 0x1d 5613 NL80211_RATE_INFO_MCS = 0x2 5614 NL80211_RATE_INFO_SHORT_GI = 0x4 5615 NL80211_RATE_INFO_VHT_MCS = 0x6 5616 NL80211_RATE_INFO_VHT_NSS = 0x7 5617 NL80211_REGDOM_SET_BY_CORE = 0x0 5618 NL80211_REGDOM_SET_BY_COUNTRY_IE = 0x3 5619 NL80211_REGDOM_SET_BY_DRIVER = 0x2 5620 NL80211_REGDOM_SET_BY_USER = 0x1 5621 NL80211_REGDOM_TYPE_COUNTRY = 0x0 5622 NL80211_REGDOM_TYPE_CUSTOM_WORLD = 0x2 5623 NL80211_REGDOM_TYPE_INTERSECTION = 0x3 5624 NL80211_REGDOM_TYPE_WORLD = 0x1 5625 NL80211_REG_RULE_ATTR_MAX = 0x8 5626 NL80211_REKEY_DATA_AKM = 0x4 5627 NL80211_REKEY_DATA_KCK = 0x2 5628 NL80211_REKEY_DATA_KEK = 0x1 5629 NL80211_REKEY_DATA_REPLAY_CTR = 0x3 5630 NL80211_REPLAY_CTR_LEN = 0x8 5631 NL80211_RRF_AUTO_BW = 0x800 5632 NL80211_RRF_DFS = 0x10 5633 NL80211_RRF_GO_CONCURRENT = 0x1000 5634 NL80211_RRF_IR_CONCURRENT = 0x1000 5635 NL80211_RRF_NO_160MHZ = 0x10000 5636 NL80211_RRF_NO_320MHZ = 0x40000 5637 NL80211_RRF_NO_80MHZ = 0x8000 5638 NL80211_RRF_NO_CCK = 0x2 5639 NL80211_RRF_NO_HE = 0x20000 5640 NL80211_RRF_NO_HT40 = 0x6000 5641 NL80211_RRF_NO_HT40MINUS = 0x2000 5642 NL80211_RRF_NO_HT40PLUS = 0x4000 5643 NL80211_RRF_NO_IBSS = 0x80 5644 NL80211_RRF_NO_INDOOR = 0x4 5645 NL80211_RRF_NO_IR_ALL = 0x180 5646 NL80211_RRF_NO_IR = 0x80 5647 NL80211_RRF_NO_OFDM = 0x1 5648 NL80211_RRF_NO_OUTDOOR = 0x8 5649 NL80211_RRF_PASSIVE_SCAN = 0x80 5650 NL80211_RRF_PTMP_ONLY = 0x40 5651 NL80211_RRF_PTP_ONLY = 0x20 5652 NL80211_RXMGMT_FLAG_ANSWERED = 0x1 5653 NL80211_RXMGMT_FLAG_EXTERNAL_AUTH = 0x2 5654 NL80211_SAE_PWE_BOTH = 0x3 5655 NL80211_SAE_PWE_HASH_TO_ELEMENT = 0x2 5656 NL80211_SAE_PWE_HUNT_AND_PECK = 0x1 5657 NL80211_SAE_PWE_UNSPECIFIED = 0x0 5658 NL80211_SAR_ATTR_MAX = 0x2 5659 NL80211_SAR_ATTR_SPECS = 0x2 5660 NL80211_SAR_ATTR_SPECS_END_FREQ = 0x4 5661 NL80211_SAR_ATTR_SPECS_MAX = 0x4 5662 NL80211_SAR_ATTR_SPECS_POWER = 0x1 5663 NL80211_SAR_ATTR_SPECS_RANGE_INDEX = 0x2 5664 NL80211_SAR_ATTR_SPECS_START_FREQ = 0x3 5665 NL80211_SAR_ATTR_TYPE = 0x1 5666 NL80211_SAR_TYPE_POWER = 0x0 5667 NL80211_SCAN_FLAG_ACCEPT_BCAST_PROBE_RESP = 0x20 5668 NL80211_SCAN_FLAG_AP = 0x4 5669 NL80211_SCAN_FLAG_COLOCATED_6GHZ = 0x4000 5670 NL80211_SCAN_FLAG_FILS_MAX_CHANNEL_TIME = 0x10 5671 NL80211_SCAN_FLAG_FLUSH = 0x2 5672 NL80211_SCAN_FLAG_FREQ_KHZ = 0x2000 5673 NL80211_SCAN_FLAG_HIGH_ACCURACY = 0x400 5674 NL80211_SCAN_FLAG_LOW_POWER = 0x200 5675 NL80211_SCAN_FLAG_LOW_PRIORITY = 0x1 5676 NL80211_SCAN_FLAG_LOW_SPAN = 0x100 5677 NL80211_SCAN_FLAG_MIN_PREQ_CONTENT = 0x1000 5678 NL80211_SCAN_FLAG_OCE_PROBE_REQ_DEFERRAL_SUPPRESSION = 0x80 5679 NL80211_SCAN_FLAG_OCE_PROBE_REQ_HIGH_TX_RATE = 0x40 5680 NL80211_SCAN_FLAG_RANDOM_ADDR = 0x8 5681 NL80211_SCAN_FLAG_RANDOM_SN = 0x800 5682 NL80211_SCAN_RSSI_THOLD_OFF = -0x12c 5683 NL80211_SCHED_SCAN_MATCH_ATTR_BSSID = 0x5 5684 NL80211_SCHED_SCAN_MATCH_ATTR_MAX = 0x6 5685 NL80211_SCHED_SCAN_MATCH_ATTR_RELATIVE_RSSI = 0x3 5686 NL80211_SCHED_SCAN_MATCH_ATTR_RSSI_ADJUST = 0x4 5687 NL80211_SCHED_SCAN_MATCH_ATTR_RSSI = 0x2 5688 NL80211_SCHED_SCAN_MATCH_ATTR_SSID = 0x1 5689 NL80211_SCHED_SCAN_MATCH_PER_BAND_RSSI = 0x6 5690 NL80211_SCHED_SCAN_PLAN_INTERVAL = 0x1 5691 NL80211_SCHED_SCAN_PLAN_ITERATIONS = 0x2 5692 NL80211_SCHED_SCAN_PLAN_MAX = 0x2 5693 NL80211_SMPS_DYNAMIC = 0x2 5694 NL80211_SMPS_MAX = 0x2 5695 NL80211_SMPS_OFF = 0x0 5696 NL80211_SMPS_STATIC = 0x1 5697 NL80211_STA_BSS_PARAM_BEACON_INTERVAL = 0x5 5698 NL80211_STA_BSS_PARAM_CTS_PROT = 0x1 5699 NL80211_STA_BSS_PARAM_DTIM_PERIOD = 0x4 5700 NL80211_STA_BSS_PARAM_MAX = 0x5 5701 NL80211_STA_BSS_PARAM_SHORT_PREAMBLE = 0x2 5702 NL80211_STA_BSS_PARAM_SHORT_SLOT_TIME = 0x3 5703 NL80211_STA_FLAG_ASSOCIATED = 0x7 5704 NL80211_STA_FLAG_AUTHENTICATED = 0x5 5705 NL80211_STA_FLAG_AUTHORIZED = 0x1 5706 NL80211_STA_FLAG_MAX = 0x8 5707 NL80211_STA_FLAG_MAX_OLD_API = 0x6 5708 NL80211_STA_FLAG_MFP = 0x4 5709 NL80211_STA_FLAG_SHORT_PREAMBLE = 0x2 5710 NL80211_STA_FLAG_TDLS_PEER = 0x6 5711 NL80211_STA_FLAG_WME = 0x3 5712 NL80211_STA_INFO_ACK_SIGNAL_AVG = 0x23 5713 NL80211_STA_INFO_ACK_SIGNAL = 0x22 5714 NL80211_STA_INFO_AIRTIME_LINK_METRIC = 0x29 5715 NL80211_STA_INFO_AIRTIME_WEIGHT = 0x28 5716 NL80211_STA_INFO_ASSOC_AT_BOOTTIME = 0x2a 5717 NL80211_STA_INFO_BEACON_LOSS = 0x12 5718 NL80211_STA_INFO_BEACON_RX = 0x1d 5719 NL80211_STA_INFO_BEACON_SIGNAL_AVG = 0x1e 5720 NL80211_STA_INFO_BSS_PARAM = 0xf 5721 NL80211_STA_INFO_CHAIN_SIGNAL_AVG = 0x1a 5722 NL80211_STA_INFO_CHAIN_SIGNAL = 0x19 5723 NL80211_STA_INFO_CONNECTED_TIME = 0x10 5724 NL80211_STA_INFO_CONNECTED_TO_AS = 0x2b 5725 NL80211_STA_INFO_CONNECTED_TO_GATE = 0x26 5726 NL80211_STA_INFO_DATA_ACK_SIGNAL_AVG = 0x23 5727 NL80211_STA_INFO_EXPECTED_THROUGHPUT = 0x1b 5728 NL80211_STA_INFO_FCS_ERROR_COUNT = 0x25 5729 NL80211_STA_INFO_INACTIVE_TIME = 0x1 5730 NL80211_STA_INFO_LLID = 0x4 5731 NL80211_STA_INFO_LOCAL_PM = 0x14 5732 NL80211_STA_INFO_MAX = 0x2b 5733 NL80211_STA_INFO_NONPEER_PM = 0x16 5734 NL80211_STA_INFO_PAD = 0x21 5735 NL80211_STA_INFO_PEER_PM = 0x15 5736 NL80211_STA_INFO_PLID = 0x5 5737 NL80211_STA_INFO_PLINK_STATE = 0x6 5738 NL80211_STA_INFO_RX_BITRATE = 0xe 5739 NL80211_STA_INFO_RX_BYTES64 = 0x17 5740 NL80211_STA_INFO_RX_BYTES = 0x2 5741 NL80211_STA_INFO_RX_DROP_MISC = 0x1c 5742 NL80211_STA_INFO_RX_DURATION = 0x20 5743 NL80211_STA_INFO_RX_MPDUS = 0x24 5744 NL80211_STA_INFO_RX_PACKETS = 0x9 5745 NL80211_STA_INFO_SIGNAL_AVG = 0xd 5746 NL80211_STA_INFO_SIGNAL = 0x7 5747 NL80211_STA_INFO_STA_FLAGS = 0x11 5748 NL80211_STA_INFO_TID_STATS = 0x1f 5749 NL80211_STA_INFO_T_OFFSET = 0x13 5750 NL80211_STA_INFO_TX_BITRATE = 0x8 5751 NL80211_STA_INFO_TX_BYTES64 = 0x18 5752 NL80211_STA_INFO_TX_BYTES = 0x3 5753 NL80211_STA_INFO_TX_DURATION = 0x27 5754 NL80211_STA_INFO_TX_FAILED = 0xc 5755 NL80211_STA_INFO_TX_PACKETS = 0xa 5756 NL80211_STA_INFO_TX_RETRIES = 0xb 5757 NL80211_STA_WME_MAX = 0x2 5758 NL80211_STA_WME_MAX_SP = 0x2 5759 NL80211_STA_WME_UAPSD_QUEUES = 0x1 5760 NL80211_SURVEY_INFO_CHANNEL_TIME_BUSY = 0x5 5761 NL80211_SURVEY_INFO_CHANNEL_TIME = 0x4 5762 NL80211_SURVEY_INFO_CHANNEL_TIME_EXT_BUSY = 0x6 5763 NL80211_SURVEY_INFO_CHANNEL_TIME_RX = 0x7 5764 NL80211_SURVEY_INFO_CHANNEL_TIME_TX = 0x8 5765 NL80211_SURVEY_INFO_FREQUENCY = 0x1 5766 NL80211_SURVEY_INFO_FREQUENCY_OFFSET = 0xc 5767 NL80211_SURVEY_INFO_IN_USE = 0x3 5768 NL80211_SURVEY_INFO_MAX = 0xc 5769 NL80211_SURVEY_INFO_NOISE = 0x2 5770 NL80211_SURVEY_INFO_PAD = 0xa 5771 NL80211_SURVEY_INFO_TIME_BSS_RX = 0xb 5772 NL80211_SURVEY_INFO_TIME_BUSY = 0x5 5773 NL80211_SURVEY_INFO_TIME = 0x4 5774 NL80211_SURVEY_INFO_TIME_EXT_BUSY = 0x6 5775 NL80211_SURVEY_INFO_TIME_RX = 0x7 5776 NL80211_SURVEY_INFO_TIME_SCAN = 0x9 5777 NL80211_SURVEY_INFO_TIME_TX = 0x8 5778 NL80211_TDLS_DISABLE_LINK = 0x4 5779 NL80211_TDLS_DISCOVERY_REQ = 0x0 5780 NL80211_TDLS_ENABLE_LINK = 0x3 5781 NL80211_TDLS_PEER_HE = 0x8 5782 NL80211_TDLS_PEER_HT = 0x1 5783 NL80211_TDLS_PEER_VHT = 0x2 5784 NL80211_TDLS_PEER_WMM = 0x4 5785 NL80211_TDLS_SETUP = 0x1 5786 NL80211_TDLS_TEARDOWN = 0x2 5787 NL80211_TID_CONFIG_ATTR_AMPDU_CTRL = 0x9 5788 NL80211_TID_CONFIG_ATTR_AMSDU_CTRL = 0xb 5789 NL80211_TID_CONFIG_ATTR_MAX = 0xd 5790 NL80211_TID_CONFIG_ATTR_NOACK = 0x6 5791 NL80211_TID_CONFIG_ATTR_OVERRIDE = 0x4 5792 NL80211_TID_CONFIG_ATTR_PAD = 0x1 5793 NL80211_TID_CONFIG_ATTR_PEER_SUPP = 0x3 5794 NL80211_TID_CONFIG_ATTR_RETRY_LONG = 0x8 5795 NL80211_TID_CONFIG_ATTR_RETRY_SHORT = 0x7 5796 NL80211_TID_CONFIG_ATTR_RTSCTS_CTRL = 0xa 5797 NL80211_TID_CONFIG_ATTR_TIDS = 0x5 5798 NL80211_TID_CONFIG_ATTR_TX_RATE = 0xd 5799 NL80211_TID_CONFIG_ATTR_TX_RATE_TYPE = 0xc 5800 NL80211_TID_CONFIG_ATTR_VIF_SUPP = 0x2 5801 NL80211_TID_CONFIG_DISABLE = 0x1 5802 NL80211_TID_CONFIG_ENABLE = 0x0 5803 NL80211_TID_STATS_MAX = 0x6 5804 NL80211_TID_STATS_PAD = 0x5 5805 NL80211_TID_STATS_RX_MSDU = 0x1 5806 NL80211_TID_STATS_TX_MSDU = 0x2 5807 NL80211_TID_STATS_TX_MSDU_FAILED = 0x4 5808 NL80211_TID_STATS_TX_MSDU_RETRIES = 0x3 5809 NL80211_TID_STATS_TXQ_STATS = 0x6 5810 NL80211_TIMEOUT_ASSOC = 0x3 5811 NL80211_TIMEOUT_AUTH = 0x2 5812 NL80211_TIMEOUT_SCAN = 0x1 5813 NL80211_TIMEOUT_UNSPECIFIED = 0x0 5814 NL80211_TKIP_DATA_OFFSET_ENCR_KEY = 0x0 5815 NL80211_TKIP_DATA_OFFSET_RX_MIC_KEY = 0x18 5816 NL80211_TKIP_DATA_OFFSET_TX_MIC_KEY = 0x10 5817 NL80211_TX_POWER_AUTOMATIC = 0x0 5818 NL80211_TX_POWER_FIXED = 0x2 5819 NL80211_TX_POWER_LIMITED = 0x1 5820 NL80211_TXQ_ATTR_AC = 0x1 5821 NL80211_TXQ_ATTR_AIFS = 0x5 5822 NL80211_TXQ_ATTR_CWMAX = 0x4 5823 NL80211_TXQ_ATTR_CWMIN = 0x3 5824 NL80211_TXQ_ATTR_MAX = 0x5 5825 NL80211_TXQ_ATTR_QUEUE = 0x1 5826 NL80211_TXQ_ATTR_TXOP = 0x2 5827 NL80211_TXQ_Q_BE = 0x2 5828 NL80211_TXQ_Q_BK = 0x3 5829 NL80211_TXQ_Q_VI = 0x1 5830 NL80211_TXQ_Q_VO = 0x0 5831 NL80211_TXQ_STATS_BACKLOG_BYTES = 0x1 5832 NL80211_TXQ_STATS_BACKLOG_PACKETS = 0x2 5833 NL80211_TXQ_STATS_COLLISIONS = 0x8 5834 NL80211_TXQ_STATS_DROPS = 0x4 5835 NL80211_TXQ_STATS_ECN_MARKS = 0x5 5836 NL80211_TXQ_STATS_FLOWS = 0x3 5837 NL80211_TXQ_STATS_MAX = 0xb 5838 NL80211_TXQ_STATS_MAX_FLOWS = 0xb 5839 NL80211_TXQ_STATS_OVERLIMIT = 0x6 5840 NL80211_TXQ_STATS_OVERMEMORY = 0x7 5841 NL80211_TXQ_STATS_TX_BYTES = 0x9 5842 NL80211_TXQ_STATS_TX_PACKETS = 0xa 5843 NL80211_TX_RATE_AUTOMATIC = 0x0 5844 NL80211_TXRATE_DEFAULT_GI = 0x0 5845 NL80211_TX_RATE_FIXED = 0x2 5846 NL80211_TXRATE_FORCE_LGI = 0x2 5847 NL80211_TXRATE_FORCE_SGI = 0x1 5848 NL80211_TXRATE_GI = 0x4 5849 NL80211_TXRATE_HE = 0x5 5850 NL80211_TXRATE_HE_GI = 0x6 5851 NL80211_TXRATE_HE_LTF = 0x7 5852 NL80211_TXRATE_HT = 0x2 5853 NL80211_TXRATE_LEGACY = 0x1 5854 NL80211_TX_RATE_LIMITED = 0x1 5855 NL80211_TXRATE_MAX = 0x7 5856 NL80211_TXRATE_MCS = 0x2 5857 NL80211_TXRATE_VHT = 0x3 5858 NL80211_UNSOL_BCAST_PROBE_RESP_ATTR_INT = 0x1 5859 NL80211_UNSOL_BCAST_PROBE_RESP_ATTR_MAX = 0x2 5860 NL80211_UNSOL_BCAST_PROBE_RESP_ATTR_TMPL = 0x2 5861 NL80211_USER_REG_HINT_CELL_BASE = 0x1 5862 NL80211_USER_REG_HINT_INDOOR = 0x2 5863 NL80211_USER_REG_HINT_USER = 0x0 5864 NL80211_VENDOR_ID_IS_LINUX = 0x80000000 5865 NL80211_VHT_CAPABILITY_LEN = 0xc 5866 NL80211_VHT_NSS_MAX = 0x8 5867 NL80211_WIPHY_NAME_MAXLEN = 0x40 5868 NL80211_WMMR_AIFSN = 0x3 5869 NL80211_WMMR_CW_MAX = 0x2 5870 NL80211_WMMR_CW_MIN = 0x1 5871 NL80211_WMMR_MAX = 0x4 5872 NL80211_WMMR_TXOP = 0x4 5873 NL80211_WOWLAN_PKTPAT_MASK = 0x1 5874 NL80211_WOWLAN_PKTPAT_OFFSET = 0x3 5875 NL80211_WOWLAN_PKTPAT_PATTERN = 0x2 5876 NL80211_WOWLAN_TCP_DATA_INTERVAL = 0x9 5877 NL80211_WOWLAN_TCP_DATA_PAYLOAD = 0x6 5878 NL80211_WOWLAN_TCP_DATA_PAYLOAD_SEQ = 0x7 5879 NL80211_WOWLAN_TCP_DATA_PAYLOAD_TOKEN = 0x8 5880 NL80211_WOWLAN_TCP_DST_IPV4 = 0x2 5881 NL80211_WOWLAN_TCP_DST_MAC = 0x3 5882 NL80211_WOWLAN_TCP_DST_PORT = 0x5 5883 NL80211_WOWLAN_TCP_SRC_IPV4 = 0x1 5884 NL80211_WOWLAN_TCP_SRC_PORT = 0x4 5885 NL80211_WOWLAN_TCP_WAKE_MASK = 0xb 5886 NL80211_WOWLAN_TCP_WAKE_PAYLOAD = 0xa 5887 NL80211_WOWLAN_TRIG_4WAY_HANDSHAKE = 0x8 5888 NL80211_WOWLAN_TRIG_ANY = 0x1 5889 NL80211_WOWLAN_TRIG_DISCONNECT = 0x2 5890 NL80211_WOWLAN_TRIG_EAP_IDENT_REQUEST = 0x7 5891 NL80211_WOWLAN_TRIG_GTK_REKEY_FAILURE = 0x6 5892 NL80211_WOWLAN_TRIG_GTK_REKEY_SUPPORTED = 0x5 5893 NL80211_WOWLAN_TRIG_MAGIC_PKT = 0x3 5894 NL80211_WOWLAN_TRIG_NET_DETECT = 0x12 5895 NL80211_WOWLAN_TRIG_NET_DETECT_RESULTS = 0x13 5896 NL80211_WOWLAN_TRIG_PKT_PATTERN = 0x4 5897 NL80211_WOWLAN_TRIG_RFKILL_RELEASE = 0x9 5898 NL80211_WOWLAN_TRIG_TCP_CONNECTION = 0xe 5899 NL80211_WOWLAN_TRIG_WAKEUP_PKT_80211 = 0xa 5900 NL80211_WOWLAN_TRIG_WAKEUP_PKT_80211_LEN = 0xb 5901 NL80211_WOWLAN_TRIG_WAKEUP_PKT_8023 = 0xc 5902 NL80211_WOWLAN_TRIG_WAKEUP_PKT_8023_LEN = 0xd 5903 NL80211_WOWLAN_TRIG_WAKEUP_TCP_CONNLOST = 0x10 5904 NL80211_WOWLAN_TRIG_WAKEUP_TCP_MATCH = 0xf 5905 NL80211_WOWLAN_TRIG_WAKEUP_TCP_NOMORETOKENS = 0x11 5906 NL80211_WPA_VERSION_1 = 0x1 5907 NL80211_WPA_VERSION_2 = 0x2 5908 NL80211_WPA_VERSION_3 = 0x4 5909 ) 5910 5911 const ( 5912 FRA_UNSPEC = 0x0 5913 FRA_DST = 0x1 5914 FRA_SRC = 0x2 5915 FRA_IIFNAME = 0x3 5916 FRA_GOTO = 0x4 5917 FRA_UNUSED2 = 0x5 5918 FRA_PRIORITY = 0x6 5919 FRA_UNUSED3 = 0x7 5920 FRA_UNUSED4 = 0x8 5921 FRA_UNUSED5 = 0x9 5922 FRA_FWMARK = 0xa 5923 FRA_FLOW = 0xb 5924 FRA_TUN_ID = 0xc 5925 FRA_SUPPRESS_IFGROUP = 0xd 5926 FRA_SUPPRESS_PREFIXLEN = 0xe 5927 FRA_TABLE = 0xf 5928 FRA_FWMASK = 0x10 5929 FRA_OIFNAME = 0x11 5930 FRA_PAD = 0x12 5931 FRA_L3MDEV = 0x13 5932 FRA_UID_RANGE = 0x14 5933 FRA_PROTOCOL = 0x15 5934 FRA_IP_PROTO = 0x16 5935 FRA_SPORT_RANGE = 0x17 5936 FRA_DPORT_RANGE = 0x18 5937 FR_ACT_UNSPEC = 0x0 5938 FR_ACT_TO_TBL = 0x1 5939 FR_ACT_GOTO = 0x2 5940 FR_ACT_NOP = 0x3 5941 FR_ACT_RES3 = 0x4 5942 FR_ACT_RES4 = 0x5 5943 FR_ACT_BLACKHOLE = 0x6 5944 FR_ACT_UNREACHABLE = 0x7 5945 FR_ACT_PROHIBIT = 0x8 5946 ) 5947 5948 const ( 5949 AUDIT_NLGRP_NONE = 0x0 5950 AUDIT_NLGRP_READLOG = 0x1 5951 ) 5952 5953 const ( 5954 TUN_F_CSUM = 0x1 5955 TUN_F_TSO4 = 0x2 5956 TUN_F_TSO6 = 0x4 5957 TUN_F_TSO_ECN = 0x8 5958 TUN_F_UFO = 0x10 5959 TUN_F_USO4 = 0x20 5960 TUN_F_USO6 = 0x40 5961 ) 5962 5963 const ( 5964 VIRTIO_NET_HDR_F_NEEDS_CSUM = 0x1 5965 VIRTIO_NET_HDR_F_DATA_VALID = 0x2 5966 VIRTIO_NET_HDR_F_RSC_INFO = 0x4 5967 ) 5968 5969 const ( 5970 VIRTIO_NET_HDR_GSO_NONE = 0x0 5971 VIRTIO_NET_HDR_GSO_TCPV4 = 0x1 5972 VIRTIO_NET_HDR_GSO_UDP = 0x3 5973 VIRTIO_NET_HDR_GSO_TCPV6 = 0x4 5974 VIRTIO_NET_HDR_GSO_UDP_L4 = 0x5 5975 VIRTIO_NET_HDR_GSO_ECN = 0x80 5976 ) 5977 5978 type SchedAttr struct { 5979 Size uint32 5980 Policy uint32 5981 Flags uint64 5982 Nice int32 5983 Priority uint32 5984 Runtime uint64 5985 Deadline uint64 5986 Period uint64 5987 Util_min uint32 5988 Util_max uint32 5989 } 5990 5991 const SizeofSchedAttr = 0x38 5992 5993 type Cachestat_t struct { 5994 Cache uint64 5995 Dirty uint64 5996 Writeback uint64 5997 Evicted uint64 5998 Recently_evicted uint64 5999 } 6000 type CachestatRange struct { 6001 Off uint64 6002 Len uint64 6003 } 6004 6005 const ( 6006 SK_MEMINFO_RMEM_ALLOC = 0x0 6007 SK_MEMINFO_RCVBUF = 0x1 6008 SK_MEMINFO_WMEM_ALLOC = 0x2 6009 SK_MEMINFO_SNDBUF = 0x3 6010 SK_MEMINFO_FWD_ALLOC = 0x4 6011 SK_MEMINFO_WMEM_QUEUED = 0x5 6012 SK_MEMINFO_OPTMEM = 0x6 6013 SK_MEMINFO_BACKLOG = 0x7 6014 SK_MEMINFO_DROPS = 0x8 6015 SK_MEMINFO_VARS = 0x9 6016 SKNLGRP_NONE = 0x0 6017 SKNLGRP_INET_TCP_DESTROY = 0x1 6018 SKNLGRP_INET_UDP_DESTROY = 0x2 6019 SKNLGRP_INET6_TCP_DESTROY = 0x3 6020 SKNLGRP_INET6_UDP_DESTROY = 0x4 6021 SK_DIAG_BPF_STORAGE_REQ_NONE = 0x0 6022 SK_DIAG_BPF_STORAGE_REQ_MAP_FD = 0x1 6023 SK_DIAG_BPF_STORAGE_REP_NONE = 0x0 6024 SK_DIAG_BPF_STORAGE = 0x1 6025 SK_DIAG_BPF_STORAGE_NONE = 0x0 6026 SK_DIAG_BPF_STORAGE_PAD = 0x1 6027 SK_DIAG_BPF_STORAGE_MAP_ID = 0x2 6028 SK_DIAG_BPF_STORAGE_MAP_VALUE = 0x3 6029 ) 6030 6031 type SockDiagReq struct { 6032 Family uint8 6033 Protocol uint8 6034 }