defines.h

Go to the documentation of this file.
00001 
00034 #ifndef _DEFINES_H_
00035 #define _DEFINES_H_
00036 
00037 #ifdef __cplusplus
00038 extern "C" {
00039 #endif
00040 
00045 #define RECEIVER_SOCKET_BUFFER_SIZE 2000000
00046 
00047 #define MAD_FCL_RELEASE_VERSION "1.7"                   
00048 #define MAD_FCL_RELEASE_DATE "March 2, 2007"    
00050 #ifdef _MSC_VER
00051 #define timeb _timeb
00052 #define ftime _ftime
00053 #endif
00054 
00059 #define SSM
00060 
00061 #define USE_ZLIB 
00062 #define USE_RETRIEVE_UNIT 
00064 #if defined(LINUX) || defined(_MSC_VER)
00065 #define _BIT_FIELDS_LTOH        
00066 #undef _BIT_FIELDS_HTOL
00067 #elif defined(SOLARIS)
00068 #undef _BIT_FIELDS_LTOH
00069 #define _BIT_FIELDS_HTOL        
00070 #endif
00071 
00072 #define FDT_TOI         0                               
00073 #define EXT_FDT         192                             
00074 #define EXT_CENC        193                             
00076 #define ALC_VERSION             1               
00077 #define FLUTE_VERSION   1               
00079 #define COM_NO_C_FEC_ENC_ID             0       
00080 #define SIMPLE_XOR_FEC_ENC_ID   2       
00081 #define RS_FEC_ENC_ID                   3       
00083 #define SB_LB_E_FEC_ENC_ID              128             
00084 #define SB_SYS_FEC_ENC_ID               129             
00085 #define COM_FEC_ENC_ID                  130             
00087 #define REED_SOL_FEC_INST_ID    0               
00089 #define Null 0                  
00090 #define RLC     1                       
00092 /* for RLC */
00093 #define RLC_SP_CYCLE            250     
00094 #define RLC_WAIT_AFTER_SP       2               
00095 #define RLC_DEAF_PERIOD         10000   /* time for deaf period after a dropped layer (10000 ms), due to IGMP leave latency */
00096 #define RLC_LATE_ACCEPTED       0               
00098 #define RLC_LOSS_ACCEPTED       0               
00100 #define RLC_PKT_TIMEOUT         500     
00101 #define RLC_LOSS_LIMIT          1               
00103 #define RLC_LOSS_TIMEOUT        20              
00105 #define RLC_MAX_LATES           100             
00107 #define EXT_NOP         0               
00108 #define EXT_AUTH        1               
00109 #define EXT_TIME        2               
00110 #define EXT_FTI         64              
00112 #define SENDER          0               
00113 #define RECEIVER        1               
00115 #define MAX_ALC_SESSIONS                100             
00116 #define MAX_CHANNELS_IN_SESSION         10              
00117 #define MAX_PACKET_LENGTH                       1500    
00118 #define MAX_PATH_LENGTH                         1024    
00119 #define MAX_PORT_LENGTH                         10              
00120 #define MAX_TX_QUEUE_SIZE                       1000    
00122 #define WAITING_FDT             5       
00123 #define OK                              4       
00124 #define EMPTY_PACKET    3       
00125 #define HDR_ERROR               2       
00126 #define MEM_ERROR               1       
00127 #define DUP_PACKET              0       
00129 #define NO_TX_THREAD 0          
00131 #define TX_THREAD 1                     
00133 #define ZLIB 1          
00134 #define DEFLATE 2       
00135 #define GZIP 3          
00136 #define PAD 4           
00138 #ifdef USE_ZLIB
00139 #define ZLIB_BUFLEN 16384                                       
00140 #define GZ_SUFFIX "~gz"                                         
00141 #define GZ_SUFFIX_LEN (sizeof(GZ_SUFFIX)-1) 
00142 #define ZLIB_FDT 1                                                      
00143 #define ZLIB_FDT_AND_GZIP_FILES 2                       
00144 #endif
00145 
00146 #define PAD_FILES 3                                                             
00147 #define PAD_SUFFIX "~pad"                                               
00148 #define PAD_SUFFIX_LEN (sizeof(PAD_SUFFIX)-1)   
00150 #ifdef __cplusplus
00151 }; //extern "C"
00152 #endif
00153 
00154 #endif
00155 

Generated on Fri Mar 9 19:59:51 2007 for MAD-FCL by  doxygen 1.5.0