[qca-nss-sfe] Add support for SFE IPv6 Tunnels.
Change-Id: I36c6b4ede64a904f7befd63ca52aaae0b8fcde53
Signed-off-by: Suruchi Suman <quic_surusuma@quicinc.com>
diff --git a/sfe.h b/sfe.h
index d0e0a6d..01636f2 100644
--- a/sfe.h
+++ b/sfe.h
@@ -147,7 +147,7 @@
/*
* IPv6 APIs used by connection manager
*/
-int sfe_ipv6_recv(struct net_device *dev, struct sk_buff *skb, struct sfe_l2_info *l2_info);
+int sfe_ipv6_recv(struct net_device *dev, struct sk_buff *skb, struct sfe_l2_info *l2_info, bool tun_outer);
int sfe_ipv6_create_rule(struct sfe_ipv6_rule_create_msg *msg);
void sfe_ipv6_destroy_rule(struct sfe_ipv6_rule_destroy_msg *msg);
void sfe_ipv6_destroy_all_rules_for_dev(struct net_device *dev);
@@ -155,7 +155,7 @@
void sfe_ipv6_update_rule(struct sfe_ipv6_rule_create_msg *msg);
void sfe_ipv6_mark_rule(struct sfe_connection_mark *mark);
#else
-static inline int sfe_ipv6_recv(struct net_device *dev, struct sk_buff *skb, struct sfe_l2_info *l2_info)
+static inline int sfe_ipv6_recv(struct net_device *dev, struct sk_buff *skb, struct sfe_l2_info *l2_info, bool tun_outer)
{
return 0;
}
@@ -165,7 +165,7 @@
return 0;
}
-static inline void sfe_ipv6_destroy_rule(struct sfe_ipv6_rule_destroy_msg *msg);
+static inline void sfe_ipv6_destroy_rule(struct sfe_ipv6_rule_destroy_msg *msg)
{
return;
}