aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/net/protocol.h
diff options
context:
space:
mode:
authorTom Herbert <tom@herbertland.com>2016-04-05 08:22:56 -0700
committerDavid S. Miller <davem@davemloft.net>2016-04-07 16:53:30 -0400
commit46aa2f30aa7fe03a4dcd732b009284c02ff4f093 (patch)
treed7c064a02842bad233e6aaaf9be93f95565c269f /include/net/protocol.h
parentgeneve: change to use UDP socket GRO (diff)
downloadwireguard-linux-46aa2f30aa7fe03a4dcd732b009284c02ff4f093.tar.xz
wireguard-linux-46aa2f30aa7fe03a4dcd732b009284c02ff4f093.zip
udp: Remove udp_offloads
Now that the UDP encapsulation GRO functions have been moved to the UDP socket we not longer need the udp_offload insfrastructure so removing it. Signed-off-by: Tom Herbert <tom@herbertland.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/protocol.h')
-rw-r--r--include/net/protocol.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/net/protocol.h b/include/net/protocol.h
index da689f5432de..bf36ca34af7a 100644
--- a/include/net/protocol.h
+++ b/include/net/protocol.h
@@ -107,9 +107,6 @@ int inet_del_offload(const struct net_offload *prot, unsigned char num);
void inet_register_protosw(struct inet_protosw *p);
void inet_unregister_protosw(struct inet_protosw *p);
-int udp_add_offload(struct net *net, struct udp_offload *prot);
-void udp_del_offload(struct udp_offload *prot);
-
#if IS_ENABLED(CONFIG_IPV6)
int inet6_add_protocol(const struct inet6_protocol *prot, unsigned char num);
int inet6_del_protocol(const struct inet6_protocol *prot, unsigned char num);