repair_sender.h File Reference

Point-to-multipoint repair sender. More...

#include "../flutelib/flute.h"

Include dependency graph for repair_sender.h:

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

Go to the source code of this file.

Data Structures

struct  miss_block
struct  miss_obj

Typedefs

typedef miss_block miss_block_t
typedef miss_obj miss_obj_t

Functions

int repair_sender (arguments_t *a, int *s_id)
int parse_repair_sender_conf_file (arguments_t *a)
int parse_flute_conf_file (arguments_t *a)


Detailed Description

Point-to-multipoint repair sender.

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

MAD-REPAIR-SENDER: Implementation of simple point-to-multipoint repair for 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 repair_sender.h.


Typedef Documentation

typedef struct miss_block miss_block_t

typedef struct miss_obj miss_obj_t


Function Documentation

int parse_flute_conf_file ( arguments_t a  ) 

This function parses FLUTE configuration file for repair sender.

Parameters:
a arguments structure where command line arguments are parsed
Return: int: 0 in success, -1 otherwise

Definition at line 1063 of file repair_sender.c.

References arguments::alc_a, alc_arguments::base_dir, arguments::fdt_file, alc_arguments::fec_ratio, arguments::flute_conf_file, and MAX_PATH_LENGTH.

int parse_repair_sender_conf_file ( arguments_t a  ) 

Definition at line 984 of file repair_sender.c.

References arguments::flute_conf_file, MAX_PATH_LENGTH, arguments::repair, arguments::requested_blocks_file, and arguments::sdp_file.

Referenced by repair_sender().

Here is the caller graph for this function:

int repair_sender ( arguments_t a,
int *  s_id 
)

This function is repair sender's main function.

Parameters:
a arguments structure where command line arguments are parsed
s_id session identifier
Returns:
0 in success, -1 in error cases, -2 when state is SExiting

Definition at line 841 of file repair_sender.c.

References add_alc_channel(), alc_arguments::addr, alc_arguments::addr_family, arguments::alc_a, close_alc_session(), increase_ipv6_address(), alc_arguments::intface, alc_arguments::intface_name, MAX_CHANNELS_IN_SESSION, MAX_PORT_LENGTH, alc_arguments::nb_channel, open_alc_session(), parse_flute_conf_file(), parse_repair_sender_conf_file(), parse_sdp_file(), alc_arguments::port, arguments::repair, repair_sender_in_fdt_based_mode(), arguments::sdp_file, and alc_arguments::stop_time.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on Fri Mar 9 20:03:43 2007 for MAD-FCL by  doxygen 1.5.0