Implementation of the Rime queue buffers
Data Structures | |
struct | queuebuf |
struct | queuebuf_data |
struct | queuebuf_ref |
Macros | |
#define | _DEBUG_ 0 |
#define | PRINTF(...) |
#define | QUEUEBUF_REF_NUM 2 |
#define | QUEUEBUF_STATS 0 |
Functions | |
if (packetbuf_is_reference()) | |
if (buf!=NULL) | |
if (buf==NULL) | |
MEMB (bufmem, struct queuebuf, QUEUEBUF_NUM) | |
MEMB (refbufmem, struct queuebuf_ref, QUEUEBUF_REF_NUM) | |
MEMB (buframmem, struct queuebuf_data, QUEUEBUFRAM_NUM) | |
linkaddr_t * | queuebuf_addr (struct queuebuf *b, uint8_t type) |
packetbuf_attr_t | queuebuf_attr (struct queuebuf *b, uint8_t type) |
int | queuebuf_datalen (struct queuebuf *b) |
void * | queuebuf_dataptr (struct queuebuf *b) |
void | queuebuf_debug_print (void) |
void | queuebuf_free (struct queuebuf *buf) |
void | queuebuf_init (void) |
static struct queuebuf_data * | queuebuf_load_to_ram (struct queuebuf *b) |
void | queuebuf_to_packetbuf (struct queuebuf *b) |
void | queuebuf_update_attr_from_packetbuf (struct queuebuf *buf) |
Variables | |
buf = memb_alloc(&bufmem) | |
else | |
struct queuebuf *struct queuebuf_ref * | rbuf |