mirror of
https://github.com/cloudnativelabs/kube-router.git
synced 2025-10-09 17:01:30 +02:00
42 lines
559 B
Go
42 lines
559 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
|
|
)
|