48 #include "lib/random.h"
53 #define MAX(a,b) ((a) > (b)? (a) : (b))
57 #define MIN(a, b) ((a) < (b)? (a) : (b))
63 recv(
struct abc_conn *abc)
85 sent(
struct abc_conn *c,
int status,
int num_tx)
96 queuebuf_to_packetbuf(c->q);
134 c->hdrsize = hdrsize;
135 c->q = queuebuf_new_from_packetbuf();
137 ctimer_set(&c->t, interval / 2 + (random_rand() % (interval / 2)), send, c);