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.
4 // +build mips64le,linux
24 type Timespec struct {
120 type Statfs_t struct {
148 type Flock_t struct {
158 type FscryptPolicy struct {
160 Contents_encryption_mode uint8
161 Filenames_encryption_mode uint8
163 Master_key_descriptor [8]uint8
166 type FscryptKey struct {
172 type KeyctlDHParams struct {
181 FADV_SEQUENTIAL = 0x2
187 type RawSockaddrInet4 struct {
190 Addr [4]byte /* in_addr */
194 type RawSockaddrInet6 struct {
198 Addr [16]byte /* in6_addr */
202 type RawSockaddrUnix struct {
207 type RawSockaddrLinklayer struct {
217 type RawSockaddrNetlink struct {
224 type RawSockaddrHCI struct {
230 type RawSockaddrCAN struct {
237 type RawSockaddrALG struct {
245 type RawSockaddrVM struct {
253 type RawSockaddr struct {
258 type RawSockaddrAny struct {
276 Multiaddr [4]byte /* in_addr */
277 Interface [4]byte /* in_addr */
280 type IPMreqn struct {
281 Multiaddr [4]byte /* in_addr */
282 Address [4]byte /* in_addr */
286 type IPv6Mreq struct {
287 Multiaddr [16]byte /* in6_addr */
291 type PacketMreq struct {
310 type Cmsghdr struct {
316 type Inet4Pktinfo struct {
318 Spec_dst [4]byte /* in_addr */
319 Addr [4]byte /* in_addr */
322 type Inet6Pktinfo struct {
323 Addr [16]byte /* in6_addr */
327 type IPv6MTUInfo struct {
328 Addr RawSockaddrInet6
332 type ICMPv6Filter struct {
342 type TCPInfo struct {
359 Last_data_sent uint32
361 Last_data_recv uint32
377 SizeofSockaddrInet4 = 0x10
378 SizeofSockaddrInet6 = 0x1c
379 SizeofSockaddrAny = 0x70
380 SizeofSockaddrUnix = 0x6e
381 SizeofSockaddrLinklayer = 0x14
382 SizeofSockaddrNetlink = 0xc
383 SizeofSockaddrHCI = 0x6
384 SizeofSockaddrCAN = 0x10
385 SizeofSockaddrALG = 0x58
386 SizeofSockaddrVM = 0x10
391 SizeofIPv6Mreq = 0x14
392 SizeofPacketMreq = 0x10
395 SizeofInet4Pktinfo = 0xc
396 SizeofInet6Pktinfo = 0x14
397 SizeofIPv6MTUInfo = 0x20
398 SizeofICMPv6Filter = 0x20
428 IFLA_OPERSTATE = 0x10
431 IFLA_NET_NS_PID = 0x13
434 RT_SCOPE_UNIVERSE = 0x0
438 RT_SCOPE_NOWHERE = 0xff
439 RT_TABLE_UNSPEC = 0x0
440 RT_TABLE_COMPAT = 0xfc
441 RT_TABLE_DEFAULT = 0xfd
443 RT_TABLE_LOCAL = 0xff
444 RT_TABLE_MAX = 0xffffffff
465 RTN_UNREACHABLE = 0x7
475 RTNLGRP_IPV4_IFADDR = 0x5
476 RTNLGRP_IPV4_MROUTE = 0x6
477 RTNLGRP_IPV4_ROUTE = 0x7
478 RTNLGRP_IPV4_RULE = 0x8
479 RTNLGRP_IPV6_IFADDR = 0x9
480 RTNLGRP_IPV6_MROUTE = 0xa
481 RTNLGRP_IPV6_ROUTE = 0xb
482 RTNLGRP_IPV6_IFINFO = 0xc
483 RTNLGRP_IPV6_PREFIX = 0x12
484 RTNLGRP_IPV6_RULE = 0x13
485 RTNLGRP_ND_USEROPT = 0x14
486 SizeofNlMsghdr = 0x10
487 SizeofNlMsgerr = 0x14
491 SizeofIfInfomsg = 0x10
492 SizeofIfAddrmsg = 0x8
494 SizeofRtNexthop = 0x8
497 type NlMsghdr struct {
505 type NlMsgerr struct {
510 type RtGenmsg struct {
524 type IfInfomsg struct {
533 type IfAddrmsg struct {
553 type RtNexthop struct {
561 SizeofSockFilter = 0x8
562 SizeofSockFprog = 0x10
565 type SockFilter struct {
572 type SockFprog struct {
578 type InotifyEvent struct {
585 const SizeofInotifyEvent = 0x10
587 type PtraceRegs struct {
601 type Sysinfo_t struct {
620 type Utsname struct {
629 type Ustat_t struct {
638 type EpollEvent struct {
647 AT_SYMLINK_FOLLOW = 0x400
648 AT_SYMLINK_NOFOLLOW = 0x100
667 type Sigset_t struct {
671 const RNDGETENTCNT = 0x40045200
673 const PERF_IOC_FLAG_GROUP = 0x1
675 const _SC_PAGESIZE = 0x1e
677 type Termios struct {
688 type Winsize struct {
695 type Taskstats struct {
703 Cpu_delay_total uint64
705 Blkio_delay_total uint64
707 Swapin_delay_total uint64
708 Cpu_run_real_total uint64
709 Cpu_run_virtual_total uint64
732 Write_syscalls uint64
735 Cancelled_write_bytes uint64
738 Ac_utimescaled uint64
739 Ac_stimescaled uint64
740 Cpu_scaled_run_real_total uint64
741 Freepages_count uint64
742 Freepages_delay_total uint64
746 TASKSTATS_CMD_UNSPEC = 0x0
747 TASKSTATS_CMD_GET = 0x1
748 TASKSTATS_CMD_NEW = 0x2
749 TASKSTATS_TYPE_UNSPEC = 0x0
750 TASKSTATS_TYPE_PID = 0x1
751 TASKSTATS_TYPE_TGID = 0x2
752 TASKSTATS_TYPE_STATS = 0x3
753 TASKSTATS_TYPE_AGGR_PID = 0x4
754 TASKSTATS_TYPE_AGGR_TGID = 0x5
755 TASKSTATS_TYPE_NULL = 0x6
756 TASKSTATS_CMD_ATTR_UNSPEC = 0x0
757 TASKSTATS_CMD_ATTR_PID = 0x1
758 TASKSTATS_CMD_ATTR_TGID = 0x2
759 TASKSTATS_CMD_ATTR_REGISTER_CPUMASK = 0x3
760 TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK = 0x4
763 type Genlmsghdr struct {
770 CTRL_CMD_UNSPEC = 0x0
771 CTRL_CMD_NEWFAMILY = 0x1
772 CTRL_CMD_DELFAMILY = 0x2
773 CTRL_CMD_GETFAMILY = 0x3
774 CTRL_CMD_NEWOPS = 0x4
775 CTRL_CMD_DELOPS = 0x5
776 CTRL_CMD_GETOPS = 0x6
777 CTRL_CMD_NEWMCAST_GRP = 0x7
778 CTRL_CMD_DELMCAST_GRP = 0x8
779 CTRL_CMD_GETMCAST_GRP = 0x9
780 CTRL_ATTR_UNSPEC = 0x0
781 CTRL_ATTR_FAMILY_ID = 0x1
782 CTRL_ATTR_FAMILY_NAME = 0x2
783 CTRL_ATTR_VERSION = 0x3
784 CTRL_ATTR_HDRSIZE = 0x4
785 CTRL_ATTR_MAXATTR = 0x5
787 CTRL_ATTR_MCAST_GROUPS = 0x7
788 CTRL_ATTR_OP_UNSPEC = 0x0
789 CTRL_ATTR_OP_ID = 0x1
790 CTRL_ATTR_OP_FLAGS = 0x2
791 CTRL_ATTR_MCAST_GRP_UNSPEC = 0x0
792 CTRL_ATTR_MCAST_GRP_NAME = 0x1
793 CTRL_ATTR_MCAST_GRP_ID = 0x2