kube-router/vendor/github.com/hkwi/nlgo/syscall_linux_amd64.go
2017-04-17 10:33:09 +05:30

53 lines
699 B
Go

// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs syscall_ignore.go
package nlgo
const (
NLA_HDRLEN = 0x4
GENL_HDRLEN = 0x4
)
type GenlMsghdr struct {
Cmd uint8
Version uint8
Reserved uint16
}
type Ndmsg struct {
Family uint8
Pad1 uint8
Pad2 uint16
Ifindex int32
State uint16
Flags uint8
Type uint8
}
type Tcmsg struct {
Family uint8
X_pad1 uint8
X_pad2 uint16
Ifindex int32
Handle uint32
Parent uint32
Info uint32
}
const (
SizeofGenlMsghdr = 0x4
SizeofNdmsg = 0xc
SizeofTcmsg = 0x14
)
type NdaCacheinfo struct {
Confirmed uint32
Used uint32
Updated uint32
Refcnt uint32
}
const (
SizeofNdaCacheinfo = 0x10
)