Contiki 2.5
Data Fields
routing_driver Struct Reference

Interface for routing modules. More...

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

Data Fields

void(* init )(void)
 module init, called by agent at startup
 
void(* new_neighbor )(rimeaddr_t *dest)
 informs the module about a new neighbor
 
int(* new_bundle )(uint32_t *bundle_num)
 informs the module about a new bundel
 
void(* del_bundle )(uint32_t bundle_num)
 delete bundle form routing list
 
void(* sent )(struct transmit_ticket_t *ticket, uint8_t status)
 callback function is called by convergence layer
 
void(* resubmit_bundles )()
 function to resubmit bundles currently in storage
 
void(* locally_delivered )(struct mmem *bundlemem)
 notify storage, that bundle has been delivered locally
 

Detailed Description

Interface for routing modules.

Definition at line 76 of file routing.h.