diff options
author | Pablo Neira Ayuso <pablo@gnumonks.org> | 2012-07-19 11:08:21 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@gnumonks.org> | 2012-07-19 11:38:50 +0200 |
commit | 8ba490fd9615838a03e0b7cb6a423072720ef744 (patch) | |
tree | 2797cf5f801a247c1e8292b44c643f873fa7b9c4 /include/osmocom/netif/osmux.h | |
parent | d3c21b3caddcbaa2a7d650a9ae2edb0dc62cb668 (diff) |
osmux: add osmux_tx_sched to reconstruct the timing of RTP messages
This function schedules the transmission of a RTP message that was
obtained from one osmux batch. It takes the time (in microseconds)
after which the message should be transmitted.
Diffstat (limited to 'include/osmocom/netif/osmux.h')
-rw-r--r-- | include/osmocom/netif/osmux.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmocom/netif/osmux.h b/include/osmocom/netif/osmux.h index cb6160f..f4c7b45 100644 --- a/include/osmocom/netif/osmux.h +++ b/include/osmocom/netif/osmux.h @@ -65,4 +65,6 @@ void osmux_xfrm_input_deliver(struct osmux_in_handle *h); struct msgb *osmux_xfrm_output(struct osmux_hdr *osmuxh, struct osmux_out_handle *h); struct osmux_hdr *osmux_xfrm_output_pull(struct msgb *msg); +void osmux_tx_sched(struct msgb *msg, struct timeval *when, void (*tx_cb)(struct msgb *msg, void *data), void *data); + #endif |