Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
lec.c File Reference
#include <linux/slab.h>
#include <linux/kernel.h>
#include <linux/bitops.h>
#include <linux/capability.h>
#include <linux/if_ether.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <net/sock.h>
#include <linux/skbuff.h>
#include <linux/ip.h>
#include <asm/byteorder.h>
#include <linux/uaccess.h>
#include <net/arp.h>
#include <net/dst.h>
#include <linux/proc_fs.h>
#include <linux/spinlock.h>
#include <linux/seq_file.h>
#include <linux/atmdev.h>
#include <linux/atmlec.h>
#include <linux/module.h>
#include <linux/init.h>
#include "lec.h"
#include "lec_arpc.h"
#include "resources.h"
#include <linux/types.h>
#include <linux/timer.h>
#include <linux/param.h>
#include <linux/atomic.h>
#include <linux/inetdevice.h>
#include <net/route.h>

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ":%s: " fmt, __func__
 
#define DUMP_PACKETS
 
#define LEC_UNRES_QUE_LEN
 
#define LEC_DATA_DIRECT_8023   2
 
#define LEC_DATA_DIRECT_8025   3
 
#define DEBUG_ARP_TABLE   0
 
#define LEC_ARP_REFRESH_INTERVAL   (3*HZ)
 
#define HASH(ch)   (ch & (LEC_ARP_TABLE_SIZE - 1))
 
#define dump_arp_table(priv)   do { } while (0)
 

Functions

 module_init (lane_module_init)
 
 module_exit (lane_module_cleanup)
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define DEBUG_ARP_TABLE   0

Definition at line 1229 of file lec.c.

#define dump_arp_table (   priv)    do { } while (0)

Definition at line 1474 of file lec.c.

#define DUMP_PACKETS
Value:
0 /*
* 0 = None,
* 1 = 30 first bytes
* 2 = Whole packet
*/

Definition at line 48 of file lec.c.

#define HASH (   ch)    (ch & (LEC_ARP_TABLE_SIZE - 1))

Definition at line 1240 of file lec.c.

#define LEC_ARP_REFRESH_INTERVAL   (3*HZ)

Definition at line 1231 of file lec.c.

#define LEC_DATA_DIRECT_8023   2

Definition at line 571 of file lec.c.

#define LEC_DATA_DIRECT_8025   3

Definition at line 572 of file lec.c.

#define LEC_UNRES_QUE_LEN
Value:
8 /*
* number of tx packets to queue for a
* single destination while waiting for SVC
*/

Definition at line 50 of file lec.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ":%s: " fmt, __func__

Definition at line 7 of file lec.c.

Function Documentation

module_exit ( lane_module_cleanup  )
module_init ( lane_module_init  )
MODULE_LICENSE ( "GPL"  )