diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-08-06 20:15:46 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-08-06 21:04:25 +0200 |
commit | 72a0aae500de36ef3fa528a9ce2e32a8ddde5080 (patch) | |
tree | 295a512f9809226398b65241e3fc72392ee46530 /include/osmocom/netif/osmux.h | |
parent | b9cf903bbe0cd9b84a1226c345e68f0e826034e9 (diff) |
osmux: support two concurrent calls in output path
Diffstat (limited to 'include/osmocom/netif/osmux.h')
-rw-r--r-- | include/osmocom/netif/osmux.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/osmocom/netif/osmux.h b/include/osmocom/netif/osmux.h index 58ec40d..dd89973 100644 --- a/include/osmocom/netif/osmux.h +++ b/include/osmocom/netif/osmux.h @@ -49,8 +49,8 @@ struct osmux_in_handle { /* one per OSmux circuit_id, ie. one per RTP flow. */ struct osmux_out_handle { - uint16_t rtp_seq; - uint32_t rtp_timestamp; + uint16_t rtp_seq[8]; + uint32_t rtp_timestamp[8]; }; static inline uint8_t *osmux_get_payload(struct osmux_hdr *osmuxh) @@ -65,6 +65,7 @@ void osmux_xfrm_input_register_ccid(struct osmux_in_handle *h, uint32_t ssrc); int osmux_xfrm_input(struct osmux_in_handle *h, struct msgb *msg); void osmux_xfrm_input_deliver(struct osmux_in_handle *h); +void osmux_xfrm_output_init(struct osmux_out_handle *h); int osmux_xfrm_output(struct osmux_hdr *osmuxh, struct osmux_out_handle *h, struct llist_head *list); struct osmux_hdr *osmux_xfrm_output_pull(struct msgb *msg); |