Linux Kernel
3.7.1
|
#include <linux/cache.h>
#include <linux/module.h>
#include <linux/netdevice.h>
#include <linux/spinlock.h>
#include <net/protocol.h>
Go to the source code of this file.
Functions | |
int | inet_add_protocol (const struct net_protocol *prot, unsigned char protocol) |
EXPORT_SYMBOL (inet_add_protocol) | |
int | inet_del_protocol (const struct net_protocol *prot, unsigned char protocol) |
EXPORT_SYMBOL (inet_del_protocol) | |
Variables | |
struct net_protocol __rcu *inet_protos[MAX_INET_PROTOS] | __read_mostly |
EXPORT_SYMBOL | ( | inet_add_protocol | ) |
EXPORT_SYMBOL | ( | inet_del_protocol | ) |
int inet_add_protocol | ( | const struct net_protocol * | prot, |
unsigned char | protocol | ||
) |
Definition at line 37 of file protocol.c.
int inet_del_protocol | ( | const struct net_protocol * | prot, |
unsigned char | protocol | ||
) |
Definition at line 48 of file protocol.c.
struct net_protocol __rcu* inet_protos [MAX_INET_PROTOS] __read_mostly |
Definition at line 31 of file protocol.c.