diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/osmocom/netif/osmux.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/osmocom/netif/osmux.h b/include/osmocom/netif/osmux.h index d7ebf55..d50c7d5 100644 --- a/include/osmocom/netif/osmux.h +++ b/include/osmocom/netif/osmux.h @@ -56,11 +56,15 @@ struct osmux_out_handle { uint32_t rtp_timestamp; }; +struct osmux_hdr *osmux_get_hdr(struct msgb *msg); + static inline uint8_t *osmux_get_payload(struct osmux_hdr *osmuxh) { return (uint8_t *)osmuxh + sizeof(struct osmux_hdr); } +int osmux_snprintf(char *buf, size_t size, struct msgb *msg); + void osmux_xfrm_input_init(struct osmux_in_handle *h); int osmux_xfrm_input(struct osmux_in_handle *h, struct msgb *msg, int ccid); |