flute_defines.h

Go to the documentation of this file.
00001 
00033 #ifndef _FLUTE_DEFINES_H_
00034 #define _FLUTE_DEFINES_H_
00035 
00036 #define USE_FILE_REPAIR                 
00037 #define USE_OPENSSL                             
00038 /*#define HOSTNAME_TO_FDT*/             
00040 #define FDT_INST_FEC_OTI_COMMON         
00041 /*#define FDT_INST_FEC_OTI_FILE*/       
00044 #define MAX_SYMB_LENGTH_IPv4_FEC_ID_0_3_130                     1428
00045 
00046 #define MAX_SYMB_LENGTH_IPv4_FEC_ID_2_128_129   1424
00047 
00048 #define MAX_SYMB_LENGTH_IPv6_FEC_ID_0_3_130                     1408
00049 
00050 #define MAX_SYMB_LENGTH_IPv6_FEC_ID_2_128_129   1404    
00051 
00052 #define MAX_SB_LEN_NULL_FEC                     255                             
00053 #define MAX_SB_LEN_SIMPLE_XOR_FEC       10                              
00054 #define MAX_N_REED_SOLOMON                      ((1 << 8) - 1)  
00056 #ifdef USE_FILE_REPAIR
00057 #define MAX_HTTP_URL_LENGTH 256                         
00058 #define DEF_APD_CONF_FILE "apd.xml"                     
00059 #define DEF_FLUTE_CONF_FILE "flute.conf"        
00060 #endif
00061 
00062 #define DEF_REPAIR_SENDER_CONF_FILE "repair_sender.conf"        
00066 #define DEF_FEC                                 0
00067 #define DEF_CC                                  Null                            
00068 #define DEF_MCAST_IPv4_ADDR             "226.10.40.1"           
00069 #define DEF_MCAST_IPv6_ADDR             "ff1a::1"                       
00070 #define DEF_MCAST_PORT                  "4001"                          
00071 #define DEF_NB_CHANNEL                  1                                       
00072 #define DEF_TSI                                 0                                       
00073 #define DEF_FDT                                 "fdt.xml"                       
00074 #define DEF_SYMB_LENGTH                 MAX_SYMB_LENGTH_IPv4_FEC_ID_0_3_130     
00075 #define DEF_MAX_SB_LEN                  64                                      
00076 #define DEF_TX_RATE                             250                                     
00077 #define DEF_TTL                                 1                                       
00078 #define DEF_TX_NB                               1                                       
00079 #define DEF_BASE_DIR                    "flute-downloads"       
00080 #define DEF_FEC_ENC_ID                  COM_NO_C_FEC_ENC_ID     
00081 #define DEF_FEC_INST_ID                 REED_SOL_FEC_INST_ID    
00082 #define DEF_FEC_RATIO                   50                                              
00083 #define DEF_ADDR_FAMILY                 PF_INET                                 
00084 #define DEF_SESSION_DURATION    604800                                  
00086 #define DEF_RECEIVER_TIMEOUT    3600                                     
00087 
00088 #define P_LOSS_WHEN_OK          5                       
00089 #define P_LOSS_WHEN_LOSS        50                      
00091 #define FDT_INTERVAL (1*1048576)                
00093 #endif
00094 

Generated on Fri Mar 9 20:08:52 2007 for MAD-FCL by  doxygen 1.5.0