Contiki 2.5
Data Fields
custody_driver Struct Reference

The structure of a custody modul. More...

#include <core/net/uDTN/custody.h>

Data Fields

void(* init )(void)
 initializes the custody modul, called by agent at startup
 
uint8_t(* release )(struct mmem *bundlemem)
 release the bundle
 
uint8_t(* report )(struct mmem *bundlemem, uint8_t status)
 sends a report to the "report to"-node with the state of the bundle
 
uint8_t(* decide )(struct mmem *bundlemem, uint32_t *bundle_number)
 decides if this node becomes custodian or not
 
uint8_t(* retransmit )(struct mmem *bundlemem)
 retransmits the bundle
 
void(* del_from_list )(uint32_t bundle_number)
 deletes the bundle from the interal bundle list
 

Detailed Description

The structure of a custody modul.

Definition at line 36 of file custody.h.