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