diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-10-22 17:30:12 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-11-12 10:42:05 +0100 |
commit | 769912c9e95e9247831c51e6f7592b07712709d3 (patch) | |
tree | c0f1caab0d411932fed48aad41dc2a5813c582ec /openbsc/include | |
parent | 1e85af661caf8150199eded75791b15142c81acd (diff) |
mgcp: Calculate the wrap around as of Appendix A in RFC 3550
This is missing the probation and the dealing with a remote
restart. For the remote restart we will simply write a log
statement as this is unlikely to happen during a call or if
it does happen the call will be taken down by the BSC anyway.
Diffstat (limited to 'openbsc/include')
-rw-r--r-- | openbsc/include/openbsc/mgcp_internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/mgcp_internal.h b/openbsc/include/openbsc/mgcp_internal.h index e0086fa7e..f5e3cfce2 100644 --- a/openbsc/include/openbsc/mgcp_internal.h +++ b/openbsc/include/openbsc/mgcp_internal.h @@ -50,6 +50,7 @@ struct mgcp_rtp_state { uint16_t base_seq; uint16_t max_seq; int seq_offset; + int cycles; uint32_t last_timestamp; int32_t timestamp_offset; |