Header file for hop-by-hop reliable data collection
#include "net/rime/announcement.h"
#include "net/rime/runicast.h"
#include "net/rime/neighbor-discovery.h"
#include "net/rime/collect-neighbor.h"
#include "net/packetqueue.h"
#include "sys/ctimer.h"
#include "lib/list.h"
Data Structures | |
struct | collect_callbacks |
struct | collect_conn |
Macros | |
#define | COLLECT_ANNOUNCEMENTS 1 |
#define | COLLECT_ATTRIBUTES |
#define | COLLECT_HOPS_BITS 4 |
#define | COLLECT_MAX_DEPTH (COLLECT_LINK_ESTIMATE_UNIT * 64 - 1) |
#define | COLLECT_MAX_REXMIT_BITS 5 |
#define | COLLECT_PACKET_ID_BITS 8 |
#define | COLLECT_TTL_BITS 4 |
Enumerations | |
enum | { COLLECT_NO_ROUTER, COLLECT_ROUTER } |
Functions | |
void | collect_close (struct collect_conn *c) |
int | collect_depth (struct collect_conn *c) |
void | collect_open (struct collect_conn *c, uint16_t channels, uint8_t is_router, const struct collect_callbacks *callbacks) |
const linkaddr_t * | collect_parent (struct collect_conn *c) |
void | collect_print_stats (void) |
int | collect_send (struct collect_conn *c, int rexmits) |
void | collect_set_keepalive (struct collect_conn *c, clock_time_t period) |
void | collect_set_sink (struct collect_conn *c, int should_be_sink) |