Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
psnap.c File Reference
#include <linux/module.h>
#include <linux/netdevice.h>
#include <linux/skbuff.h>
#include <linux/slab.h>
#include <net/datalink.h>
#include <net/llc.h>
#include <net/psnap.h>
#include <linux/mm.h>
#include <linux/in.h>
#include <linux/init.h>
#include <linux/rculist.h>

Go to the source code of this file.

Functions

 EXPORT_SYMBOL (register_snap_client)
 
 EXPORT_SYMBOL (unregister_snap_client)
 
 module_init (snap_init)
 
 module_exit (snap_exit)
 
struct datalink_protoregister_snap_client (const unsigned char *desc, int(*rcvfunc)(struct sk_buff *, struct net_device *, struct packet_type *, struct net_device *))
 
void unregister_snap_client (struct datalink_proto *proto)
 
 MODULE_LICENSE ("GPL")
 

Function Documentation

EXPORT_SYMBOL ( register_snap_client  )
EXPORT_SYMBOL ( unregister_snap_client  )
module_exit ( snap_exit  )
module_init ( snap_init  )
MODULE_LICENSE ( "GPL"  )
struct datalink_proto* register_snap_client ( const unsigned char desc,
int(*)(struct sk_buff *, struct net_device *, struct packet_type *, struct net_device *)  rcvfunc 
)
read

Definition at line 126 of file psnap.c.

void unregister_snap_client ( struct datalink_proto proto)

Definition at line 156 of file psnap.c.