diff options
author | Martin Varghese <martin.varghese@nokia.com> | 2020-02-24 08:27:50 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-02-25 00:31:42 +0300 |
commit | 571912c69f0ed731bd1e071ade9dc7ca4aa52065 (patch) | |
tree | 319a2ff693104702ebfc44cbf22cbfebc5000fba /include/net/route.h | |
parent | 48851e9e802de3ede4ce81c3f7896c63e841adbc (diff) | |
download | linux-571912c69f0ed731bd1e071ade9dc7ca4aa52065.tar.xz |
net: UDP tunnel encapsulation module for tunnelling different protocols like MPLS, IP, NSH etc.
The Bareudp tunnel module provides a generic L3 encapsulation
tunnelling module for tunnelling different protocols like MPLS,
IP,NSH etc inside a UDP tunnel.
Signed-off-by: Martin Varghese <martin.varghese@nokia.com>
Acked-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/route.h')
-rw-r--r-- | include/net/route.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/net/route.h b/include/net/route.h index a9c60fc68e36..81750ae50833 100644 --- a/include/net/route.h +++ b/include/net/route.h @@ -128,6 +128,12 @@ static inline struct rtable *__ip_route_output_key(struct net *net, struct rtable *ip_route_output_flow(struct net *, struct flowi4 *flp, const struct sock *sk); +struct rtable *ip_route_output_tunnel(struct sk_buff *skb, + struct net_device *dev, + struct net *net, __be32 *saddr, + const struct ip_tunnel_info *info, + u8 protocol, bool use_cache); + struct dst_entry *ipv4_blackhole_route(struct net *net, struct dst_entry *dst_orig); |