1package netlink 2 3// ideally golang.org/x/sys/unix would define IfReq but it only has 4// IFNAMSIZ, hence this minimalistic implementation 5const ( 6 SizeOfIfReq = 40 7 IFNAMSIZ = 16 8) 9 10type ifReq struct { 11 Name [IFNAMSIZ]byte 12 Flags uint16 13 pad [SizeOfIfReq - IFNAMSIZ - 2]byte 14} 15