libnetwork ipvs godeps

This commit is contained in:
m1093782566
2017-07-31 21:38:37 +08:00
parent 4457e43e7b
commit dcefbaefec
71 changed files with 10700 additions and 644 deletions

View File

@@ -0,0 +1,14 @@
package netlink
// ideally golang.org/x/sys/unix would define IfReq but it only has
// IFNAMSIZ, hence this minimalistic implementation
const (
SizeOfIfReq = 40
IFNAMSIZ = 16
)
type ifReq struct {
Name [IFNAMSIZ]byte
Flags uint16
pad [SizeOfIfReq - IFNAMSIZ - 2]byte
}