udp: Generalize skb_udp_segment
[firefly-linux-kernel-4.4.55.git] / include / net / udp.h
index 16f4e80f0519c6dc0b180a9aec58c9231eda506e..07f9b70962f64f0a7e80fe1ebbc81996be2d4567 100644 (file)
@@ -239,7 +239,8 @@ int udp_ioctl(struct sock *sk, int cmd, unsigned long arg);
 int udp_disconnect(struct sock *sk, int flags);
 unsigned int udp_poll(struct file *file, struct socket *sock, poll_table *wait);
 struct sk_buff *skb_udp_tunnel_segment(struct sk_buff *skb,
-                                      netdev_features_t features);
+                                      netdev_features_t features,
+                                      bool is_ipv6);
 int udp_lib_getsockopt(struct sock *sk, int level, int optname,
                       char __user *optval, int __user *optlen);
 int udp_lib_setsockopt(struct sock *sk, int level, int optname,