File tree 2 files changed +50
-0
lines changed 2 files changed +50
-0
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,7 @@ struct termios2 {
106
106
#include <linux/netfilter/nfnetlink.h>
107
107
#include <linux/netfilter.h>
108
108
#include <linux/netlink.h>
109
+ #include <linux/nexthop.h>
109
110
#include <linux/openat2.h>
110
111
#include <linux/perf_event.h>
111
112
#include <linux/random.h>
@@ -2303,3 +2304,23 @@ const (
2303
2304
type FsverityDigest C.struct_fsverity_digest
2304
2305
2305
2306
type FsverityEnableArg C.struct_fsverity_enable_arg
2307
+
2308
+ // nexthop
2309
+
2310
+ type Nhmsg C.struct_nhmsg
2311
+
2312
+ type NexthopGrp C.struct_nexthop_grp
2313
+
2314
+ const (
2315
+ NHA_UNSPEC = C .NHA_UNSPEC
2316
+ NHA_ID = C .NHA_ID
2317
+ NHA_GROUP = C .NHA_GROUP
2318
+ NHA_GROUP_TYPE = C .NHA_GROUP_TYPE
2319
+ NHA_BLACKHOLE = C .NHA_BLACKHOLE
2320
+ NHA_OIF = C .NHA_OIF
2321
+ NHA_GATEWAY = C .NHA_GATEWAY
2322
+ NHA_ENCAP_TYPE = C .NHA_ENCAP_TYPE
2323
+ NHA_ENCAP = C .NHA_ENCAP
2324
+ NHA_GROUPS = C .NHA_GROUPS
2325
+ NHA_MASTER = C .NHA_MASTER
2326
+ )
You can’t perform that action at this time.
0 commit comments