aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2016-08-19 17:31:01 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2016-08-19 17:31:01 +0200
commitc3455dcb7951069dab99effae71aac2a14961823 (patch)
tree4d82851a8808d04fb68bea663fbac14ca5039855 /include
parentf416463a3c4fa3d94d8f8c7cdcfb04123fbee994 (diff)
client: Additional counters for the statistics
Add more counters and start counting them when reading from the PCAP library and when trying to write to the socket. Change-Id: I52d3064a265b402ac849d8578a14f718156c0805
Diffstat (limited to 'include')
-rw-r--r--include/osmo-pcap/osmo_pcap_client.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmo-pcap/osmo_pcap_client.h b/include/osmo-pcap/osmo_pcap_client.h
index 3cc3080..90cd5ad 100644
--- a/include/osmo-pcap/osmo_pcap_client.h
+++ b/include/osmo-pcap/osmo_pcap_client.h
@@ -36,6 +36,8 @@ enum {
CLIENT_CTR_2BIG,
CLIENT_CTR_NOMEM,
CLIENT_CTR_QERR,
+ CLIENT_CTR_PERR,
+ CLIENT_CTR_WERR,
};
struct osmo_pcap_client {