summaryrefslogtreecommitdiffstats
path: root/vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go')
-rw-r--r--vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go47
1 files changed, 24 insertions, 23 deletions
diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go b/vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go
index c9e1e64a2..6eb6c9600 100644
--- a/vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go
+++ b/vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go
@@ -1,6 +1,7 @@
+// cgo -godefs -- -Wall -Werror -static -I/tmp/include -m64 linux/types.go | go run mkpost.go
+// Code generated by the command above; see README.md. DO NOT EDIT.
+
// +build amd64,linux
-// Created by cgo -godefs - DO NOT EDIT
-// cgo -godefs types_linux.go
package unix
@@ -98,21 +99,21 @@ type Rlimit struct {
type _Gid_t uint32
type Stat_t struct {
- Dev uint64
- Ino uint64
- Nlink uint64
- Mode uint32
- Uid uint32
- Gid uint32
- X__pad0 int32
- Rdev uint64
- Size int64
- Blksize int64
- Blocks int64
- Atim Timespec
- Mtim Timespec
- Ctim Timespec
- X__unused [3]int64
+ Dev uint64
+ Ino uint64
+ Nlink uint64
+ Mode uint32
+ Uid uint32
+ Gid uint32
+ X__pad0 int32
+ Rdev uint64
+ Size int64
+ Blksize int64
+ Blocks int64
+ Atim Timespec
+ Mtim Timespec
+ Ctim Timespec
+ _ [3]int64
}
type Statfs_t struct {
@@ -279,10 +280,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 {
@@ -400,7 +400,7 @@ const (
IFLA_LINKINFO = 0x12
IFLA_NET_NS_PID = 0x13
IFLA_IFALIAS = 0x14
- IFLA_MAX = 0x1d
+ IFLA_MAX = 0x2b
RT_SCOPE_UNIVERSE = 0x0
RT_SCOPE_SITE = 0xc8
RT_SCOPE_LINK = 0xfd
@@ -550,7 +550,6 @@ type InotifyEvent struct {
Mask uint32
Cookie uint32
Len uint32
- Name [0]int8
}
const SizeofInotifyEvent = 0x10
@@ -659,6 +658,8 @@ type Sigset_t struct {
X__val [16]uint64
}
+const _SC_PAGESIZE = 0x1e
+
type Termios struct {
Iflag uint32
Oflag uint32