aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/nexthop.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/nexthop.h')
-rw-r--r--include/net/nexthop.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net/nexthop.h b/include/net/nexthop.h
index 18e1f512f866..c0e4b0d92c39 100644
--- a/include/net/nexthop.h
+++ b/include/net/nexthop.h
@@ -29,6 +29,10 @@ struct nh_config {
int nh_ifindex;
struct net_device *dev;
+ union {
+ __be32 ipv4;
+ } gw;
+
u32 nlflags;
struct nl_info nlinfo;
};
@@ -42,6 +46,7 @@ struct nh_info {
union {
struct fib_nh_common fib_nhc;
+ struct fib_nh fib_nh;
};
};