Main Page | Class List | File List | Class Members | File Members

al.h

Go to the documentation of this file.
00001 #ifndef _AL_H_
00002 #define _AL_H_
00003 
00004 /*
00005  * Types of AL's (for default parameters)
00006  */
00007 
00008 typedef enum { NoAL, AL1, AL2, AL3, AL1M, AL2M, AL3M, Custom } al_type;
00009 
00010 /*
00011  * Parameters to new_al_sending_entity and new_al_receiving_entity
00012  */
00013 
00014 typedef struct {
00015 
00016   al_type type;               /* One of the AL types above                 */
00017 
00018   int framed;                 /* Framed mode? (Frame with HDLC flags)      */
00019   int seq_num;                /* Sequence numbers?                         */
00020   int rcpc_code;              /* RCPC Code AL-PDU payloads?                */
00021   int rcpc_rate;              /* RCPC coding rate                          */
00022   int arq_type;               /* 0=none, 1=typeI, 2=typeII, 3=typeI/II     */
00023   int crc_bytes;              /* Append this many CRC bytes to each AL-SDU */
00024   int old_threshold;          /* Threshold to determine an "old" packet    */
00025 
00026 } channel_info;
00027 
00028 
00029 #define DEF_RCPC_RATE 24
00030 #define DEF_CRC_BYTES 2
00031 #define DEF_OLD_THRESH 10
00032 
00033 #endif
00034 
00035 

Generated on Sun Jul 16 16:27:45 2006 by  doxygen 1.3.9.1