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

Go to the source code of this file.

Macros

#define ID_REQUEST   1
 
#define ID_ASSIGNED   2
 
#define ID_DENIED   3
 
#define ID_CHK_REQ   4
 
#define ID_CHK_RES   5
 
#define ID_REMOVE   6
 
#define ID_VERIFY   7
 
#define TEI_ENTITY_ID   0xf
 
#define TEI_STATE_COUNT   (ST_TEI_IDVERIFY + 1)
 
#define TEI_EVENT_COUNT   (EV_T202 + 1)
 

Enumerations

enum  { ST_TEI_NOP, ST_TEI_IDREQ, ST_TEI_IDVERIFY }
 
enum  {
  EV_IDREQ, EV_ASSIGN, EV_DENIED, EV_CHKREQ,
  EV_REMOVE, EV_VERIFY, EV_T202
}
 

Functions

void tei_handler (struct PStack *st, u_char pr, struct sk_buff *skb)
 
void setstack_tei (struct PStack *st)
 
void init_tei (struct IsdnCardState *cs, int protocol)
 
void release_tei (struct IsdnCardState *cs)
 
int __init TeiNew (void)
 
void TeiFree (void)
 

Variables

const chartei_revision = "$Revision: 2.20.2.3 $"
 

Macro Definition Documentation

#define ID_ASSIGNED   2

Definition at line 27 of file tei.c.

#define ID_CHK_REQ   4

Definition at line 29 of file tei.c.

#define ID_CHK_RES   5

Definition at line 30 of file tei.c.

#define ID_DENIED   3

Definition at line 28 of file tei.c.

#define ID_REMOVE   6

Definition at line 31 of file tei.c.

#define ID_REQUEST   1

Definition at line 26 of file tei.c.

#define ID_VERIFY   7

Definition at line 32 of file tei.c.

#define TEI_ENTITY_ID   0xf

Definition at line 34 of file tei.c.

#define TEI_EVENT_COUNT   (EV_T202 + 1)

Definition at line 65 of file tei.c.

#define TEI_STATE_COUNT   (ST_TEI_IDVERIFY + 1)

Definition at line 46 of file tei.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
ST_TEI_NOP 
ST_TEI_IDREQ 
ST_TEI_IDVERIFY 

Definition at line 40 of file tei.c.

anonymous enum
Enumerator:
EV_IDREQ 
EV_ASSIGN 
EV_DENIED 
EV_CHKREQ 
EV_REMOVE 
EV_VERIFY 
EV_T202 

Definition at line 55 of file tei.c.

Function Documentation

void init_tei ( struct IsdnCardState *  cs,
int  protocol 
)

Definition at line 421 of file tei.c.

void release_tei ( struct IsdnCardState *  cs)

Definition at line 426 of file tei.c.

void setstack_tei ( struct PStack *  st)

Definition at line 405 of file tei.c.

void tei_handler ( struct PStack *  st,
u_char  pr,
struct sk_buff skb 
)
void TeiFree ( void  )

Definition at line 462 of file tei.c.

int __init TeiNew ( void  )

Definition at line 452 of file tei.c.

Variable Documentation

const char* tei_revision = "$Revision: 2.20.2.3 $"

Definition at line 24 of file tei.c.