From 952f752ffa848cfac4beba5ab641cb1cd81753b2 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 12 Sep 2012 11:38:37 +0200 Subject: 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. --- openbsc/include/openbsc/mgcp_internal.h | 1 + 1 file changed, 1 insertion(+) (limited to 'openbsc/include/openbsc/mgcp_internal.h') 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 */ -- cgit v1.2.3