mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 06:12:08 +00:00
net: Export inet_offloads and inet6_offloads
Want to be able to use these in foo-over-udp offloads, etc. Signed-off-by: Tom Herbert <therbert@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
4e2840eee6
commit
ce3e02867e
@ -30,6 +30,7 @@
|
||||
|
||||
const struct net_protocol __rcu *inet_protos[MAX_INET_PROTOS] __read_mostly;
|
||||
const struct net_offload __rcu *inet_offloads[MAX_INET_PROTOS] __read_mostly;
|
||||
EXPORT_SYMBOL(inet_offloads);
|
||||
|
||||
int inet_add_protocol(const struct net_protocol *prot, unsigned char protocol)
|
||||
{
|
||||
|
@ -51,6 +51,7 @@ EXPORT_SYMBOL(inet6_del_protocol);
|
||||
#endif
|
||||
|
||||
const struct net_offload __rcu *inet6_offloads[MAX_INET_PROTOS] __read_mostly;
|
||||
EXPORT_SYMBOL(inet6_offloads);
|
||||
|
||||
int inet6_add_offload(const struct net_offload *prot, unsigned char protocol)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user