summaryrefslogtreecommitdiffstats
path: root/src/gb
diff options
context:
space:
mode:
Diffstat (limited to 'src/gb')
-rw-r--r--src/gb/gprs_ns.c10
-rw-r--r--src/gb/libosmogb.map1
2 files changed, 11 insertions, 0 deletions
diff --git a/src/gb/gprs_ns.c b/src/gb/gprs_ns.c
index d0c5a177..23c0be88 100644
--- a/src/gb/gprs_ns.c
+++ b/src/gb/gprs_ns.c
@@ -150,6 +150,16 @@ static const struct osmo_stat_item_group_desc nsvc_statg_desc = {
.class_id = OSMO_STATS_CLASS_PEER,
};
+const struct value_string gprs_ns_signal_ns_names[] = {
+ { S_NS_RESET, "NS-RESET" },
+ { S_NS_BLOCK, "NS-BLOCK" },
+ { S_NS_UNBLOCK, "NS-UNBLOCK" },
+ { S_NS_ALIVE_EXP, "NS-ALIVE expired" },
+ { S_NS_REPLACED, "NSVC replaced" },
+ { S_NS_MISMATCH, "Unexpected IE" },
+ { 0, NULL }
+};
+
#define CHECK_TX_RC(rc, nsvc) \
if (rc < 0) \
LOGP(DNS, LOGL_ERROR, "TX failed (%d) to peer %s\n", \
diff --git a/src/gb/libosmogb.map b/src/gb/libosmogb.map
index 3ec3ee5f..6aad8fd6 100644
--- a/src/gb/libosmogb.map
+++ b/src/gb/libosmogb.map
@@ -38,6 +38,7 @@ bssgp_tx_paging;
bssgp_vty_init;
bssgp_nsi;
+gprs_ns_signal_ns_names;
gprs_ns_pdu_strings;
gprs_ns_cause_str;
gprs_ns_destroy;