libosmo-netif
0.7.0.19-eca1
Osmocom network interface library
|
#include <osmocom/core/endian.h>
#include <osmocom/core/timer.h>
Go to the source code of this file.
Data Structures | |
struct | osmux_hdr |
struct | osmux_in_handle |
struct | osmux_out_handle |
Functions | |
struct osmux_hdr | __attribute__ ((packed)) |
static uint8_t * | osmux_get_payload (struct osmux_hdr *osmuxh) |
int | osmux_snprintf (char *buf, size_t size, struct msgb *msg) |
void | osmux_xfrm_input_init (struct osmux_in_handle *h) |
void | osmux_xfrm_input_fini (struct osmux_in_handle *h) |
int | osmux_xfrm_input_open_circuit (struct osmux_in_handle *h, int ccid, int dummy) |
void | osmux_xfrm_input_close_circuit (struct osmux_in_handle *h, int ccid) |
int | osmux_xfrm_input (struct osmux_in_handle *h, struct msgb *msg, int ccid) |
void | osmux_xfrm_input_deliver (struct osmux_in_handle *h) |
void | osmux_xfrm_output_init (struct osmux_out_handle *h, uint32_t rtp_ssrc) OSMO_DEPRECATED("Use osmux_xfrm_output_init2() instead") |
void | osmux_xfrm_output_init2 (struct osmux_out_handle *h, uint32_t rtp_ssrc, uint8_t rtp_payload_type) |
void | osmux_xfrm_output_set_tx_cb (struct osmux_out_handle *h, void(*tx_cb)(struct msgb *msg, void *data), void *data) |
Set transmission callback to call when a generated RTP packet is to be transmitted. More... | |
int | osmux_xfrm_output (struct osmux_hdr *osmuxh, struct osmux_out_handle *h, struct llist_head *list) OSMO_DEPRECATED("Use osmux_xfrm_output_sched() instead") |
int | osmux_xfrm_output_sched (struct osmux_out_handle *h, struct osmux_hdr *osmuxh) |
Generate RTP packets from osmux frame AMR payload set and schedule them for transmission at appropiate time. More... | |
void | osmux_xfrm_output_flush (struct osmux_out_handle *h) |
Flush all scheduled RTP packets still pending to be transmitted. More... | |
struct osmux_hdr * | osmux_xfrm_output_pull (struct msgb *msg) |
void | osmux_tx_sched (struct llist_head *list, void(*tx_cb)(struct msgb *msg, void *data), void *data) OSMO_DEPRECATED("Use osmux_xfrm_output_set_tx_cb() instead") |
Variables | |
uint8_t | seq |
uint8_t | circuit_id |
struct osmux_in_handle | __attribute__ |
Osmocom multiplex protocol helpers