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