Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
protocol.c File Reference
#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
 

Function Documentation

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.

Variable Documentation

Definition at line 31 of file protocol.c.