aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2020-11-19 05:24:37 +0100
committerAlexander Couzens <lynxis@fe80.eu>2020-12-22 16:36:19 +0100
commit412bc3494dad3f074a10dc5f0ffab97cb2f9c4da (patch)
tree14f6cded85f5d30f02287946969815d4b489f5c2 /include
parentd2a61179a34282924e86ccaecdb95e3a3711d1ff (diff)
gprs_ns2: add new vty2
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/gprs/gprs_ns2.h4
-rw-r--r--include/osmocom/vty/command.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/include/osmocom/gprs/gprs_ns2.h b/include/osmocom/gprs/gprs_ns2.h
index 0b3ea1fd..1b202989 100644
--- a/include/osmocom/gprs/gprs_ns2.h
+++ b/include/osmocom/gprs/gprs_ns2.h
@@ -42,6 +42,7 @@ enum gprs_ns2_dialect {
/*! Osmocom NS link layer types */
enum gprs_ns2_ll {
+ GPRS_NS2_LL_UNDEF, /*!< undefined, used by vty */
GPRS_NS2_LL_UDP, /*!< NS/UDP/IP */
GPRS_NS2_LL_FR, /*!< NS/FR */
GPRS_NS2_LL_FR_GRE, /*!< NS/FR/GRE/IP */
@@ -264,4 +265,7 @@ int gprs_ns2_vty_init(struct gprs_ns2_inst *nsi,
const struct osmo_sockaddr_str *default_bind);
int gprs_ns2_vty_create();
+/* vty 2 */
+int gprs_ns2_vty2_init(struct gprs_ns2_inst *nsi);
+
/*! @} */
diff --git a/include/osmocom/vty/command.h b/include/osmocom/vty/command.h
index add57e22..bc8f2e17 100644
--- a/include/osmocom/vty/command.h
+++ b/include/osmocom/vty/command.h
@@ -100,6 +100,8 @@ enum node_type {
L_CS7_SCCPADDR_GT_NODE, /*!< SS7 SCCP Global Title */
L_CPU_SCHED_NODE, /*!< CPU Sched related options node */
+ L_NS_BIND_NODE, /*!< NS bind node */
+ L_NS_NSE_NODE, /*!< NS NSE node */
/*
* When adding new nodes to the libosmocore project, these nodes can be
* used to avoid ABI changes for unrelated projects.