Contiki 2.5
|
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 | |