aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/e1_input.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-08-19 16:44:00 +0200
committerHarald Welte <laforge@gnumonks.org>2011-08-19 16:44:00 +0200
commit7fad70c19806701decd1c958ab8001bf07c5f16d (patch)
tree01da8827caa0ba518009149070e705ab91e9637f /openbsc/include/openbsc/e1_input.h
parent901d57db07d21f8e7d7f4b11421f63c44c2b2600 (diff)
parent013ae46ef67ee560aeaa38e39936a1ae7e35232f (diff)
Merge branch 'master' of git.osmocom.org:openbsc
Diffstat (limited to 'openbsc/include/openbsc/e1_input.h')
-rw-r--r--openbsc/include/openbsc/e1_input.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/e1_input.h b/openbsc/include/openbsc/e1_input.h
index 0d79c7d1e..f201c4fb1 100644
--- a/openbsc/include/openbsc/e1_input.h
+++ b/openbsc/include/openbsc/e1_input.h
@@ -8,6 +8,7 @@
#include <openbsc/gsm_data.h>
#include <osmocom/core/msgb.h>
#include <osmocom/core/select.h>
+#include <osmocom/core/rate_ctr.h>
#include <openbsc/subchan_demux.h>
#define NUM_E1_TS 32
@@ -19,6 +20,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 {
@@ -107,6 +116,7 @@ struct e1inp_line {
struct llist_head list;
unsigned int num;
const char *name;
+ struct rate_ctr_group *rate_ctr;
/* array of timestlots */
struct e1inp_ts ts[NUM_E1_TS];