OpenWSN Firmware
rsvp.h File Reference
#include "stdint.h"
#include "openwsn.h"

Go to the source code of this file.

Data Structures

struct  rsvp_msg_header_t
 
struct  rsvp_object_header_t
 
struct  rsvp_session_t
 
struct  rsvp_time_values_t
 
struct  rsvp_style_t
 
struct  rsvp_sender_template_t
 
struct  rsvp_hop_t
 
struct  rsvp_label_request_t
 
struct  cycle_table_tuple_t
 
struct  rsvp_trans_cycle_table_t
 
struct  rsvp_label_object_t
 
struct  rsvp_enhanced_mode_tuple_t
 
struct  rsvp_sender_llnspec_t
 
struct  rsvp_path_msg_t
 
struct  rsvp_resv_msg_t
 

Macros

#define RSVP_MAX_SCHED   10
 RSVP headers and message structures. More...
 

Enumerations

enum  {
  RSVP_PATH_MESSAGE =1, RSVP_RESV_MESSAGE =2, RSVP_PATHERR_MESSAGE =3, RSVP_RESVERR_MESSAGE =4,
  RSVP_PATHTEAR_MESSAGE =5, RSVP_RESVTEAR_MESSAGE =6, RSVP_RESVCONF_MESSAGE =7
}
 

Functions

void rsvp_init (void)
 
void rsvp_qos_request (uint8_t bandwith, uint16_t refresh_period, open_addr_t dest)
 

Macro Definition Documentation

#define RSVP_MAX_SCHED   10

RSVP headers and message structures.

RSVP_Msg rsvp_msg_header rsvp_objects* rsvp_object_header rsvp_specific_object content.

Author
Xavi Vilajosana xvila.nosp@m.josa.nosp@m.na@ee.nosp@m.cs.b.nosp@m.erkel.nosp@m.ey.e.nosp@m.du, March 2012.

Enumeration Type Documentation

anonymous enum
Enumerator
RSVP_PATH_MESSAGE 
RSVP_RESV_MESSAGE 
RSVP_PATHERR_MESSAGE 
RSVP_RESVERR_MESSAGE 
RSVP_PATHTEAR_MESSAGE 
RSVP_RESVTEAR_MESSAGE 
RSVP_RESVCONF_MESSAGE 

Function Documentation

void rsvp_init ( void  )
void rsvp_qos_request ( uint8_t  bandwith,
uint16_t  refresh_period,
open_addr_t  dest 
)

this function does not have a msg as a parameter because we do not want applications know about rsvp internals. I think that the msg should be created here and send transparently to the application requesting bandwith.