70 RUDOLPH1_FLAG_NEWFILE,
71 RUDOLPH1_FLAG_LASTCHUNK,
74 struct rudolph1_callbacks {
75 void (* write_chunk)(
struct rudolph1_conn *c,
int offset,
int flag,
76 uint8_t *data,
int len);
77 int (* read_chunk)(
struct rudolph1_conn *c,
int offset, uint8_t *to,
81 struct rudolph1_conn {
82 struct trickle_conn trickle;
84 const struct rudolph1_callbacks *cb;
86 clock_time_t send_interval;
87 uint16_t chunk, highest_chunk_heard;
93 void rudolph1_open(
struct rudolph1_conn *c, uint16_t channel,
94 const struct rudolph1_callbacks *cb);
95 void rudolph1_close(
struct rudolph1_conn *c);
96 void rudolph1_send(
struct rudolph1_conn *c, clock_time_t send_interval);
97 void rudolph1_stop(
struct rudolph1_conn *c);
Header file for Ipolite best effort local Broadcast (ipolite)
An opaque structure with no user-visible elements that holds the state of an ipolite connection...
Header file for the callback timer
Header file for Trickle (reliable single source flooding) for Rime