aboutsummaryrefslogtreecommitdiffstats
path: root/Godeps/_workspace/src/golang.org/x/sys/unix/ztypes_linux_arm64.go
diff options
context:
space:
mode:
Diffstat (limited to 'Godeps/_workspace/src/golang.org/x/sys/unix/ztypes_linux_arm64.go')
-rw-r--r--Godeps/_workspace/src/golang.org/x/sys/unix/ztypes_linux_arm64.go29
1 files changed, 29 insertions, 0 deletions
diff --git a/Godeps/_workspace/src/golang.org/x/sys/unix/ztypes_linux_arm64.go b/Godeps/_workspace/src/golang.org/x/sys/unix/ztypes_linux_arm64.go
index a159aadab..e786addf7 100644
--- a/Godeps/_workspace/src/golang.org/x/sys/unix/ztypes_linux_arm64.go
+++ b/Godeps/_workspace/src/golang.org/x/sys/unix/ztypes_linux_arm64.go
@@ -200,6 +200,12 @@ type RawSockaddrNetlink struct {
Groups uint32
}
+type RawSockaddrHCI struct {
+ Family uint16
+ Dev uint16
+ Channel uint16
+}
+
type RawSockaddr struct {
Family uint16
Data [14]int8
@@ -324,6 +330,7 @@ const (
SizeofSockaddrUnix = 0x6e
SizeofSockaddrLinklayer = 0x14
SizeofSockaddrNetlink = 0xc
+ SizeofSockaddrHCI = 0x6
SizeofLinger = 0x8
SizeofIPMreq = 0x8
SizeofIPMreqn = 0xc
@@ -573,6 +580,7 @@ type Ustat_t struct {
type EpollEvent struct {
Events uint32
+ PadFd int32
Fd int32
Pad int32
}
@@ -580,9 +588,30 @@ type EpollEvent struct {
const (
AT_FDCWD = -0x64
AT_REMOVEDIR = 0x200
+ AT_SYMLINK_FOLLOW = 0x400
AT_SYMLINK_NOFOLLOW = 0x100
)
+type PollFd struct {
+ Fd int32
+ Events int16
+ Revents int16
+}
+
+const (
+ POLLIN = 0x1
+ POLLPRI = 0x2
+ POLLOUT = 0x4
+ POLLRDHUP = 0x2000
+ POLLERR = 0x8
+ POLLHUP = 0x10
+ POLLNVAL = 0x20
+)
+
+type Sigset_t struct {
+ X__val [16]uint64
+}
+
type Termios struct {
Iflag uint32
Oflag uint32