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/module.h>
#include <linux/netdevice.h>
#include <linux/spinlock.h>
#include <net/protocol.h>

Go to the source code of this file.

Functions

int inet6_add_protocol (const struct inet6_protocol *prot, unsigned char protocol)
 
 EXPORT_SYMBOL (inet6_add_protocol)
 
int inet6_del_protocol (const struct inet6_protocol *prot, unsigned char protocol)
 
 EXPORT_SYMBOL (inet6_del_protocol)
 

Variables

struct inet6_protocol __rcu
*inet6_protos[MAX_INET_PROTOS
__read_mostly
 

Function Documentation

EXPORT_SYMBOL ( inet6_add_protocol  )
EXPORT_SYMBOL ( inet6_del_protocol  )
int inet6_add_protocol ( const struct inet6_protocol *  prot,
unsigned char  protocol 
)

Definition at line 30 of file protocol.c.

int inet6_del_protocol ( const struct inet6_protocol *  prot,
unsigned char  protocol 
)

Definition at line 41 of file protocol.c.

Variable Documentation

struct inet6_protocol __rcu* inet6_protos [MAX_INET_PROTOS] __read_mostly

Definition at line 28 of file protocol.c.