Skip to content

Commit ed38ca2

Browse files
tklausergopherbot
authored andcommitted
unix: add SizeofNhmsg and SizeofNexthopGrp
These were missed in CL 227357. For golang/go#38249 Change-Id: Iab75145ae77a027e11bc4cad75300af0a510a537 Reviewed-on: https://go-review.googlesource.com/c/sys/+/716780 Auto-Submit: Tobias Klauser <[email protected]> Reviewed-by: Michael Knyszek <[email protected]> Reviewed-by: Michael Pratt <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Florian Lehner <[email protected]>
1 parent 3675c4c commit ed38ca2

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

unix/linux/types.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3600,8 +3600,12 @@ type FsverityEnableArg C.struct_fsverity_enable_arg
36003600

36013601
type Nhmsg C.struct_nhmsg
36023602

3603+
const SizeofNhmsg = C.sizeof_struct_nhmsg
3604+
36033605
type NexthopGrp C.struct_nexthop_grp
36043606

3607+
const SizeofNexthopGrp = C.sizeof_struct_nexthop_grp
3608+
36053609
const (
36063610
NHA_UNSPEC = C.NHA_UNSPEC
36073611
NHA_ID = C.NHA_ID

unix/ztypes_linux.go

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)