github.com/alexis81/domosgo@v0.0.0-20191016125037-5aee90a434af/Domos/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 _ [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 _ [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 _ [6]byte 110 Size int64 111 Blksize int32 112 _ [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 _ [4]byte 134 } 135 136 type StatxTimestamp struct { 137 Sec int64 138 Nsec uint32 139 X__reserved int32 140 } 141 142 type Statx_t struct { 143 Mask uint32 144 Blksize uint32 145 Attributes uint64 146 Nlink uint32 147 Uid uint32 148 Gid uint32 149 Mode uint16 150 _ [1]uint16 151 Ino uint64 152 Size uint64 153 Blocks uint64 154 Attributes_mask uint64 155 Atime StatxTimestamp 156 Btime StatxTimestamp 157 Ctime StatxTimestamp 158 Mtime StatxTimestamp 159 Rdev_major uint32 160 Rdev_minor uint32 161 Dev_major uint32 162 Dev_minor uint32 163 _ [14]uint64 164 } 165 166 type Dirent struct { 167 Ino uint64 168 Off int64 169 Reclen uint16 170 Type uint8 171 Name [256]uint8 172 _ [5]byte 173 } 174 175 type Fsid struct { 176 X__val [2]int32 177 } 178 179 type Flock_t struct { 180 Type int16 181 Whence int16 182 _ [4]byte 183 Start int64 184 Len int64 185 Pid int32 186 _ [4]byte 187 } 188 189 type FscryptPolicy struct { 190 Version uint8 191 Contents_encryption_mode uint8 192 Filenames_encryption_mode uint8 193 Flags uint8 194 Master_key_descriptor [8]uint8 195 } 196 197 type FscryptKey struct { 198 Mode uint32 199 Raw [64]uint8 200 Size uint32 201 } 202 203 type KeyctlDHParams struct { 204 Private int32 205 Prime int32 206 Base int32 207 } 208 209 const ( 210 FADV_NORMAL = 0x0 211 FADV_RANDOM = 0x1 212 FADV_SEQUENTIAL = 0x2 213 FADV_WILLNEED = 0x3 214 FADV_DONTNEED = 0x4 215 FADV_NOREUSE = 0x5 216 ) 217 218 type RawSockaddrInet4 struct { 219 Family uint16 220 Port uint16 221 Addr [4]byte /* in_addr */ 222 Zero [8]uint8 223 } 224 225 type RawSockaddrInet6 struct { 226 Family uint16 227 Port uint16 228 Flowinfo uint32 229 Addr [16]byte /* in6_addr */ 230 Scope_id uint32 231 } 232 233 type RawSockaddrUnix struct { 234 Family uint16 235 Path [108]int8 236 } 237 238 type RawSockaddrLinklayer struct { 239 Family uint16 240 Protocol uint16 241 Ifindex int32 242 Hatype uint16 243 Pkttype uint8 244 Halen uint8 245 Addr [8]uint8 246 } 247 248 type RawSockaddrNetlink struct { 249 Family uint16 250 Pad uint16 251 Pid uint32 252 Groups uint32 253 } 254 255 type RawSockaddrHCI struct { 256 Family uint16 257 Dev uint16 258 Channel uint16 259 } 260 261 type RawSockaddrL2 struct { 262 Family uint16 263 Psm uint16 264 Bdaddr [6]uint8 265 Cid uint16 266 Bdaddr_type uint8 267 _ [1]byte 268 } 269 270 type RawSockaddrCAN struct { 271 Family uint16 272 _ [2]byte 273 Ifindex int32 274 Addr [8]byte 275 } 276 277 type RawSockaddrALG struct { 278 Family uint16 279 Type [14]uint8 280 Feat uint32 281 Mask uint32 282 Name [64]uint8 283 } 284 285 type RawSockaddrVM struct { 286 Family uint16 287 Reserved1 uint16 288 Port uint32 289 Cid uint32 290 Zero [4]uint8 291 } 292 293 type RawSockaddr struct { 294 Family uint16 295 Data [14]uint8 296 } 297 298 type RawSockaddrAny struct { 299 Addr RawSockaddr 300 Pad [96]uint8 301 } 302 303 type _Socklen uint32 304 305 type Linger struct { 306 Onoff int32 307 Linger int32 308 } 309 310 type Iovec struct { 311 Base *byte 312 Len uint32 313 } 314 315 type IPMreq struct { 316 Multiaddr [4]byte /* in_addr */ 317 Interface [4]byte /* in_addr */ 318 } 319 320 type IPMreqn struct { 321 Multiaddr [4]byte /* in_addr */ 322 Address [4]byte /* in_addr */ 323 Ifindex int32 324 } 325 326 type IPv6Mreq struct { 327 Multiaddr [16]byte /* in6_addr */ 328 Interface uint32 329 } 330 331 type PacketMreq struct { 332 Ifindex int32 333 Type uint16 334 Alen uint16 335 Address [8]uint8 336 } 337 338 type Msghdr struct { 339 Name *byte 340 Namelen uint32 341 Iov *Iovec 342 Iovlen uint32 343 Control *byte 344 Controllen uint32 345 Flags int32 346 } 347 348 type Cmsghdr struct { 349 Len uint32 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 = 0x8 428 SizeofIPMreq = 0x8 429 SizeofIPMreqn = 0xc 430 SizeofIPv6Mreq = 0x14 431 SizeofPacketMreq = 0x10 432 SizeofMsghdr = 0x1c 433 SizeofCmsghdr = 0xc 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 = 0x8 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 _ [2]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 Uregs [18]uint32 654 } 655 656 type FdSet struct { 657 Bits [32]int32 658 } 659 660 type Sysinfo_t struct { 661 Uptime int32 662 Loads [3]uint32 663 Totalram uint32 664 Freeram uint32 665 Sharedram uint32 666 Bufferram uint32 667 Totalswap uint32 668 Freeswap uint32 669 Procs uint16 670 Pad uint16 671 Totalhigh uint32 672 Freehigh uint32 673 Unit uint32 674 X_f [8]uint8 675 } 676 677 type Utsname struct { 678 Sysname [65]byte 679 Nodename [65]byte 680 Release [65]byte 681 Version [65]byte 682 Machine [65]byte 683 Domainname [65]byte 684 } 685 686 type Ustat_t struct { 687 Tfree int32 688 Tinode uint32 689 Fname [6]uint8 690 Fpack [6]uint8 691 } 692 693 type EpollEvent struct { 694 Events uint32 695 PadFd int32 696 Fd int32 697 Pad int32 698 } 699 700 const ( 701 AT_EMPTY_PATH = 0x1000 702 AT_FDCWD = -0x64 703 AT_NO_AUTOMOUNT = 0x800 704 AT_REMOVEDIR = 0x200 705 706 AT_STATX_SYNC_AS_STAT = 0x0 707 AT_STATX_FORCE_SYNC = 0x2000 708 AT_STATX_DONT_SYNC = 0x4000 709 710 AT_SYMLINK_FOLLOW = 0x400 711 AT_SYMLINK_NOFOLLOW = 0x100 712 ) 713 714 type PollFd struct { 715 Fd int32 716 Events int16 717 Revents int16 718 } 719 720 const ( 721 POLLIN = 0x1 722 POLLPRI = 0x2 723 POLLOUT = 0x4 724 POLLRDHUP = 0x2000 725 POLLERR = 0x8 726 POLLHUP = 0x10 727 POLLNVAL = 0x20 728 ) 729 730 type Sigset_t struct { 731 X__val [32]uint32 732 } 733 734 const RNDGETENTCNT = 0x80045200 735 736 const PERF_IOC_FLAG_GROUP = 0x1 737 738 type Termios struct { 739 Iflag uint32 740 Oflag uint32 741 Cflag uint32 742 Lflag uint32 743 Line uint8 744 Cc [19]uint8 745 Ispeed uint32 746 Ospeed uint32 747 } 748 749 type Winsize struct { 750 Row uint16 751 Col uint16 752 Xpixel uint16 753 Ypixel uint16 754 } 755 756 type Taskstats struct { 757 Version uint16 758 _ [2]byte 759 Ac_exitcode uint32 760 Ac_flag uint8 761 Ac_nice uint8 762 _ [6]byte 763 Cpu_count uint64 764 Cpu_delay_total uint64 765 Blkio_count uint64 766 Blkio_delay_total uint64 767 Swapin_count uint64 768 Swapin_delay_total uint64 769 Cpu_run_real_total uint64 770 Cpu_run_virtual_total uint64 771 Ac_comm [32]uint8 772 Ac_sched uint8 773 Ac_pad [3]uint8 774 _ [4]byte 775 Ac_uid uint32 776 Ac_gid uint32 777 Ac_pid uint32 778 Ac_ppid uint32 779 Ac_btime uint32 780 _ [4]byte 781 Ac_etime uint64 782 Ac_utime uint64 783 Ac_stime uint64 784 Ac_minflt uint64 785 Ac_majflt uint64 786 Coremem uint64 787 Virtmem uint64 788 Hiwater_rss uint64 789 Hiwater_vm uint64 790 Read_char uint64 791 Write_char uint64 792 Read_syscalls uint64 793 Write_syscalls uint64 794 Read_bytes uint64 795 Write_bytes uint64 796 Cancelled_write_bytes uint64 797 Nvcsw uint64 798 Nivcsw uint64 799 Ac_utimescaled uint64 800 Ac_stimescaled uint64 801 Cpu_scaled_run_real_total uint64 802 Freepages_count uint64 803 Freepages_delay_total uint64 804 } 805 806 const ( 807 TASKSTATS_CMD_UNSPEC = 0x0 808 TASKSTATS_CMD_GET = 0x1 809 TASKSTATS_CMD_NEW = 0x2 810 TASKSTATS_TYPE_UNSPEC = 0x0 811 TASKSTATS_TYPE_PID = 0x1 812 TASKSTATS_TYPE_TGID = 0x2 813 TASKSTATS_TYPE_STATS = 0x3 814 TASKSTATS_TYPE_AGGR_PID = 0x4 815 TASKSTATS_TYPE_AGGR_TGID = 0x5 816 TASKSTATS_TYPE_NULL = 0x6 817 TASKSTATS_CMD_ATTR_UNSPEC = 0x0 818 TASKSTATS_CMD_ATTR_PID = 0x1 819 TASKSTATS_CMD_ATTR_TGID = 0x2 820 TASKSTATS_CMD_ATTR_REGISTER_CPUMASK = 0x3 821 TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK = 0x4 822 ) 823 824 type CGroupStats struct { 825 Sleeping uint64 826 Running uint64 827 Stopped uint64 828 Uninterruptible uint64 829 Io_wait uint64 830 } 831 832 const ( 833 CGROUPSTATS_CMD_UNSPEC = 0x3 834 CGROUPSTATS_CMD_GET = 0x4 835 CGROUPSTATS_CMD_NEW = 0x5 836 CGROUPSTATS_TYPE_UNSPEC = 0x0 837 CGROUPSTATS_TYPE_CGROUP_STATS = 0x1 838 CGROUPSTATS_CMD_ATTR_UNSPEC = 0x0 839 CGROUPSTATS_CMD_ATTR_FD = 0x1 840 ) 841 842 type Genlmsghdr struct { 843 Cmd uint8 844 Version uint8 845 Reserved uint16 846 } 847 848 const ( 849 CTRL_CMD_UNSPEC = 0x0 850 CTRL_CMD_NEWFAMILY = 0x1 851 CTRL_CMD_DELFAMILY = 0x2 852 CTRL_CMD_GETFAMILY = 0x3 853 CTRL_CMD_NEWOPS = 0x4 854 CTRL_CMD_DELOPS = 0x5 855 CTRL_CMD_GETOPS = 0x6 856 CTRL_CMD_NEWMCAST_GRP = 0x7 857 CTRL_CMD_DELMCAST_GRP = 0x8 858 CTRL_CMD_GETMCAST_GRP = 0x9 859 CTRL_ATTR_UNSPEC = 0x0 860 CTRL_ATTR_FAMILY_ID = 0x1 861 CTRL_ATTR_FAMILY_NAME = 0x2 862 CTRL_ATTR_VERSION = 0x3 863 CTRL_ATTR_HDRSIZE = 0x4 864 CTRL_ATTR_MAXATTR = 0x5 865 CTRL_ATTR_OPS = 0x6 866 CTRL_ATTR_MCAST_GROUPS = 0x7 867 CTRL_ATTR_OP_UNSPEC = 0x0 868 CTRL_ATTR_OP_ID = 0x1 869 CTRL_ATTR_OP_FLAGS = 0x2 870 CTRL_ATTR_MCAST_GRP_UNSPEC = 0x0 871 CTRL_ATTR_MCAST_GRP_NAME = 0x1 872 CTRL_ATTR_MCAST_GRP_ID = 0x2 873 ) 874 875 type cpuMask uint32 876 877 const ( 878 _CPU_SETSIZE = 0x400 879 _NCPUBITS = 0x20 880 ) 881 882 const ( 883 BDADDR_BREDR = 0x0 884 BDADDR_LE_PUBLIC = 0x1 885 BDADDR_LE_RANDOM = 0x2 886 )