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