diff options
author | Roopa Prabhu <roopa@cumulusnetworks.com> | 2015-07-21 04:43:48 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-07-21 13:39:04 -0400 |
commit | 19e42e45150672124b6a4341e2bc7982d247f0ac (patch) | |
tree | eb160db4e0e26f493610d3fcf330512ab726145f /include | |
parent | 571e722676fe386bb66f72a75b64a6ebf535c077 (diff) |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/ip6_fib.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/ip6_fib.h b/include/net/ip6_fib.h index 3b76849c190f..276328e3daa6 100644 --- a/include/net/ip6_fib.h +++ b/include/net/ip6_fib.h | |||
@@ -51,6 +51,8 @@ struct fib6_config { | |||
51 | struct nlattr *fc_mp; | 51 | struct nlattr *fc_mp; |
52 | 52 | ||
53 | struct nl_info fc_nlinfo; | 53 | struct nl_info fc_nlinfo; |
54 | struct nlattr *fc_encap; | ||
55 | u16 fc_encap_type; | ||
54 | }; | 56 | }; |
55 | 57 | ||
56 | struct fib6_node { | 58 | struct fib6_node { |
@@ -131,6 +133,7 @@ struct rt6_info { | |||
131 | /* more non-fragment space at head required */ | 133 | /* more non-fragment space at head required */ |
132 | unsigned short rt6i_nfheader_len; | 134 | unsigned short rt6i_nfheader_len; |
133 | u8 rt6i_protocol; | 135 | u8 rt6i_protocol; |
136 | struct lwtunnel_state *rt6i_lwtstate; | ||
134 | }; | 137 | }; |
135 | 138 | ||
136 | static inline struct inet6_dev *ip6_dst_idev(struct dst_entry *dst) | 139 | static inline struct inet6_dev *ip6_dst_idev(struct dst_entry *dst) |