diff options
Diffstat (limited to 'openbsc/include/openbsc/mgcp_internal.h')
-rw-r--r-- | openbsc/include/openbsc/mgcp_internal.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/openbsc/include/openbsc/mgcp_internal.h b/openbsc/include/openbsc/mgcp_internal.h index 62161fdc9..adb01f467 100644 --- a/openbsc/include/openbsc/mgcp_internal.h +++ b/openbsc/include/openbsc/mgcp_internal.h @@ -36,6 +36,12 @@ enum mgcp_connection_mode { MGCP_CONN_LOOPBACK = 4, }; +struct mgcp_rtp_state { + int initialized; + + uint16_t seq_no; + int lost_no; +}; struct mgcp_endpoint { int ci; @@ -73,10 +79,8 @@ struct mgcp_endpoint { unsigned int in_remote; /* sequence bits */ - uint16_t net_seq_no; - uint16_t bts_seq_no; - int net_lost_no; - int bts_lost_no; + struct mgcp_rtp_state net_state; + struct mgcp_rtp_state bts_state; }; #define ENDPOINT_NUMBER(endp) abs(endp - endp->cfg->endpoints) |