Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
core.h File Reference

Go to the source code of this file.

Macros

#define mISDN_STACK_ACTION_MASK   0x0000ffff
 
#define mISDN_STACK_COMMAND_MASK   0x000f0000
 
#define mISDN_STACK_STATUS_MASK   0xfff00000
 
#define mISDN_STACK_WORK   0
 
#define mISDN_STACK_SETUP   1
 
#define mISDN_STACK_CLEARING   2
 
#define mISDN_STACK_RESTART   3
 
#define mISDN_STACK_WAKEUP   4
 
#define mISDN_STACK_ABORT   15
 
#define mISDN_STACK_STOPPED   16
 
#define mISDN_STACK_INIT   17
 
#define mISDN_STACK_THREADSTART   18
 
#define mISDN_STACK_BCHANNEL   20
 
#define mISDN_STACK_ACTIVE   29
 
#define mISDN_STACK_RUNNING   30
 
#define mISDN_STACK_KILLED   31
 
#define MGR_OPT_USER   24
 
#define MGR_OPT_NETWORK   25
 

Functions

struct mISDNdevice * get_mdevice (u_int)
 
int get_mdevice_count (void)
 
int connect_Bstack (struct mISDNdevice *, struct mISDNchannel *, u_int, struct sockaddr_mISDN *)
 
int connect_layer1 (struct mISDNdevice *, struct mISDNchannel *, u_int, struct sockaddr_mISDN *)
 
int create_l2entity (struct mISDNdevice *, struct mISDNchannel *, u_int, struct sockaddr_mISDN *)
 
int create_stack (struct mISDNdevice *)
 
int create_teimanager (struct mISDNdevice *)
 
void delete_teimanager (struct mISDNchannel *)
 
void delete_channel (struct mISDNchannel *)
 
void delete_stack (struct mISDNdevice *)
 
void mISDN_initstack (u_int *)
 
int misdn_sock_init (u_int *)
 
void misdn_sock_cleanup (void)
 
void add_layer2 (struct mISDNchannel *, struct mISDNstack *)
 
void __add_layer2 (struct mISDNchannel *, struct mISDNstack *)
 
u_int get_all_Bprotocols (void)
 
struct Bprotocol * get_Bprotocol4mask (u_int)
 
struct Bprotocol * get_Bprotocol4id (u_int)
 
int mISDN_inittimer (u_int *)
 
void mISDN_timer_cleanup (void)
 
int l1_init (u_int *)
 
void l1_cleanup (void)
 
int Isdnl2_Init (u_int *)
 
void Isdnl2_cleanup (void)
 
void mISDN_init_clock (u_int *)
 

Macro Definition Documentation

#define MGR_OPT_NETWORK   25

Definition at line 45 of file core.h.

#define MGR_OPT_USER   24

Definition at line 44 of file core.h.

#define mISDN_STACK_ABORT   15

Definition at line 31 of file core.h.

#define mISDN_STACK_ACTION_MASK   0x0000ffff

Definition at line 22 of file core.h.

#define mISDN_STACK_ACTIVE   29

Definition at line 38 of file core.h.

#define mISDN_STACK_BCHANNEL   20

Definition at line 37 of file core.h.

#define mISDN_STACK_CLEARING   2

Definition at line 28 of file core.h.

#define mISDN_STACK_COMMAND_MASK   0x000f0000

Definition at line 23 of file core.h.

#define mISDN_STACK_INIT   17

Definition at line 34 of file core.h.

#define mISDN_STACK_KILLED   31

Definition at line 40 of file core.h.

#define mISDN_STACK_RESTART   3

Definition at line 29 of file core.h.

#define mISDN_STACK_RUNNING   30

Definition at line 39 of file core.h.

#define mISDN_STACK_SETUP   1

Definition at line 27 of file core.h.

#define mISDN_STACK_STATUS_MASK   0xfff00000

Definition at line 24 of file core.h.

#define mISDN_STACK_STOPPED   16

Definition at line 33 of file core.h.

#define mISDN_STACK_THREADSTART   18

Definition at line 35 of file core.h.

#define mISDN_STACK_WAKEUP   4

Definition at line 30 of file core.h.

#define mISDN_STACK_WORK   0

Definition at line 26 of file core.h.

Function Documentation

void __add_layer2 ( struct mISDNchannel *  ,
struct mISDNstack *   
)

Definition at line 345 of file stack.c.

void add_layer2 ( struct mISDNchannel *  ,
struct mISDNstack *   
)

Definition at line 351 of file stack.c.

int connect_Bstack ( struct mISDNdevice *  ,
struct mISDNchannel *  ,
u_int  ,
struct sockaddr_mISDN  
)

Definition at line 459 of file stack.c.

int connect_layer1 ( struct mISDNdevice *  ,
struct mISDNchannel *  ,
u_int  ,
struct sockaddr_mISDN  
)

Definition at line 421 of file stack.c.

int create_l2entity ( struct mISDNdevice *  ,
struct mISDNchannel *  ,
u_int  ,
struct sockaddr_mISDN  
)

Definition at line 516 of file stack.c.

int create_stack ( struct mISDNdevice *  )

Definition at line 367 of file stack.c.

int create_teimanager ( struct mISDNdevice *  )

Definition at line 1356 of file tei.c.

void delete_channel ( struct mISDNchannel *  )

Definition at line 565 of file stack.c.

void delete_stack ( struct mISDNdevice *  )

Definition at line 622 of file stack.c.

void delete_teimanager ( struct mISDNchannel *  )

Definition at line 1248 of file tei.c.

u_int get_all_Bprotocols ( void  )

Definition at line 280 of file core.c.

struct Bprotocol* get_Bprotocol4id ( u_int  )
read

Definition at line 308 of file core.c.

struct Bprotocol* get_Bprotocol4mask ( u_int  )
read

Definition at line 293 of file core.c.

struct mISDNdevice* get_mdevice ( u_int  )
read

Definition at line 187 of file core.c.

int get_mdevice_count ( void  )

Definition at line 201 of file core.c.

void Isdnl2_cleanup ( void  )

Definition at line 2276 of file layer2.c.

int Isdnl2_Init ( u_int )

Definition at line 2262 of file layer2.c.

void l1_cleanup ( void  )

Definition at line 422 of file layer1.c.

int l1_init ( u_int )

Definition at line 410 of file layer1.c.

void mISDN_init_clock ( u_int )

Definition at line 53 of file clock.c.

void mISDN_initstack ( u_int )

Definition at line 654 of file stack.c.

int mISDN_inittimer ( u_int )

Definition at line 280 of file timerdev.c.

void misdn_sock_cleanup ( void  )

Definition at line 837 of file socket.c.

int misdn_sock_init ( u_int )

Definition at line 825 of file socket.c.

void mISDN_timer_cleanup ( void  )

Definition at line 291 of file timerdev.c.