Functions | Variables
ml_com.c File Reference
#include "config/compiler.h"
#include "core/include/frames.h"
#include "core/include/definitions.h"
#include "core/interface/wmp_interface.h"
#include "core/include/wmp_misc.h"
#include "core/include/ml_com.h"
#include "core/include/ll_com.h"
#include "core/include/frame_compress.h"
#include "core/include/wmp_utils.h"
#include "core/include/global.h"
Include dependency graph for ml_com.c:

Go to the source code of this file.

Functions

void closeMiddleLevelCom ()
int initMiddleLevelCom ()
int ml_calculate_duration (int rate, int size)
static int ml_filter (char from)
int ml_receive (wmpFrame *f, int timeout)
static int ml_rx_error (wmpFrame *p)
int ml_send (wmpFrame *p, int size)
void ml_set_ett (int _use_ett, int _ett_mult, int _ett_max)
void ml_set_filter (char *ftype, int param)
void ml_set_rx_error (char *ftype, int param)
void wmpForceTopology (char *name, int param)
void wmpSetRxError (char *name, int rate)

Variables

static int filter_param = 0
static int filter_type = 0
static int last_discarded = 0
static int last_discarded_type = 0
static int rx_error_param = 1
static int rx_error_type = 0
static int wack = 0

Function Documentation

void closeMiddleLevelCom ( void  )

Definition at line 52 of file ml_com.c.

int initMiddleLevelCom ( void  )

Definition at line 56 of file ml_com.c.

int ml_calculate_duration ( int  rate,
int  size 
)

Definition at line 63 of file ml_com.c.

static int ml_filter ( char  from) [static]

Definition at line 81 of file ml_com.c.

int ml_receive ( wmpFrame *  f,
int  timeout 
)

Definition at line 180 of file ml_com.c.

static int ml_rx_error ( wmpFrame *  p) [static]

Definition at line 126 of file ml_com.c.

int ml_send ( wmpFrame *  p,
int  size 
)

Definition at line 166 of file ml_com.c.

void ml_set_ett ( int  _use_ett,
int  _ett_mult,
int  _ett_max 
)

Definition at line 59 of file ml_com.c.

void ml_set_filter ( char *  ftype,
int  param 
)

Definition at line 68 of file ml_com.c.

void ml_set_rx_error ( char *  ftype,
int  param 
)

Definition at line 108 of file ml_com.c.

void wmpForceTopology ( char *  name,
int  param 
)

Definition at line 77 of file ml_com.c.

void wmpSetRxError ( char *  name,
int  rate 
)

Definition at line 119 of file ml_com.c.


Variable Documentation

int filter_param = 0 [static]

Definition at line 50 of file ml_com.c.

int filter_type = 0 [static]

Definition at line 50 of file ml_com.c.

int last_discarded = 0 [static]

Definition at line 107 of file ml_com.c.

int last_discarded_type = 0 [static]

Definition at line 107 of file ml_com.c.

int rx_error_param = 1 [static]

Definition at line 107 of file ml_com.c.

int rx_error_type = 0 [static]

Definition at line 107 of file ml_com.c.

int wack = 0 [static]

Definition at line 49 of file ml_com.c.



ros_rt_wmp
Author(s): Danilo Tardioli, dantard@unizar.es
autogenerated on Fri Jan 3 2014 12:07:57