...

Source file src/golang.org/x/sys/unix/ztypes_linux.go

Documentation: golang.org/x/sys/unix

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

View as plain text