nexthop: Add support for lwt encaps
Add support for NHA_ENCAP and NHA_ENCAP_TYPE. Leverages the existing code for lwtunnel within fib_nh_common, so the only change needed is handling the attributes in the nexthop code. Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
53010f991a
commit
b513bd035f
@@ -35,6 +35,9 @@ struct nh_config {
|
||||
struct in6_addr ipv6;
|
||||
} gw;
|
||||
|
||||
struct nlattr *nh_encap;
|
||||
u16 nh_encap_type;
|
||||
|
||||
u32 nlflags;
|
||||
struct nl_info nlinfo;
|
||||
};
|
||||
|
Reference in New Issue
Block a user