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 ppc64le,linux
24 type Timespec struct {
121 type Statfs_t struct {
149 type Flock_t struct {
159 type FscryptPolicy struct {
161 Contents_encryption_mode uint8
162 Filenames_encryption_mode uint8
164 Master_key_descriptor [8]uint8
167 type FscryptKey struct {
173 type KeyctlDHParams struct {
182 FADV_SEQUENTIAL = 0x2
188 type RawSockaddrInet4 struct {
191 Addr [4]byte /* in_addr */
195 type RawSockaddrInet6 struct {
199 Addr [16]byte /* in6_addr */
203 type RawSockaddrUnix struct {
208 type RawSockaddrLinklayer struct {
218 type RawSockaddrNetlink struct {
225 type RawSockaddrHCI struct {
231 type RawSockaddrCAN struct {
238 type RawSockaddrALG struct {
246 type RawSockaddrVM struct {
254 type RawSockaddr struct {
259 type RawSockaddrAny struct {
277 Multiaddr [4]byte /* in_addr */
278 Interface [4]byte /* in_addr */
281 type IPMreqn struct {
282 Multiaddr [4]byte /* in_addr */
283 Address [4]byte /* in_addr */
287 type IPv6Mreq struct {
288 Multiaddr [16]byte /* in6_addr */
292 type PacketMreq struct {
311 type Cmsghdr struct {
317 type Inet4Pktinfo struct {
319 Spec_dst [4]byte /* in_addr */
320 Addr [4]byte /* in_addr */
323 type Inet6Pktinfo struct {
324 Addr [16]byte /* in6_addr */
328 type IPv6MTUInfo struct {
329 Addr RawSockaddrInet6
333 type ICMPv6Filter struct {
343 type TCPInfo struct {
360 Last_data_sent uint32
362 Last_data_recv uint32
378 SizeofSockaddrInet4 = 0x10
379 SizeofSockaddrInet6 = 0x1c
380 SizeofSockaddrAny = 0x70
381 SizeofSockaddrUnix = 0x6e
382 SizeofSockaddrLinklayer = 0x14
383 SizeofSockaddrNetlink = 0xc
384 SizeofSockaddrHCI = 0x6
385 SizeofSockaddrCAN = 0x10
386 SizeofSockaddrALG = 0x58
387 SizeofSockaddrVM = 0x10
392 SizeofIPv6Mreq = 0x14
393 SizeofPacketMreq = 0x10
396 SizeofInet4Pktinfo = 0xc
397 SizeofInet6Pktinfo = 0x14
398 SizeofIPv6MTUInfo = 0x20
399 SizeofICMPv6Filter = 0x20
429 IFLA_OPERSTATE = 0x10
432 IFLA_NET_NS_PID = 0x13
435 RT_SCOPE_UNIVERSE = 0x0
439 RT_SCOPE_NOWHERE = 0xff
440 RT_TABLE_UNSPEC = 0x0
441 RT_TABLE_COMPAT = 0xfc
442 RT_TABLE_DEFAULT = 0xfd
444 RT_TABLE_LOCAL = 0xff
445 RT_TABLE_MAX = 0xffffffff
466 RTN_UNREACHABLE = 0x7
476 RTNLGRP_IPV4_IFADDR = 0x5
477 RTNLGRP_IPV4_MROUTE = 0x6
478 RTNLGRP_IPV4_ROUTE = 0x7
479 RTNLGRP_IPV4_RULE = 0x8
480 RTNLGRP_IPV6_IFADDR = 0x9
481 RTNLGRP_IPV6_MROUTE = 0xa
482 RTNLGRP_IPV6_ROUTE = 0xb
483 RTNLGRP_IPV6_IFINFO = 0xc
484 RTNLGRP_IPV6_PREFIX = 0x12
485 RTNLGRP_IPV6_RULE = 0x13
486 RTNLGRP_ND_USEROPT = 0x14
487 SizeofNlMsghdr = 0x10
488 SizeofNlMsgerr = 0x14
492 SizeofIfInfomsg = 0x10
493 SizeofIfAddrmsg = 0x8
495 SizeofRtNexthop = 0x8
498 type NlMsghdr struct {
506 type NlMsgerr struct {
511 type RtGenmsg struct {
525 type IfInfomsg struct {
534 type IfAddrmsg struct {
554 type RtNexthop struct {
562 SizeofSockFilter = 0x8
563 SizeofSockFprog = 0x10
566 type SockFilter struct {
573 type SockFprog struct {
579 type InotifyEvent struct {
586 const SizeofInotifyEvent = 0x10
588 type PtraceRegs struct {
608 type Sysinfo_t struct {
627 type Utsname struct {
636 type Ustat_t struct {
645 type EpollEvent struct {
655 AT_SYMLINK_FOLLOW = 0x400
656 AT_SYMLINK_NOFOLLOW = 0x100
675 type Sigset_t struct {
679 const RNDGETENTCNT = 0x40045200
681 const PERF_IOC_FLAG_GROUP = 0x1
683 const _SC_PAGESIZE = 0x1e
685 type Termios struct {
696 type Winsize struct {
703 type Taskstats struct {
711 Cpu_delay_total uint64
713 Blkio_delay_total uint64
715 Swapin_delay_total uint64
716 Cpu_run_real_total uint64
717 Cpu_run_virtual_total uint64
740 Write_syscalls uint64
743 Cancelled_write_bytes uint64
746 Ac_utimescaled uint64
747 Ac_stimescaled uint64
748 Cpu_scaled_run_real_total uint64
749 Freepages_count uint64
750 Freepages_delay_total uint64
754 TASKSTATS_CMD_UNSPEC = 0x0
755 TASKSTATS_CMD_GET = 0x1
756 TASKSTATS_CMD_NEW = 0x2
757 TASKSTATS_TYPE_UNSPEC = 0x0
758 TASKSTATS_TYPE_PID = 0x1
759 TASKSTATS_TYPE_TGID = 0x2
760 TASKSTATS_TYPE_STATS = 0x3
761 TASKSTATS_TYPE_AGGR_PID = 0x4
762 TASKSTATS_TYPE_AGGR_TGID = 0x5
763 TASKSTATS_TYPE_NULL = 0x6
764 TASKSTATS_CMD_ATTR_UNSPEC = 0x0
765 TASKSTATS_CMD_ATTR_PID = 0x1
766 TASKSTATS_CMD_ATTR_TGID = 0x2
767 TASKSTATS_CMD_ATTR_REGISTER_CPUMASK = 0x3
768 TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK = 0x4
771 type Genlmsghdr struct {
778 CTRL_CMD_UNSPEC = 0x0
779 CTRL_CMD_NEWFAMILY = 0x1
780 CTRL_CMD_DELFAMILY = 0x2
781 CTRL_CMD_GETFAMILY = 0x3
782 CTRL_CMD_NEWOPS = 0x4
783 CTRL_CMD_DELOPS = 0x5
784 CTRL_CMD_GETOPS = 0x6
785 CTRL_CMD_NEWMCAST_GRP = 0x7
786 CTRL_CMD_DELMCAST_GRP = 0x8
787 CTRL_CMD_GETMCAST_GRP = 0x9
788 CTRL_ATTR_UNSPEC = 0x0
789 CTRL_ATTR_FAMILY_ID = 0x1
790 CTRL_ATTR_FAMILY_NAME = 0x2
791 CTRL_ATTR_VERSION = 0x3
792 CTRL_ATTR_HDRSIZE = 0x4
793 CTRL_ATTR_MAXATTR = 0x5
795 CTRL_ATTR_MCAST_GROUPS = 0x7
796 CTRL_ATTR_OP_UNSPEC = 0x0
797 CTRL_ATTR_OP_ID = 0x1
798 CTRL_ATTR_OP_FLAGS = 0x2
799 CTRL_ATTR_MCAST_GRP_UNSPEC = 0x0
800 CTRL_ATTR_MCAST_GRP_NAME = 0x1
801 CTRL_ATTR_MCAST_GRP_ID = 0x2