aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/mgcp_internal.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2012-09-12 11:38:37 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2012-11-12 10:42:05 +0100
commit952f752ffa848cfac4beba5ab641cb1cd81753b2 (patch)
tree7be3b8acb2523a0e751ad994a372be0996895987 /openbsc/include/openbsc/mgcp_internal.h
parent2a60a11c48e8677fc6c75174a5a0d4db1da97d0a (diff)
mgcp: Count the received octets as of the MGCP specification
Count the received octets. This is encouraged by the MGCP specification. Use a 32bit counter that is good enough for more than 12 hours of a EFR call. This limit is good enough for the current configuration.
Diffstat (limited to 'openbsc/include/openbsc/mgcp_internal.h')
-rw-r--r--openbsc/include/openbsc/mgcp_internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/mgcp_internal.h b/openbsc/include/openbsc/mgcp_internal.h
index d04025f9b..db2470166 100644
--- a/openbsc/include/openbsc/mgcp_internal.h
+++ b/openbsc/include/openbsc/mgcp_internal.h
@@ -55,6 +55,7 @@ struct mgcp_rtp_state {
struct mgcp_rtp_end {
/* statistics */
unsigned int packets;
+ unsigned int octets;
struct in_addr addr;
/* in network byte order */