#include <linux/cache.h>
#include <linux/module.h>
#include <linux/netdevice.h>
#include <linux/spinlock.h>
#include <net/protocol.h>
struct net_protocol __rcu *inet_protos[MAX_INET_PROTOS] __read_mostly;
EXPORT_SYMBOL(…);
const struct net_offload __rcu *inet_offloads[MAX_INET_PROTOS] __read_mostly;
EXPORT_SYMBOL(…);
int inet_add_protocol(const struct net_protocol *prot, unsigned char protocol)
{ … }
EXPORT_SYMBOL(…);
int inet_add_offload(const struct net_offload *prot, unsigned char protocol)
{ … }
EXPORT_SYMBOL(…);
int inet_del_protocol(const struct net_protocol *prot, unsigned char protocol)
{ … }
EXPORT_SYMBOL(…);
int inet_del_offload(const struct net_offload *prot, unsigned char protocol)
{ … }
EXPORT_SYMBOL(…);