diff options
Diffstat (limited to 'include/net/udp_tunnel.h')
-rw-r--r-- | include/net/udp_tunnel.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/net/udp_tunnel.h b/include/net/udp_tunnel.h index 2a50a70ef587..1a20d33d56bc 100644 --- a/include/net/udp_tunnel.h +++ b/include/net/udp_tunnel.h | |||
@@ -77,17 +77,17 @@ void setup_udp_tunnel_sock(struct net *net, struct socket *sock, | |||
77 | struct udp_tunnel_sock_cfg *sock_cfg); | 77 | struct udp_tunnel_sock_cfg *sock_cfg); |
78 | 78 | ||
79 | /* Transmit the skb using UDP encapsulation. */ | 79 | /* Transmit the skb using UDP encapsulation. */ |
80 | int udp_tunnel_xmit_skb(struct socket *sock, struct rtable *rt, | 80 | int udp_tunnel_xmit_skb(struct rtable *rt, struct sk_buff *skb, |
81 | struct sk_buff *skb, __be32 src, __be32 dst, | 81 | __be32 src, __be32 dst, __u8 tos, __u8 ttl, |
82 | __u8 tos, __u8 ttl, __be16 df, __be16 src_port, | 82 | __be16 df, __be16 src_port, __be16 dst_port, |
83 | __be16 dst_port, bool xnet); | 83 | bool xnet, bool nocheck); |
84 | 84 | ||
85 | #if IS_ENABLED(CONFIG_IPV6) | 85 | #if IS_ENABLED(CONFIG_IPV6) |
86 | int udp_tunnel6_xmit_skb(struct socket *sock, struct dst_entry *dst, | 86 | int udp_tunnel6_xmit_skb(struct dst_entry *dst, struct sk_buff *skb, |
87 | struct sk_buff *skb, struct net_device *dev, | 87 | struct net_device *dev, struct in6_addr *saddr, |
88 | struct in6_addr *saddr, struct in6_addr *daddr, | 88 | struct in6_addr *daddr, |
89 | __u8 prio, __u8 ttl, __be16 src_port, | 89 | __u8 prio, __u8 ttl, __be16 src_port, |
90 | __be16 dst_port); | 90 | __be16 dst_port, bool nocheck); |
91 | #endif | 91 | #endif |
92 | 92 | ||
93 | void udp_tunnel_sock_release(struct socket *sock); | 93 | void udp_tunnel_sock_release(struct socket *sock); |