aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/mgcp_internal.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2012-10-22 17:08:48 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2012-11-12 10:42:05 +0100
commited3a661d0b195fb0f7528022c90c84229828175a (patch)
treef1d6832cf69be7eff5509c1a27dd13207c9da617 /openbsc/include/openbsc/mgcp_internal.h
parent0bf15a81878c9fce83d7cff8842c52b5839564b9 (diff)
mgcp: Align the variable naming with Appendix A of RFC 3550
Align the naming inside the mgcp_rtp_state with the naming inside the 'source' struct of the appendix. Make first_seq_no/base_seq a uint16_t. This is removing rules for alignments and reduces the struct from 40 bytes to 36.
Diffstat (limited to 'openbsc/include/openbsc/mgcp_internal.h')
-rw-r--r--openbsc/include/openbsc/mgcp_internal.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/openbsc/include/openbsc/mgcp_internal.h b/openbsc/include/openbsc/mgcp_internal.h
index d7e51a06f..e0086fa7e 100644
--- a/openbsc/include/openbsc/mgcp_internal.h
+++ b/openbsc/include/openbsc/mgcp_internal.h
@@ -46,9 +46,11 @@ struct mgcp_rtp_state {
uint32_t orig_ssrc;
uint32_t ssrc;
- int first_seq_no;
- uint16_t seq_no;
+
+ uint16_t base_seq;
+ uint16_t max_seq;
int seq_offset;
+
uint32_t last_timestamp;
int32_t timestamp_offset;
};