summaryrefslogtreecommitdiffstats
path: root/include/osmocom/abis
diff options
context:
space:
mode:
authorHarald Welte2011-08-16 14:30:10 +0200
committerPablo Neira Ayuso2011-08-16 14:35:34 +0200
commitf2737fcd64b4d5441c8ee3296ac7a706d87c587a (patch)
tree20ee796b84ae72b0feaf1aac7df668c0759e3974 /include/osmocom/abis
parentE1 Input: Move 'show e1_*' command to e1_input_vty.c (diff)
downloadlibosmo-abis-f2737fcd64b4d5441c8ee3296ac7a706d87c587a.tar.gz
libosmo-abis-f2737fcd64b4d5441c8ee3296ac7a706d87c587a.tar.xz
libosmo-abis-f2737fcd64b4d5441c8ee3296ac7a706d87c587a.zip
E1 Input: Add rate counters for events related to E1 lines
Diffstat (limited to 'include/osmocom/abis')
-rw-r--r--include/osmocom/abis/e1_input.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/osmocom/abis/e1_input.h b/include/osmocom/abis/e1_input.h
index 9825999..8fac79a 100644
--- a/include/osmocom/abis/e1_input.h
+++ b/include/osmocom/abis/e1_input.h
@@ -19,6 +19,14 @@ enum e1inp_sign_type {
};
const char *e1inp_signtype_name(enum e1inp_sign_type tp);
+enum e1inp_ctr {
+ E1I_CTR_HDLC_ABORT,
+ E1I_CTR_HDLC_BADFCS,
+ E1I_CTR_HDLC_OVERR,
+ E1I_CTR_ALARM,
+ E1I_CTR_REMOVED,
+};
+
struct e1inp_ts;
struct e1inp_sign_link {
@@ -136,6 +144,7 @@ struct e1inp_line {
unsigned int num;
const char *name;
+ struct rate_ctr_group *rate_ctr;
/* array of timestlots */
struct e1inp_ts ts[NUM_E1_TS];