#include <linux/module.h>
#include <linux/netdevice.h>
#include <linux/spinlock.h>
#include <net/protocol.h>
#if IS_ENABLED(CONFIG_IPV6)
struct inet6_protocol __rcu *inet6_protos[MAX_INET_PROTOS] __read_mostly;
EXPORT_SYMBOL(…);
int inet6_add_protocol(const struct inet6_protocol *prot, unsigned char protocol)
{ … }
EXPORT_SYMBOL(…);
int inet6_del_protocol(const struct inet6_protocol *prot, unsigned char protocol)
{ … }
EXPORT_SYMBOL(…);
#endif
const struct net_offload __rcu *inet6_offloads[MAX_INET_PROTOS] __read_mostly;
EXPORT_SYMBOL(…);
int inet6_add_offload(const struct net_offload *prot, unsigned char protocol)
{ … }
EXPORT_SYMBOL(…);
int inet6_del_offload(const struct net_offload *prot, unsigned char protocol)
{ … }
EXPORT_SYMBOL(…);