aboutsummaryrefslogtreecommitdiffstats
path: root/include/openbsc
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2009-04-30 15:53:07 +0000
committerHarald Welte <laforge@gnumonks.org>2009-04-30 15:53:07 +0000
commit25de99170fd44d7d5606a8c34a89c4fdf1019e8e (patch)
tree70144ab934bb002bc63079dde3a71083edcd8e92 /include/openbsc
parent193fefc68322d5ed0cf7f545d1ba2f09c9c879f4 (diff)
add new 'ipaccess-config' program to set Unit ID and primary OML NVRAM parameters of ip.access BTS
Diffstat (limited to 'include/openbsc')
-rw-r--r--include/openbsc/abis_nm.h2
-rw-r--r--include/openbsc/e1_input.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/include/openbsc/abis_nm.h b/include/openbsc/abis_nm.h
index 1ed4ccedf..f1b00756e 100644
--- a/include/openbsc/abis_nm.h
+++ b/include/openbsc/abis_nm.h
@@ -345,7 +345,7 @@ enum abis_nm_attr {
NM_ATT_IPACC_RSL_BSC_IP = 0x80,
NM_ATT_IPACC_RSL_BSC_PORT = 0x81,
NM_ATT_IPACC_LOCATION = 0x8e, /* string describing location */
- NM_ATT_IPACC_UNIT_ID = 0x91,
+ NM_ATT_IPACC_UNIT_ID = 0x91, /* Site/BTS/TRX */
NM_ATT_IPACC_UNIT_NAME = 0x93, /* default: nbts-<mac-as-string> */
NM_ATT_IPACC_PRIM_OML_IP = 0x95,
NM_ATT_IPACC_SEC_OML_IP = 0x96,
diff --git a/include/openbsc/e1_input.h b/include/openbsc/e1_input.h
index db565bfb4..8b9521d61 100644
--- a/include/openbsc/e1_input.h
+++ b/include/openbsc/e1_input.h
@@ -2,6 +2,7 @@
#define _E1_INPUT_H
#include <stdlib.h>
+#include <netinet/in.h>
#include <openbsc/linuxlist.h>
#include <openbsc/gsm_data.h>
@@ -147,6 +148,7 @@ struct subch_mux *e1inp_get_mux(u_int8_t e1_nr, u_int8_t ts_nr);
/* e1_config.c */
int e1_config(struct gsm_bts *bts, int cardnr, int release_l2);
int ia_config(struct gsm_bts *bts);
+int ia_config_connect(struct gsm_bts *bts, struct sockaddr_in *sin);
int ipaccess_setup(struct e1inp_line *line);
struct llist_head e1inp_driver_list;