Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions | Variables
isdnl2.c File Reference
#include <linux/init.h>
#include <linux/gfp.h>
#include "hisax.h"
#include "isdnl2.h"

Go to the source code of this file.

Macros

#define L2_STATE_COUNT   (ST_L2_8 + 1)
 
#define L2_EVENT_COUNT   (EV_L2_FRAME_ERROR + 1)
 
#define enqueue_ui(a, b)   enqueue_super(a, b)
 

Enumerations

enum  {
  ST_L2_1, ST_L2_2, ST_L2_3, ST_L2_4,
  ST_L2_5, ST_L2_6, ST_L2_7, ST_L2_8
}
 
enum  {
  EV_L2_UI, EV_L2_SABME, EV_L2_DISC, EV_L2_DM,
  EV_L2_UA, EV_L2_FRMR, EV_L2_SUPER, EV_L2_I,
  EV_L2_DL_DATA, EV_L2_ACK_PULL, EV_L2_DL_UNIT_DATA, EV_L2_DL_ESTABLISH_REQ,
  EV_L2_DL_RELEASE_REQ, EV_L2_MDL_ASSIGN, EV_L2_MDL_REMOVE, EV_L2_MDL_ERROR,
  EV_L1_DEACTIVATE, EV_L2_T200, EV_L2_T203, EV_L2_SET_OWN_BUSY,
  EV_L2_CLEAR_OWN_BUSY, EV_L2_FRAME_ERROR
}
 

Functions

void releasestack_isdnl2 (struct PStack *st)
 
void setstack_isdnl2 (struct PStack *st, char *debug_id)
 
void setstack_transl2 (struct PStack *st)
 
void releasestack_transl2 (struct PStack *st)
 
int __init Isdnl2New (void)
 
void Isdnl2Free (void)
 

Variables

const charl2_revision = "$Revision: 2.30.2.4 $"
 

Macro Definition Documentation

#define enqueue_ui (   a,
  b 
)    enqueue_super(a, b)

Definition at line 226 of file isdnl2.c.

#define L2_EVENT_COUNT   (EV_L2_FRAME_ERROR + 1)

Definition at line 79 of file isdnl2.c.

#define L2_STATE_COUNT   (ST_L2_8 + 1)

Definition at line 40 of file isdnl2.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
ST_L2_1 
ST_L2_2 
ST_L2_3 
ST_L2_4 
ST_L2_5 
ST_L2_6 
ST_L2_7 
ST_L2_8 

Definition at line 29 of file isdnl2.c.

anonymous enum
Enumerator:
EV_L2_UI 
EV_L2_SABME 
EV_L2_DISC 
EV_L2_DM 
EV_L2_UA 
EV_L2_FRMR 
EV_L2_SUPER 
EV_L2_I 
EV_L2_DL_DATA 
EV_L2_ACK_PULL 
EV_L2_DL_UNIT_DATA 
EV_L2_DL_ESTABLISH_REQ 
EV_L2_DL_RELEASE_REQ 
EV_L2_MDL_ASSIGN 
EV_L2_MDL_REMOVE 
EV_L2_MDL_ERROR 
EV_L1_DEACTIVATE 
EV_L2_T200 
EV_L2_T203 
EV_L2_SET_OWN_BUSY 
EV_L2_CLEAR_OWN_BUSY 
EV_L2_FRAME_ERROR 

Definition at line 54 of file isdnl2.c.

Function Documentation

void Isdnl2Free ( void  )

Definition at line 1840 of file isdnl2.c.

int __init Isdnl2New ( void  )

Definition at line 1830 of file isdnl2.c.

void releasestack_isdnl2 ( struct PStack *  st)

Definition at line 1754 of file isdnl2.c.

void releasestack_transl2 ( struct PStack *  st)

Definition at line 1825 of file isdnl2.c.

void setstack_isdnl2 ( struct PStack *  st,
char debug_id 
)

Definition at line 1775 of file isdnl2.c.

void setstack_transl2 ( struct PStack *  st)

Definition at line 1819 of file isdnl2.c.

Variable Documentation

const char* l2_revision = "$Revision: 2.30.2.4 $"

Definition at line 23 of file isdnl2.c.