projects
/
platform
/
upstream
/
docker-engine.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Tizen_4.0 base
[platform/upstream/docker-engine.git]
/
vendor
/
github.com
/
vishvananda
/
netlink
/
link_tuntap_linux.go
1
package netlink
2
3
// ideally golang.org/x/sys/unix would define IfReq but it only has
4
// IFNAMSIZ, hence this minimalistic implementation
5
const (
6
SizeOfIfReq = 40
7
IFNAMSIZ = 16
8
)
9
10
type ifReq struct {
11
Name [IFNAMSIZ]byte
12
Flags uint16
13
pad [SizeOfIfReq - IFNAMSIZ - 2]byte
14
}