diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-09-12 11:38:37 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2013-06-17 09:38:36 +0200 |
commit | 1728798f621f1c88fa8647b809505066de280178 (patch) | |
tree | e5717f61d282ce0a0aba2f213a22282a0ad8e8ad /openbsc/include | |
parent | e7f8c708c08cbd5fa85088846ea8dd9c1c4f9533 (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')
-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 f2f6d3f7b..6375be7ab 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 */ |