|
struct msgb * | msgb_alloc (uint16_t size, const char *name) |
| Allocate a new message buffer. More...
|
|
void | msgb_free (struct msgb *m) |
| Release given message buffer. More...
|
|
void | msgb_enqueue (struct llist_head *queue, struct msgb *msg) |
| Enqueue message buffer to tail of a queue. More...
|
|
struct msgb * | msgb_dequeue (struct llist_head *queue) |
| Dequeue message buffer from head of queue. More...
|
|
void | msgb_reset (struct msgb *msg) |
| Re-set all message buffer pointers. More...
|
|
uint8_t * | msgb_data (const struct msgb *msg) |
| get pointer to data section of message buffer More...
|
|
uint16_t | msgb_length (const struct msgb *msg) |
| get length of message buffer More...
|
|
void | msgb_set_talloc_ctx (void *ctx) |
| Set the talloc context for msgb_alloc Deprecated, use msgb_talloc_ctx_init() instead. More...
|
|
void * | msgb_talloc_ctx_init (void *root_ctx, unsigned int pool_size) |
| Initialize a msgb talloc context for msgb_alloc. More...
|
|
struct msgb * | msgb_copy (const struct msgb *msg, const char *name) |
| Copy an msgb. More...
|
|
int | msgb_resize_area (struct msgb *msg, uint8_t *area, int old_size, int new_size) |
| Resize an area within an msgb. More...
|
|
const char * | msgb_hexdump (const struct msgb *msg) |
| Return a (static) buffer containing a hexdump of the msg. More...
|
|
int | msgb_printf (struct msgb *msgb, const char *format,...) |
| Print a string to the end of message buffer. More...
|
|