diff options
Diffstat (limited to 'openbsc/include/openbsc/mgcp_internal.h')
-rw-r--r-- | openbsc/include/openbsc/mgcp_internal.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/mgcp_internal.h b/openbsc/include/openbsc/mgcp_internal.h index 138cc091d..edf08d34e 100644 --- a/openbsc/include/openbsc/mgcp_internal.h +++ b/openbsc/include/openbsc/mgcp_internal.h @@ -145,6 +145,9 @@ struct mgcp_endpoint { int compr_enabled; struct mgcp_rtp_compr_state compr_loc_state; struct mgcp_rtp_compr_state compr_rem_state; + /* right now one can only compress in one direction */ + struct llist_head compr_queue; + int compr_queue_size; }; #define ENDPOINT_NUMBER(endp) abs(endp - endp->tcfg->endpoints) @@ -179,4 +182,7 @@ int rtp_decompress(struct mgcp_rtp_compr_state *state, struct llist_head *list, struct msgb *msg); +void mgcp_msgb_clear_queue(struct llist_head *list); +struct msgb *mgcp_msgb_alloc(void); + #endif |