github.com/dolotech/hongbao@v0.0.0-20191130105438-fd59d7a5dda5/src/golang.org/x/sys/unix/ztypes_linux_arm.go (about)

     1  // cgo -godefs -- -Wall -Werror -static -I/tmp/include linux/types.go | go run mkpost.go
     2  // Code generated by the command above; see README.md. DO NOT EDIT.
     3  
     4  // +build arm,linux
     5  
     6  package unix
     7  
     8  const (
     9  	sizeofPtr      = 0x4
    10  	sizeofShort    = 0x2
    11  	sizeofInt      = 0x4
    12  	sizeofLong     = 0x4
    13  	sizeofLongLong = 0x8
    14  	PathMax        = 0x1000
    15  )
    16  
    17  type (
    18  	_C_short     int16
    19  	_C_int       int32
    20  	_C_long      int32
    21  	_C_long_long int64
    22  )
    23  
    24  type Timespec struct {
    25  	Sec  int32
    26  	Nsec int32
    27  }
    28  
    29  type Timeval struct {
    30  	Sec  int32
    31  	Usec int32
    32  }
    33  
    34  type Timex struct {
    35  	Modes     uint32
    36  	Offset    int32
    37  	Freq      int32
    38  	Maxerror  int32
    39  	Esterror  int32
    40  	Status    int32
    41  	Constant  int32
    42  	Precision int32
    43  	Tolerance int32
    44  	Time      Timeval
    45  	Tick      int32
    46  	Ppsfreq   int32
    47  	Jitter    int32
    48  	Shift     int32
    49  	Stabil    int32
    50  	Jitcnt    int32
    51  	Calcnt    int32
    52  	Errcnt    int32
    53  	Stbcnt    int32
    54  	Tai       int32
    55  	Pad_cgo_0 [44]byte
    56  }
    57  
    58  type Time_t int32
    59  
    60  type Tms struct {
    61  	Utime  int32
    62  	Stime  int32
    63  	Cutime int32
    64  	Cstime int32
    65  }
    66  
    67  type Utimbuf struct {
    68  	Actime  int32
    69  	Modtime int32
    70  }
    71  
    72  type Rusage struct {
    73  	Utime    Timeval
    74  	Stime    Timeval
    75  	Maxrss   int32
    76  	Ixrss    int32
    77  	Idrss    int32
    78  	Isrss    int32
    79  	Minflt   int32
    80  	Majflt   int32
    81  	Nswap    int32
    82  	Inblock  int32
    83  	Oublock  int32
    84  	Msgsnd   int32
    85  	Msgrcv   int32
    86  	Nsignals int32
    87  	Nvcsw    int32
    88  	Nivcsw   int32
    89  }
    90  
    91  type Rlimit struct {
    92  	Cur uint64
    93  	Max uint64
    94  }
    95  
    96  type _Gid_t uint32
    97  
    98  type Stat_t struct {
    99  	Dev       uint64
   100  	X__pad1   uint16
   101  	Pad_cgo_0 [2]byte
   102  	X__st_ino uint32
   103  	Mode      uint32
   104  	Nlink     uint32
   105  	Uid       uint32
   106  	Gid       uint32
   107  	Rdev      uint64
   108  	X__pad2   uint16
   109  	Pad_cgo_1 [6]byte
   110  	Size      int64
   111  	Blksize   int32
   112  	Pad_cgo_2 [4]byte
   113  	Blocks    int64
   114  	Atim      Timespec
   115  	Mtim      Timespec
   116  	Ctim      Timespec
   117  	Ino       uint64
   118  }
   119  
   120  type Statfs_t struct {
   121  	Type      int32
   122  	Bsize     int32
   123  	Blocks    uint64
   124  	Bfree     uint64
   125  	Bavail    uint64
   126  	Files     uint64
   127  	Ffree     uint64
   128  	Fsid      Fsid
   129  	Namelen   int32
   130  	Frsize    int32
   131  	Flags     int32
   132  	Spare     [4]int32
   133  	Pad_cgo_0 [4]byte
   134  }
   135  
   136  type Dirent struct {
   137  	Ino       uint64
   138  	Off       int64
   139  	Reclen    uint16
   140  	Type      uint8
   141  	Name      [256]uint8
   142  	Pad_cgo_0 [5]byte
   143  }
   144  
   145  type Fsid struct {
   146  	X__val [2]int32
   147  }
   148  
   149  type Flock_t struct {
   150  	Type      int16
   151  	Whence    int16
   152  	Pad_cgo_0 [4]byte
   153  	Start     int64
   154  	Len       int64
   155  	Pid       int32
   156  	Pad_cgo_1 [4]byte
   157  }
   158  
   159  type FscryptPolicy struct {
   160  	Version                   uint8
   161  	Contents_encryption_mode  uint8
   162  	Filenames_encryption_mode uint8
   163  	Flags                     uint8
   164  	Master_key_descriptor     [8]uint8
   165  }
   166  
   167  type FscryptKey struct {
   168  	Mode uint32
   169  	Raw  [64]uint8
   170  	Size uint32
   171  }
   172  
   173  type KeyctlDHParams struct {
   174  	Private int32
   175  	Prime   int32
   176  	Base    int32
   177  }
   178  
   179  const (
   180  	FADV_NORMAL     = 0x0
   181  	FADV_RANDOM     = 0x1
   182  	FADV_SEQUENTIAL = 0x2
   183  	FADV_WILLNEED   = 0x3
   184  	FADV_DONTNEED   = 0x4
   185  	FADV_NOREUSE    = 0x5
   186  )
   187  
   188  type RawSockaddrInet4 struct {
   189  	Family uint16
   190  	Port   uint16
   191  	Addr   [4]byte /* in_addr */
   192  	Zero   [8]uint8
   193  }
   194  
   195  type RawSockaddrInet6 struct {
   196  	Family   uint16
   197  	Port     uint16
   198  	Flowinfo uint32
   199  	Addr     [16]byte /* in6_addr */
   200  	Scope_id uint32
   201  }
   202  
   203  type RawSockaddrUnix struct {
   204  	Family uint16
   205  	Path   [108]int8
   206  }
   207  
   208  type RawSockaddrLinklayer struct {
   209  	Family   uint16
   210  	Protocol uint16
   211  	Ifindex  int32
   212  	Hatype   uint16
   213  	Pkttype  uint8
   214  	Halen    uint8
   215  	Addr     [8]uint8
   216  }
   217  
   218  type RawSockaddrNetlink struct {
   219  	Family uint16
   220  	Pad    uint16
   221  	Pid    uint32
   222  	Groups uint32
   223  }
   224  
   225  type RawSockaddrHCI struct {
   226  	Family  uint16
   227  	Dev     uint16
   228  	Channel uint16
   229  }
   230  
   231  type RawSockaddrCAN struct {
   232  	Family    uint16
   233  	Pad_cgo_0 [2]byte
   234  	Ifindex   int32
   235  	Addr      [8]byte
   236  }
   237  
   238  type RawSockaddrALG struct {
   239  	Family uint16
   240  	Type   [14]uint8
   241  	Feat   uint32
   242  	Mask   uint32
   243  	Name   [64]uint8
   244  }
   245  
   246  type RawSockaddrVM struct {
   247  	Family    uint16
   248  	Reserved1 uint16
   249  	Port      uint32
   250  	Cid       uint32
   251  	Zero      [4]uint8
   252  }
   253  
   254  type RawSockaddr struct {
   255  	Family uint16
   256  	Data   [14]uint8
   257  }
   258  
   259  type RawSockaddrAny struct {
   260  	Addr RawSockaddr
   261  	Pad  [96]uint8
   262  }
   263  
   264  type _Socklen uint32
   265  
   266  type Linger struct {
   267  	Onoff  int32
   268  	Linger int32
   269  }
   270  
   271  type Iovec struct {
   272  	Base *byte
   273  	Len  uint32
   274  }
   275  
   276  type IPMreq struct {
   277  	Multiaddr [4]byte /* in_addr */
   278  	Interface [4]byte /* in_addr */
   279  }
   280  
   281  type IPMreqn struct {
   282  	Multiaddr [4]byte /* in_addr */
   283  	Address   [4]byte /* in_addr */
   284  	Ifindex   int32
   285  }
   286  
   287  type IPv6Mreq struct {
   288  	Multiaddr [16]byte /* in6_addr */
   289  	Interface uint32
   290  }
   291  
   292  type PacketMreq struct {
   293  	Ifindex int32
   294  	Type    uint16
   295  	Alen    uint16
   296  	Address [8]uint8
   297  }
   298  
   299  type Msghdr struct {
   300  	Name       *byte
   301  	Namelen    uint32
   302  	Iov        *Iovec
   303  	Iovlen     uint32
   304  	Control    *byte
   305  	Controllen uint32
   306  	Flags      int32
   307  }
   308  
   309  type Cmsghdr struct {
   310  	Len   uint32
   311  	Level int32
   312  	Type  int32
   313  }
   314  
   315  type Inet4Pktinfo struct {
   316  	Ifindex  int32
   317  	Spec_dst [4]byte /* in_addr */
   318  	Addr     [4]byte /* in_addr */
   319  }
   320  
   321  type Inet6Pktinfo struct {
   322  	Addr    [16]byte /* in6_addr */
   323  	Ifindex uint32
   324  }
   325  
   326  type IPv6MTUInfo struct {
   327  	Addr RawSockaddrInet6
   328  	Mtu  uint32
   329  }
   330  
   331  type ICMPv6Filter struct {
   332  	Data [8]uint32
   333  }
   334  
   335  type Ucred struct {
   336  	Pid int32
   337  	Uid uint32
   338  	Gid uint32
   339  }
   340  
   341  type TCPInfo struct {
   342  	State          uint8
   343  	Ca_state       uint8
   344  	Retransmits    uint8
   345  	Probes         uint8
   346  	Backoff        uint8
   347  	Options        uint8
   348  	Pad_cgo_0      [2]byte
   349  	Rto            uint32
   350  	Ato            uint32
   351  	Snd_mss        uint32
   352  	Rcv_mss        uint32
   353  	Unacked        uint32
   354  	Sacked         uint32
   355  	Lost           uint32
   356  	Retrans        uint32
   357  	Fackets        uint32
   358  	Last_data_sent uint32
   359  	Last_ack_sent  uint32
   360  	Last_data_recv uint32
   361  	Last_ack_recv  uint32
   362  	Pmtu           uint32
   363  	Rcv_ssthresh   uint32
   364  	Rtt            uint32
   365  	Rttvar         uint32
   366  	Snd_ssthresh   uint32
   367  	Snd_cwnd       uint32
   368  	Advmss         uint32
   369  	Reordering     uint32
   370  	Rcv_rtt        uint32
   371  	Rcv_space      uint32
   372  	Total_retrans  uint32
   373  }
   374  
   375  const (
   376  	SizeofSockaddrInet4     = 0x10
   377  	SizeofSockaddrInet6     = 0x1c
   378  	SizeofSockaddrAny       = 0x70
   379  	SizeofSockaddrUnix      = 0x6e
   380  	SizeofSockaddrLinklayer = 0x14
   381  	SizeofSockaddrNetlink   = 0xc
   382  	SizeofSockaddrHCI       = 0x6
   383  	SizeofSockaddrCAN       = 0x10
   384  	SizeofSockaddrALG       = 0x58
   385  	SizeofSockaddrVM        = 0x10
   386  	SizeofLinger            = 0x8
   387  	SizeofIovec             = 0x8
   388  	SizeofIPMreq            = 0x8
   389  	SizeofIPMreqn           = 0xc
   390  	SizeofIPv6Mreq          = 0x14
   391  	SizeofPacketMreq        = 0x10
   392  	SizeofMsghdr            = 0x1c
   393  	SizeofCmsghdr           = 0xc
   394  	SizeofInet4Pktinfo      = 0xc
   395  	SizeofInet6Pktinfo      = 0x14
   396  	SizeofIPv6MTUInfo       = 0x20
   397  	SizeofICMPv6Filter      = 0x20
   398  	SizeofUcred             = 0xc
   399  	SizeofTCPInfo           = 0x68
   400  )
   401  
   402  const (
   403  	IFA_UNSPEC          = 0x0
   404  	IFA_ADDRESS         = 0x1
   405  	IFA_LOCAL           = 0x2
   406  	IFA_LABEL           = 0x3
   407  	IFA_BROADCAST       = 0x4
   408  	IFA_ANYCAST         = 0x5
   409  	IFA_CACHEINFO       = 0x6
   410  	IFA_MULTICAST       = 0x7
   411  	IFLA_UNSPEC         = 0x0
   412  	IFLA_ADDRESS        = 0x1
   413  	IFLA_BROADCAST      = 0x2
   414  	IFLA_IFNAME         = 0x3
   415  	IFLA_MTU            = 0x4
   416  	IFLA_LINK           = 0x5
   417  	IFLA_QDISC          = 0x6
   418  	IFLA_STATS          = 0x7
   419  	IFLA_COST           = 0x8
   420  	IFLA_PRIORITY       = 0x9
   421  	IFLA_MASTER         = 0xa
   422  	IFLA_WIRELESS       = 0xb
   423  	IFLA_PROTINFO       = 0xc
   424  	IFLA_TXQLEN         = 0xd
   425  	IFLA_MAP            = 0xe
   426  	IFLA_WEIGHT         = 0xf
   427  	IFLA_OPERSTATE      = 0x10
   428  	IFLA_LINKMODE       = 0x11
   429  	IFLA_LINKINFO       = 0x12
   430  	IFLA_NET_NS_PID     = 0x13
   431  	IFLA_IFALIAS        = 0x14
   432  	IFLA_MAX            = 0x2c
   433  	RT_SCOPE_UNIVERSE   = 0x0
   434  	RT_SCOPE_SITE       = 0xc8
   435  	RT_SCOPE_LINK       = 0xfd
   436  	RT_SCOPE_HOST       = 0xfe
   437  	RT_SCOPE_NOWHERE    = 0xff
   438  	RT_TABLE_UNSPEC     = 0x0
   439  	RT_TABLE_COMPAT     = 0xfc
   440  	RT_TABLE_DEFAULT    = 0xfd
   441  	RT_TABLE_MAIN       = 0xfe
   442  	RT_TABLE_LOCAL      = 0xff
   443  	RT_TABLE_MAX        = 0xffffffff
   444  	RTA_UNSPEC          = 0x0
   445  	RTA_DST             = 0x1
   446  	RTA_SRC             = 0x2
   447  	RTA_IIF             = 0x3
   448  	RTA_OIF             = 0x4
   449  	RTA_GATEWAY         = 0x5
   450  	RTA_PRIORITY        = 0x6
   451  	RTA_PREFSRC         = 0x7
   452  	RTA_METRICS         = 0x8
   453  	RTA_MULTIPATH       = 0x9
   454  	RTA_FLOW            = 0xb
   455  	RTA_CACHEINFO       = 0xc
   456  	RTA_TABLE           = 0xf
   457  	RTN_UNSPEC          = 0x0
   458  	RTN_UNICAST         = 0x1
   459  	RTN_LOCAL           = 0x2
   460  	RTN_BROADCAST       = 0x3
   461  	RTN_ANYCAST         = 0x4
   462  	RTN_MULTICAST       = 0x5
   463  	RTN_BLACKHOLE       = 0x6
   464  	RTN_UNREACHABLE     = 0x7
   465  	RTN_PROHIBIT        = 0x8
   466  	RTN_THROW           = 0x9
   467  	RTN_NAT             = 0xa
   468  	RTN_XRESOLVE        = 0xb
   469  	RTNLGRP_NONE        = 0x0
   470  	RTNLGRP_LINK        = 0x1
   471  	RTNLGRP_NOTIFY      = 0x2
   472  	RTNLGRP_NEIGH       = 0x3
   473  	RTNLGRP_TC          = 0x4
   474  	RTNLGRP_IPV4_IFADDR = 0x5
   475  	RTNLGRP_IPV4_MROUTE = 0x6
   476  	RTNLGRP_IPV4_ROUTE  = 0x7
   477  	RTNLGRP_IPV4_RULE   = 0x8
   478  	RTNLGRP_IPV6_IFADDR = 0x9
   479  	RTNLGRP_IPV6_MROUTE = 0xa
   480  	RTNLGRP_IPV6_ROUTE  = 0xb
   481  	RTNLGRP_IPV6_IFINFO = 0xc
   482  	RTNLGRP_IPV6_PREFIX = 0x12
   483  	RTNLGRP_IPV6_RULE   = 0x13
   484  	RTNLGRP_ND_USEROPT  = 0x14
   485  	SizeofNlMsghdr      = 0x10
   486  	SizeofNlMsgerr      = 0x14
   487  	SizeofRtGenmsg      = 0x1
   488  	SizeofNlAttr        = 0x4
   489  	SizeofRtAttr        = 0x4
   490  	SizeofIfInfomsg     = 0x10
   491  	SizeofIfAddrmsg     = 0x8
   492  	SizeofRtMsg         = 0xc
   493  	SizeofRtNexthop     = 0x8
   494  )
   495  
   496  type NlMsghdr struct {
   497  	Len   uint32
   498  	Type  uint16
   499  	Flags uint16
   500  	Seq   uint32
   501  	Pid   uint32
   502  }
   503  
   504  type NlMsgerr struct {
   505  	Error int32
   506  	Msg   NlMsghdr
   507  }
   508  
   509  type RtGenmsg struct {
   510  	Family uint8
   511  }
   512  
   513  type NlAttr struct {
   514  	Len  uint16
   515  	Type uint16
   516  }
   517  
   518  type RtAttr struct {
   519  	Len  uint16
   520  	Type uint16
   521  }
   522  
   523  type IfInfomsg struct {
   524  	Family     uint8
   525  	X__ifi_pad uint8
   526  	Type       uint16
   527  	Index      int32
   528  	Flags      uint32
   529  	Change     uint32
   530  }
   531  
   532  type IfAddrmsg struct {
   533  	Family    uint8
   534  	Prefixlen uint8
   535  	Flags     uint8
   536  	Scope     uint8
   537  	Index     uint32
   538  }
   539  
   540  type RtMsg struct {
   541  	Family   uint8
   542  	Dst_len  uint8
   543  	Src_len  uint8
   544  	Tos      uint8
   545  	Table    uint8
   546  	Protocol uint8
   547  	Scope    uint8
   548  	Type     uint8
   549  	Flags    uint32
   550  }
   551  
   552  type RtNexthop struct {
   553  	Len     uint16
   554  	Flags   uint8
   555  	Hops    uint8
   556  	Ifindex int32
   557  }
   558  
   559  const (
   560  	SizeofSockFilter = 0x8
   561  	SizeofSockFprog  = 0x8
   562  )
   563  
   564  type SockFilter struct {
   565  	Code uint16
   566  	Jt   uint8
   567  	Jf   uint8
   568  	K    uint32
   569  }
   570  
   571  type SockFprog struct {
   572  	Len       uint16
   573  	Pad_cgo_0 [2]byte
   574  	Filter    *SockFilter
   575  }
   576  
   577  type InotifyEvent struct {
   578  	Wd     int32
   579  	Mask   uint32
   580  	Cookie uint32
   581  	Len    uint32
   582  }
   583  
   584  const SizeofInotifyEvent = 0x10
   585  
   586  type PtraceRegs struct {
   587  	Uregs [18]uint32
   588  }
   589  
   590  type FdSet struct {
   591  	Bits [32]int32
   592  }
   593  
   594  type Sysinfo_t struct {
   595  	Uptime    int32
   596  	Loads     [3]uint32
   597  	Totalram  uint32
   598  	Freeram   uint32
   599  	Sharedram uint32
   600  	Bufferram uint32
   601  	Totalswap uint32
   602  	Freeswap  uint32
   603  	Procs     uint16
   604  	Pad       uint16
   605  	Totalhigh uint32
   606  	Freehigh  uint32
   607  	Unit      uint32
   608  	X_f       [8]uint8
   609  }
   610  
   611  type Utsname struct {
   612  	Sysname    [65]uint8
   613  	Nodename   [65]uint8
   614  	Release    [65]uint8
   615  	Version    [65]uint8
   616  	Machine    [65]uint8
   617  	Domainname [65]uint8
   618  }
   619  
   620  type Ustat_t struct {
   621  	Tfree  int32
   622  	Tinode uint32
   623  	Fname  [6]uint8
   624  	Fpack  [6]uint8
   625  }
   626  
   627  type EpollEvent struct {
   628  	Events uint32
   629  	PadFd  int32
   630  	Fd     int32
   631  	Pad    int32
   632  }
   633  
   634  const (
   635  	AT_FDCWD            = -0x64
   636  	AT_REMOVEDIR        = 0x200
   637  	AT_SYMLINK_FOLLOW   = 0x400
   638  	AT_SYMLINK_NOFOLLOW = 0x100
   639  )
   640  
   641  type PollFd struct {
   642  	Fd      int32
   643  	Events  int16
   644  	Revents int16
   645  }
   646  
   647  const (
   648  	POLLIN    = 0x1
   649  	POLLPRI   = 0x2
   650  	POLLOUT   = 0x4
   651  	POLLRDHUP = 0x2000
   652  	POLLERR   = 0x8
   653  	POLLHUP   = 0x10
   654  	POLLNVAL  = 0x20
   655  )
   656  
   657  type Sigset_t struct {
   658  	X__val [32]uint32
   659  }
   660  
   661  const RNDGETENTCNT = 0x80045200
   662  
   663  const PERF_IOC_FLAG_GROUP = 0x1
   664  
   665  type Termios struct {
   666  	Iflag  uint32
   667  	Oflag  uint32
   668  	Cflag  uint32
   669  	Lflag  uint32
   670  	Line   uint8
   671  	Cc     [19]uint8
   672  	Ispeed uint32
   673  	Ospeed uint32
   674  }
   675  
   676  type Winsize struct {
   677  	Row    uint16
   678  	Col    uint16
   679  	Xpixel uint16
   680  	Ypixel uint16
   681  }
   682  
   683  type Taskstats struct {
   684  	Version                   uint16
   685  	Pad_cgo_0                 [2]byte
   686  	Ac_exitcode               uint32
   687  	Ac_flag                   uint8
   688  	Ac_nice                   uint8
   689  	Pad_cgo_1                 [6]byte
   690  	Cpu_count                 uint64
   691  	Cpu_delay_total           uint64
   692  	Blkio_count               uint64
   693  	Blkio_delay_total         uint64
   694  	Swapin_count              uint64
   695  	Swapin_delay_total        uint64
   696  	Cpu_run_real_total        uint64
   697  	Cpu_run_virtual_total     uint64
   698  	Ac_comm                   [32]uint8
   699  	Ac_sched                  uint8
   700  	Ac_pad                    [3]uint8
   701  	Pad_cgo_2                 [4]byte
   702  	Ac_uid                    uint32
   703  	Ac_gid                    uint32
   704  	Ac_pid                    uint32
   705  	Ac_ppid                   uint32
   706  	Ac_btime                  uint32
   707  	Pad_cgo_3                 [4]byte
   708  	Ac_etime                  uint64
   709  	Ac_utime                  uint64
   710  	Ac_stime                  uint64
   711  	Ac_minflt                 uint64
   712  	Ac_majflt                 uint64
   713  	Coremem                   uint64
   714  	Virtmem                   uint64
   715  	Hiwater_rss               uint64
   716  	Hiwater_vm                uint64
   717  	Read_char                 uint64
   718  	Write_char                uint64
   719  	Read_syscalls             uint64
   720  	Write_syscalls            uint64
   721  	Read_bytes                uint64
   722  	Write_bytes               uint64
   723  	Cancelled_write_bytes     uint64
   724  	Nvcsw                     uint64
   725  	Nivcsw                    uint64
   726  	Ac_utimescaled            uint64
   727  	Ac_stimescaled            uint64
   728  	Cpu_scaled_run_real_total uint64
   729  	Freepages_count           uint64
   730  	Freepages_delay_total     uint64
   731  }
   732  
   733  const (
   734  	TASKSTATS_CMD_UNSPEC                  = 0x0
   735  	TASKSTATS_CMD_GET                     = 0x1
   736  	TASKSTATS_CMD_NEW                     = 0x2
   737  	TASKSTATS_TYPE_UNSPEC                 = 0x0
   738  	TASKSTATS_TYPE_PID                    = 0x1
   739  	TASKSTATS_TYPE_TGID                   = 0x2
   740  	TASKSTATS_TYPE_STATS                  = 0x3
   741  	TASKSTATS_TYPE_AGGR_PID               = 0x4
   742  	TASKSTATS_TYPE_AGGR_TGID              = 0x5
   743  	TASKSTATS_TYPE_NULL                   = 0x6
   744  	TASKSTATS_CMD_ATTR_UNSPEC             = 0x0
   745  	TASKSTATS_CMD_ATTR_PID                = 0x1
   746  	TASKSTATS_CMD_ATTR_TGID               = 0x2
   747  	TASKSTATS_CMD_ATTR_REGISTER_CPUMASK   = 0x3
   748  	TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK = 0x4
   749  )
   750  
   751  type Genlmsghdr struct {
   752  	Cmd      uint8
   753  	Version  uint8
   754  	Reserved uint16
   755  }
   756  
   757  const (
   758  	CTRL_CMD_UNSPEC            = 0x0
   759  	CTRL_CMD_NEWFAMILY         = 0x1
   760  	CTRL_CMD_DELFAMILY         = 0x2
   761  	CTRL_CMD_GETFAMILY         = 0x3
   762  	CTRL_CMD_NEWOPS            = 0x4
   763  	CTRL_CMD_DELOPS            = 0x5
   764  	CTRL_CMD_GETOPS            = 0x6
   765  	CTRL_CMD_NEWMCAST_GRP      = 0x7
   766  	CTRL_CMD_DELMCAST_GRP      = 0x8
   767  	CTRL_CMD_GETMCAST_GRP      = 0x9
   768  	CTRL_ATTR_UNSPEC           = 0x0
   769  	CTRL_ATTR_FAMILY_ID        = 0x1
   770  	CTRL_ATTR_FAMILY_NAME      = 0x2
   771  	CTRL_ATTR_VERSION          = 0x3
   772  	CTRL_ATTR_HDRSIZE          = 0x4
   773  	CTRL_ATTR_MAXATTR          = 0x5
   774  	CTRL_ATTR_OPS              = 0x6
   775  	CTRL_ATTR_MCAST_GROUPS     = 0x7
   776  	CTRL_ATTR_OP_UNSPEC        = 0x0
   777  	CTRL_ATTR_OP_ID            = 0x1
   778  	CTRL_ATTR_OP_FLAGS         = 0x2
   779  	CTRL_ATTR_MCAST_GRP_UNSPEC = 0x0
   780  	CTRL_ATTR_MCAST_GRP_NAME   = 0x1
   781  	CTRL_ATTR_MCAST_GRP_ID     = 0x2
   782  )