Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
stp.c File Reference
#include <linux/mutex.h>
#include <linux/skbuff.h>
#include <linux/etherdevice.h>
#include <linux/llc.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <net/llc.h>
#include <net/llc_pdu.h>
#include <net/stp.h>

Go to the source code of this file.

Macros

#define GARP_ADDR_MIN   0x20
 
#define GARP_ADDR_MAX   0x2F
 
#define GARP_ADDR_RANGE   (GARP_ADDR_MAX - GARP_ADDR_MIN)
 

Functions

int stp_proto_register (const struct stp_proto *proto)
 
 EXPORT_SYMBOL_GPL (stp_proto_register)
 
void stp_proto_unregister (const struct stp_proto *proto)
 
 EXPORT_SYMBOL_GPL (stp_proto_unregister)
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define GARP_ADDR_MAX   0x2F

Definition at line 22 of file stp.c.

#define GARP_ADDR_MIN   0x20

Definition at line 21 of file stp.c.

#define GARP_ADDR_RANGE   (GARP_ADDR_MAX - GARP_ADDR_MIN)

Definition at line 23 of file stp.c.

Function Documentation

EXPORT_SYMBOL_GPL ( stp_proto_register  )
EXPORT_SYMBOL_GPL ( stp_proto_unregister  )
MODULE_LICENSE ( "GPL"  )
int stp_proto_register ( const struct stp_proto proto)

Definition at line 65 of file stp.c.

void stp_proto_unregister ( const struct stp_proto proto)

Definition at line 88 of file stp.c.