libosmocore 1.10.0.58-6cd7a
Osmocom core library
|
Generic write queue implementation. More...
Go to the source code of this file.
Data Structures | |
struct | osmo_wqueue |
write queue instance More... | |
Functions | |
void | osmo_wqueue_init (struct osmo_wqueue *queue, int max_length) |
Initialize a osmo_wqueue structure. More... | |
void | osmo_wqueue_clear (struct osmo_wqueue *queue) |
Clear a osmo_wqueue. More... | |
int | osmo_wqueue_enqueue (struct osmo_wqueue *queue, struct msgb *data) |
Enqueue a new Message buffers into a write queue. More... | |
int | osmo_wqueue_enqueue_quiet (struct osmo_wqueue *queue, struct msgb *data) |
Enqueue a new Message buffers into a write queue (without logging full queue events) More... | |
size_t | osmo_wqueue_set_maxlen (struct osmo_wqueue *queue, unsigned int len) |
Update write queue length & drop excess messages. More... | |
int | osmo_wqueue_bfd_cb (struct osmo_fd *fd, unsigned int what) |
Select loop function for write queue handling. More... | |
Generic write queue implementation.