Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
garp.c File Reference
#include <linux/kernel.h>
#include <linux/timer.h>
#include <linux/skbuff.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/rtnetlink.h>
#include <linux/llc.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <net/llc.h>
#include <net/llc_pdu.h>
#include <net/garp.h>
#include <asm/unaligned.h>

Go to the source code of this file.

Data Structures

struct  garp_state_trans
 

Macros

#define LLC_RESERVE   sizeof(struct llc_pdu_un)
 

Functions

 module_param (garp_join_time, uint, 0644)
 
 MODULE_PARM_DESC (garp_join_time,"Join time in ms (default 200ms)")
 
 MODULE_LICENSE ("GPL")
 
int garp_request_join (const struct net_device *dev, const struct garp_application *appl, const void *data, u8 len, u8 type)
 
 EXPORT_SYMBOL_GPL (garp_request_join)
 
void garp_request_leave (const struct net_device *dev, const struct garp_application *appl, const void *data, u8 len, u8 type)
 
 EXPORT_SYMBOL_GPL (garp_request_leave)
 
int garp_init_applicant (struct net_device *dev, struct garp_application *appl)
 
 EXPORT_SYMBOL_GPL (garp_init_applicant)
 
void garp_uninit_applicant (struct net_device *dev, struct garp_application *appl)
 
 EXPORT_SYMBOL_GPL (garp_uninit_applicant)
 
int garp_register_application (struct garp_application *appl)
 
 EXPORT_SYMBOL_GPL (garp_register_application)
 
void garp_unregister_application (struct garp_application *appl)
 
 EXPORT_SYMBOL_GPL (garp_unregister_application)
 

Macro Definition Documentation

#define LLC_RESERVE   sizeof(struct llc_pdu_un)

Function Documentation

EXPORT_SYMBOL_GPL ( garp_request_join  )
EXPORT_SYMBOL_GPL ( garp_request_leave  )
EXPORT_SYMBOL_GPL ( garp_init_applicant  )
EXPORT_SYMBOL_GPL ( garp_uninit_applicant  )
EXPORT_SYMBOL_GPL ( garp_register_application  )
EXPORT_SYMBOL_GPL ( garp_unregister_application  )
int garp_init_applicant ( struct net_device dev,
struct garp_application appl 
)

Definition at line 559 of file garp.c.

int garp_register_application ( struct garp_application appl)

Definition at line 622 of file garp.c.

int garp_request_join ( const struct net_device dev,
const struct garp_application appl,
const void data,
u8  len,
u8  type 
)

Definition at line 344 of file garp.c.

void garp_request_leave ( const struct net_device dev,
const struct garp_application appl,
const void data,
u8  len,
u8  type 
)

Definition at line 364 of file garp.c.

void garp_uninit_applicant ( struct net_device dev,
struct garp_application appl 
)

Definition at line 600 of file garp.c.

void garp_unregister_application ( struct garp_application appl)

Definition at line 630 of file garp.c.

MODULE_LICENSE ( "GPL"  )
module_param ( garp_join_time  ,
uint  ,
0644   
)
MODULE_PARM_DESC ( garp_join_time  ,
"Join time in ms (default 200ms)"   
)