Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
br2684.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/list.h>
#include <linux/netdevice.h>
#include <linux/skbuff.h>
#include <linux/etherdevice.h>
#include <linux/rtnetlink.h>
#include <linux/ip.h>
#include <linux/uaccess.h>
#include <linux/slab.h>
#include <net/arp.h>
#include <linux/atm.h>
#include <linux/atmdev.h>
#include <linux/capability.h>
#include <linux/seq_file.h>
#include <linux/atmbr2684.h>
#include "common.h"

Go to the source code of this file.

Data Structures

struct  br2684_vcc
 
struct  br2684_dev
 

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ":%s: " fmt, __func__
 
#define BR2684_ETHERTYPE_LEN   2
 
#define BR2684_PAD_LEN   2
 
#define LLC   0xaa, 0xaa, 0x03
 
#define SNAP_BRIDGED   0x00, 0x80, 0xc2
 
#define SNAP_ROUTED   0x00, 0x00, 0x00
 
#define PID_ETHERNET   0x00, 0x07
 
#define ETHERTYPE_IPV4   0x08, 0x00
 
#define ETHERTYPE_IPV6   0x86, 0xdd
 
#define PAD_BRIDGED   0x00, 0x00
 

Enumerations

enum  br2684_encaps { e_vc = BR2684_ENCAPS_VC, e_llc = BR2684_ENCAPS_LLC }
 

Functions

 module_init (br2684_init)
 
 module_exit (br2684_exit)
 
 MODULE_AUTHOR ("Marcell GAL")
 
 MODULE_DESCRIPTION ("RFC2684 bridged protocols over ATM/AAL5")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define BR2684_ETHERTYPE_LEN   2

Definition at line 41 of file br2684.c.

#define BR2684_PAD_LEN   2

Definition at line 42 of file br2684.c.

#define ETHERTYPE_IPV4   0x08, 0x00

Definition at line 48 of file br2684.c.

#define ETHERTYPE_IPV6   0x86, 0xdd

Definition at line 49 of file br2684.c.

#define LLC   0xaa, 0xaa, 0x03

Definition at line 44 of file br2684.c.

#define PAD_BRIDGED   0x00, 0x00

Definition at line 50 of file br2684.c.

#define PID_ETHERNET   0x00, 0x07

Definition at line 47 of file br2684.c.

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

Definition at line 9 of file br2684.c.

#define SNAP_BRIDGED   0x00, 0x80, 0xc2

Definition at line 45 of file br2684.c.

#define SNAP_ROUTED   0x00, 0x00, 0x00

Definition at line 46 of file br2684.c.

Enumeration Type Documentation

Enumerator:
e_vc 
e_llc 

Definition at line 60 of file br2684.c.

Function Documentation

MODULE_AUTHOR ( "Marcell GAL"  )
MODULE_DESCRIPTION ( "RFC2684 bridged protocols over ATM/AAL5 )
module_exit ( br2684_exit  )
module_init ( br2684_init  )
MODULE_LICENSE ( "GPL"  )