unix: add IfaCacheinfo on linux

Change-Id: Ifda2eed10f75eeddff7720676fd0a5feee78a7a5
Reviewed-on: https://go-review.googlesource.com/c/sys/+/195257
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Matt Layher <mdlayher@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
Tobias Klauser
2019-09-13 12:16:21 +00:00
committed by Tobias Klauser
parent bc967efca4
commit c3b328c6e5
14 changed files with 107 additions and 0 deletions
+3
View File
@@ -726,6 +726,7 @@ const (
SizeofRtAttr = C.sizeof_struct_rtattr
SizeofIfInfomsg = C.sizeof_struct_ifinfomsg
SizeofIfAddrmsg = C.sizeof_struct_ifaddrmsg
SizeofIfaCacheinfo = C.sizeof_struct_ifa_cacheinfo
SizeofRtMsg = C.sizeof_struct_rtmsg
SizeofRtNexthop = C.sizeof_struct_rtnexthop
SizeofNdUseroptmsg = C.sizeof_struct_nduseroptmsg
@@ -746,6 +747,8 @@ type IfInfomsg C.struct_ifinfomsg
type IfAddrmsg C.struct_ifaddrmsg
type IfaCacheinfo C.struct_ifa_cacheinfo
type RtMsg C.struct_rtmsg
type RtNexthop C.struct_rtnexthop