diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2013-06-08 12:56:03 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-12 09:47:25 +0200 |
commit | da5bab079f9b7d90ba234965a14914ace55e45e9 (patch) | |
tree | 868de978a44f6a59ccc7a2f4f9c096707c5bf044 /include/net/udp.h | |
parent | igmp: remove unnecessary in_device member zeroing (diff) | |
download | linux-da5bab079f9b7d90ba234965a14914ace55e45e9.tar.xz linux-da5bab079f9b7d90ba234965a14914ace55e45e9.zip |
net: udp4: move GSO functions to udp_offload
Similarly to TCP offloading and UDPv6 offloading, move all related
UDPv4 functions to udp_offload.c to make things more explicit. Also,
by this, we can make those functions static.
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/udp.h')
-rw-r--r-- | include/net/udp.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/net/udp.h b/include/net/udp.h index 065f379c6503..b30a71a51839 100644 --- a/include/net/udp.h +++ b/include/net/udp.h @@ -187,6 +187,8 @@ extern int udp_ioctl(struct sock *sk, int cmd, unsigned long arg); extern int udp_disconnect(struct sock *sk, int flags); extern unsigned int udp_poll(struct file *file, struct socket *sock, poll_table *wait); +extern struct sk_buff *skb_udp_tunnel_segment(struct sk_buff *skb, + netdev_features_t features); extern int udp_lib_getsockopt(struct sock *sk, int level, int optname, char __user *optval, int __user *optlen); extern int udp_lib_setsockopt(struct sock *sk, int level, int optname, @@ -262,11 +264,10 @@ extern int udp4_proc_init(void); extern void udp4_proc_exit(void); #endif +extern int udpv4_offload_init(void); + extern void udp_init(void); -extern int udp4_ufo_send_check(struct sk_buff *skb); -extern struct sk_buff *udp4_ufo_fragment(struct sk_buff *skb, - netdev_features_t features); extern void udp_encap_enable(void); #if IS_ENABLED(CONFIG_IPV6) extern void udpv6_encap_enable(void); |