add new 'ipaccess-config' program to set Unit ID and primary OML NVRAM parameters of ip.access BTS
diff --git a/include/openbsc/abis_nm.h b/include/openbsc/abis_nm.h
index 1ed4cce..f1b0075 100644
--- a/include/openbsc/abis_nm.h
+++ b/include/openbsc/abis_nm.h
@@ -345,7 +345,7 @@
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 db565bf..8b9521d 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 @@
/* 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;