ODPM 266: Go-libmemif + 2 examples.
[govpp.git] / vendor / golang.org / x / sys / unix / ztypes_linux_ppc64le.go
index 40d51d9..10947c3 100644 (file)
@@ -1,6 +1,7 @@
+// cgo -godefs -- -Wall -Werror -static -I/tmp/include linux/types.go | go run mkpost.go
+// Code generated by the command above; see README.md. DO NOT EDIT.
+
 // +build ppc64le,linux
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs types_linux.go
 
 package unix
 
@@ -98,23 +99,23 @@ type Rlimit struct {
 type _Gid_t uint32
 
 type Stat_t struct {
-       Dev                uint64
-       Ino                uint64
-       Nlink              uint64
-       Mode               uint32
-       Uid                uint32
-       Gid                uint32
-       X__pad2            int32
-       Rdev               uint64
-       Size               int64
-       Blksize            int64
-       Blocks             int64
-       Atim               Timespec
-       Mtim               Timespec
-       Ctim               Timespec
-       X__glibc_reserved4 uint64
-       X__glibc_reserved5 uint64
-       X__glibc_reserved6 uint64
+       Dev     uint64
+       Ino     uint64
+       Nlink   uint64
+       Mode    uint32
+       Uid     uint32
+       Gid     uint32
+       X__pad2 int32
+       Rdev    uint64
+       Size    int64
+       Blksize int64
+       Blocks  int64
+       Atim    Timespec
+       Mtim    Timespec
+       Ctim    Timespec
+       _       uint64
+       _       uint64
+       _       uint64
 }
 
 type Statfs_t struct {
@@ -155,6 +156,20 @@ type Flock_t struct {
        Pad_cgo_1 [4]byte
 }
 
+type FscryptPolicy struct {
+       Version                   uint8
+       Contents_encryption_mode  uint8
+       Filenames_encryption_mode uint8
+       Flags                     uint8
+       Master_key_descriptor     [8]uint8
+}
+
+type FscryptKey struct {
+       Mode uint32
+       Raw  [64]uint8
+       Size uint32
+}
+
 const (
        FADV_NORMAL     = 0x0
        FADV_RANDOM     = 0x1
@@ -222,6 +237,14 @@ type RawSockaddrALG struct {
        Name   [64]uint8
 }
 
+type RawSockaddrVM struct {
+       Family    uint16
+       Reserved1 uint16
+       Port      uint32
+       Cid       uint32
+       Zero      [4]uint8
+}
+
 type RawSockaddr struct {
        Family uint16
        Data   [14]uint8
@@ -273,10 +296,9 @@ type Msghdr struct {
 }
 
 type Cmsghdr struct {
-       Len          uint64
-       Level        int32
-       Type         int32
-       X__cmsg_data [0]uint8
+       Len   uint64
+       Level int32
+       Type  int32
 }
 
 type Inet4Pktinfo struct {
@@ -349,6 +371,7 @@ const (
        SizeofSockaddrHCI       = 0x6
        SizeofSockaddrCAN       = 0x10
        SizeofSockaddrALG       = 0x58
+       SizeofSockaddrVM        = 0x10
        SizeofLinger            = 0x8
        SizeofIPMreq            = 0x8
        SizeofIPMreqn           = 0xc
@@ -393,7 +416,7 @@ const (
        IFLA_LINKINFO       = 0x12
        IFLA_NET_NS_PID     = 0x13
        IFLA_IFALIAS        = 0x14
-       IFLA_MAX            = 0x22
+       IFLA_MAX            = 0x2b
        RT_SCOPE_UNIVERSE   = 0x0
        RT_SCOPE_SITE       = 0xc8
        RT_SCOPE_LINK       = 0xfd
@@ -543,7 +566,6 @@ type InotifyEvent struct {
        Mask   uint32
        Cookie uint32
        Len    uint32
-       Name   [0]uint8
 }
 
 const SizeofInotifyEvent = 0x10
@@ -639,6 +661,8 @@ type Sigset_t struct {
        X__val [16]uint64
 }
 
+const _SC_PAGESIZE = 0x1e
+
 type Termios struct {
        Iflag  uint32
        Oflag  uint32