ipv6: support for fib route lwtunnel encap attributes
This patch adds support in ipv6 fib functions to parse Netlink RTA encap attributes and attach encap state data to rt6_info. Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
571e722676
commit
19e42e4515
@@ -51,6 +51,8 @@ struct fib6_config {
|
||||
struct nlattr *fc_mp;
|
||||
|
||||
struct nl_info fc_nlinfo;
|
||||
struct nlattr *fc_encap;
|
||||
u16 fc_encap_type;
|
||||
};
|
||||
|
||||
struct fib6_node {
|
||||
@@ -131,6 +133,7 @@ struct rt6_info {
|
||||
/* more non-fragment space at head required */
|
||||
unsigned short rt6i_nfheader_len;
|
||||
u8 rt6i_protocol;
|
||||
struct lwtunnel_state *rt6i_lwtstate;
|
||||
};
|
||||
|
||||
static inline struct inet6_dev *ip6_dst_idev(struct dst_entry *dst)
|
||||
|
||||
Reference in New Issue
Block a user