flute_defines.h File Reference

FLUTE level definitions. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define USE_FILE_REPAIR
#define USE_OPENSSL
#define FDT_INST_FEC_OTI_COMMON
#define MAX_SYMB_LENGTH_IPv4_FEC_ID_0_3_130   1428
#define MAX_SYMB_LENGTH_IPv4_FEC_ID_2_128_129   1424
#define MAX_SYMB_LENGTH_IPv6_FEC_ID_0_3_130   1408
#define MAX_SYMB_LENGTH_IPv6_FEC_ID_2_128_129   1404
#define MAX_SB_LEN_NULL_FEC   255
#define MAX_SB_LEN_SIMPLE_XOR_FEC   10
#define MAX_N_REED_SOLOMON   ((1 << 8) - 1)
#define MAX_HTTP_URL_LENGTH   256
#define DEF_APD_CONF_FILE   "apd.xml"
#define DEF_FLUTE_CONF_FILE   "flute.conf"
#define DEF_REPAIR_SENDER_CONF_FILE   "repair_sender.conf"
#define DEF_FEC   0
#define DEF_CC   Null
#define DEF_MCAST_IPv4_ADDR   "226.10.40.1"
#define DEF_MCAST_IPv6_ADDR   "ff1a::1"
#define DEF_MCAST_PORT   "4001"
#define DEF_NB_CHANNEL   1
#define DEF_TSI   0
#define DEF_FDT   "fdt.xml"
#define DEF_SYMB_LENGTH   MAX_SYMB_LENGTH_IPv4_FEC_ID_0_3_130
#define DEF_MAX_SB_LEN   64
#define DEF_TX_RATE   250
#define DEF_TTL   1
#define DEF_TX_NB   1
#define DEF_BASE_DIR   "flute-downloads"
#define DEF_FEC_ENC_ID   COM_NO_C_FEC_ENC_ID
#define DEF_FEC_INST_ID   REED_SOL_FEC_INST_ID
#define DEF_FEC_RATIO   50
#define DEF_ADDR_FAMILY   PF_INET
#define DEF_SESSION_DURATION   604800
#define DEF_RECEIVER_TIMEOUT   3600
#define P_LOSS_WHEN_OK   5
#define P_LOSS_WHEN_LOSS   50
#define FDT_INTERVAL   (1*1048576)


Detailed Description

FLUTE level definitions.

Author
peltotal
Date
2007/02/28 08:58:01
Revision
1.43

MAD-FLUTELIB: Implementation of FLUTE protocol. Copyright (c) 2003-2007 TUT - Tampere University of Technology main authors/contacts: jani.peltotalo@tut.fi and sami.peltotalo@tut.fi

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

In addition, as a special exception, TUT - Tampere University of Technology gives permission to link the code of this program with the OpenSSL library (or with modified versions of OpenSSL that use the same license as OpenSSL), and distribute linked combinations including the two. You must obey the GNU General Public License in all respects for all of the code used other than OpenSSL. If you modify this file, you may extend this exception to your version of the file, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.

Definition in file flute_defines.h.


Define Documentation

#define DEF_ADDR_FAMILY   PF_INET

Default address family

Definition at line 83 of file flute_defines.h.

Referenced by parse_args().

#define DEF_APD_CONF_FILE   "apd.xml"

Default Assosiated Prosedure Description file

Definition at line 58 of file flute_defines.h.

Referenced by parse_args(), and usage().

#define DEF_BASE_DIR   "flute-downloads"

Default base directory

Definition at line 79 of file flute_defines.h.

Referenced by parse_args(), and usage().

#define DEF_CC   Null

Default Congestion Control

Definition at line 67 of file flute_defines.h.

Referenced by parse_args(), and usage().

#define DEF_FDT   "fdt.xml"

Default FDT filename (used when only -f is set)

Definition at line 73 of file flute_defines.h.

Referenced by parse_args(), and usage().

#define DEF_FEC   0

Default Forward Error Correction (0 = Compact No-Code FEC, 1 = Simple XOR FEC, 2 = Reed-Solomon FEC (old-ID) 3 = Reed-Solomon FEC (new-id)

Definition at line 66 of file flute_defines.h.

Referenced by parse_args(), and usage().

#define DEF_FEC_ENC_ID   COM_NO_C_FEC_ENC_ID

Default FEC encoding id

Definition at line 80 of file flute_defines.h.

Referenced by parse_args().

#define DEF_FEC_INST_ID   REED_SOL_FEC_INST_ID

Default FEC instance id

Definition at line 81 of file flute_defines.h.

Referenced by parse_args().

#define DEF_FEC_RATIO   50

Default FEC ratio

Definition at line 82 of file flute_defines.h.

Referenced by parse_args(), and usage().

#define DEF_FLUTE_CONF_FILE   "flute.conf"

Default FLUTE configuration file

Definition at line 59 of file flute_defines.h.

Referenced by parse_args(), and usage().

#define DEF_MAX_SB_LEN   64

Default maximum source block length

Definition at line 75 of file flute_defines.h.

Referenced by parse_args(), and usage().

#define DEF_MCAST_IPv4_ADDR   "226.10.40.1"

Default IPv4 multicast address

Definition at line 68 of file flute_defines.h.

Referenced by parse_args(), and usage().

#define DEF_MCAST_IPv6_ADDR   "ff1a::1"

Default IPv6 multicast address

Definition at line 69 of file flute_defines.h.

Referenced by parse_args(), and usage().

#define DEF_MCAST_PORT   "4001"

Default port number

Definition at line 70 of file flute_defines.h.

Referenced by parse_args(), and usage().

#define DEF_NB_CHANNEL   1

Default number of channels

Definition at line 71 of file flute_defines.h.

Referenced by parse_args(), and usage().

#define DEF_RECEIVER_TIMEOUT   3600

Definition at line 86 of file flute_defines.h.

Referenced by parse_args(), and usage().

#define DEF_REPAIR_SENDER_CONF_FILE   "repair_sender.conf"

Default repair sender configuration file

Definition at line 62 of file flute_defines.h.

Referenced by parse_args(), and usage().

#define DEF_SESSION_DURATION   604800

Default session "uptime", sender will send one week if -C is set Reveiver will quit after this time if no packets is received from the session

Definition at line 84 of file flute_defines.h.

Referenced by parse_args(), and usage().

#define DEF_SYMB_LENGTH   MAX_SYMB_LENGTH_IPv4_FEC_ID_0_3_130

Default encoding symbol length

Definition at line 74 of file flute_defines.h.

Referenced by parse_args(), and usage().

#define DEF_TSI   0

Default transport session identifier

Definition at line 72 of file flute_defines.h.

Referenced by parse_args(), and usage().

#define DEF_TTL   1

Default Time to Live value

Definition at line 77 of file flute_defines.h.

Referenced by parse_args(), and usage().

#define DEF_TX_NB   1

Default number of transmission loops

Definition at line 78 of file flute_defines.h.

Referenced by parse_args(), and usage().

#define DEF_TX_RATE   250

Default transmission rate

Definition at line 76 of file flute_defines.h.

Referenced by parse_args(), and usage().

#define FDT_INST_FEC_OTI_COMMON

< Include host name to the file URI in the FDT Place for the FEC OTI in the FDT Instance, i.e. common for all or own for each file

Definition at line 40 of file flute_defines.h.

#define FDT_INTERVAL   (1*1048576)

Interval between FDT Instances (x*MB)

Definition at line 91 of file flute_defines.h.

Referenced by send_file().

#define MAX_HTTP_URL_LENGTH   256

Maximum length for HTTP URL

Definition at line 57 of file flute_defines.h.

Referenced by http_file_repair().

#define MAX_N_REED_SOLOMON   ((1 << 8) - 1)

Maximum number of encoding symbols per block for Reed-Solomon FEC

Definition at line 54 of file flute_defines.h.

Referenced by parse_args().

#define MAX_SB_LEN_NULL_FEC   255

Maximum source block length for Compact No-Code FEC

Definition at line 52 of file flute_defines.h.

Referenced by parse_args().

#define MAX_SB_LEN_SIMPLE_XOR_FEC   10

Maximum source block length for Simple XOR FEC

Definition at line 53 of file flute_defines.h.

Referenced by parse_args().

#define MAX_SYMB_LENGTH_IPv4_FEC_ID_0_3_130   1428

Maximum encoding symbol length for IPv4 with FEC encoding IDs 0, 3, and 130 (calculated for FDT with TSI&TOI 4+4 bytes)

Definition at line 44 of file flute_defines.h.

Referenced by parse_args().

#define MAX_SYMB_LENGTH_IPv4_FEC_ID_2_128_129   1424

Maximum encoding symbol length for IPv4 with FEC encoding IDs 2, 128, and 129 (calculated for FDT with TSI&TOI 4+4 bytes)

Definition at line 46 of file flute_defines.h.

Referenced by parse_args().

#define MAX_SYMB_LENGTH_IPv6_FEC_ID_0_3_130   1408

Maximum encoding symbol length for IPv6 with FEC encoding IDs 0, 3, and 130 (calculated for FDT with TSI&TOI 4+4 bytes)

Definition at line 48 of file flute_defines.h.

Referenced by parse_args().

#define MAX_SYMB_LENGTH_IPv6_FEC_ID_2_128_129   1404

Maximum encoding symbol length for IPv6 with FEC encoding IDs 2, 128, and 129 (calculated for FDT with TSI&TOI 4+4 bytes)

Definition at line 50 of file flute_defines.h.

Referenced by parse_args().

#define P_LOSS_WHEN_LOSS   50

Packet loss probabilities when earlier packet was lost

Definition at line 89 of file flute_defines.h.

Referenced by parse_args(), and usage().

#define P_LOSS_WHEN_OK   5

Packet loss probability when earlier packet was not lost

Definition at line 88 of file flute_defines.h.

Referenced by parse_args(), and usage().

#define USE_FILE_REPAIR

Use file repair based on 3GPP TS 26.346

Definition at line 36 of file flute_defines.h.

#define USE_OPENSSL

Use OpenSSL library for MD5 check

Definition at line 37 of file flute_defines.h.


Generated on Fri Mar 9 20:02:36 2007 for MAD-FCL by  doxygen 1.5.0