unix: add type NdUseroptmsg on Linux

Change-Id: I06997987f2d54a1fbca098878a3bac473ec1bfc0
Reviewed-on: https://go-review.googlesource.com/c/163379
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
Tobias Klauser
2019-02-22 17:13:17 +00:00
committed by Tobias Klauser
parent a9d3bda3a2
commit cd391775e7
14 changed files with 159 additions and 0 deletions
+3
View File
@@ -662,6 +662,7 @@ const (
SizeofIfAddrmsg = C.sizeof_struct_ifaddrmsg
SizeofRtMsg = C.sizeof_struct_rtmsg
SizeofRtNexthop = C.sizeof_struct_rtnexthop
SizeofNdUseroptmsg = C.sizeof_struct_nduseroptmsg
)
type NlMsghdr C.struct_nlmsghdr
@@ -682,6 +683,8 @@ type RtMsg C.struct_rtmsg
type RtNexthop C.struct_rtnexthop
type NdUseroptmsg C.struct_nduseroptmsg
// Linux socket filter
const (