summaryrefslogtreecommitdiffstats
path: root/library/NS_RAW.ttcn
diff options
context:
space:
mode:
Diffstat (limited to 'library/NS_RAW.ttcn')
-rw-r--r--library/NS_RAW.ttcn10
1 files changed, 10 insertions, 0 deletions
diff --git a/library/NS_RAW.ttcn b/library/NS_RAW.ttcn
index 848f488..b842bf8 100644
--- a/library/NS_RAW.ttcn
+++ b/library/NS_RAW.ttcn
@@ -222,6 +222,16 @@ altstep as_rx_ns_unblock_ack(boolean oneshot := false, integer idx := 0) runs on
}
}
+/* Transmit NS-RESET and expect ACK */
+function f_tx_ns_reset_rx_ack(integer idx := 0) runs on RAW_NS_CT {
+ NSCP[idx].send(t_NS_Send(g_ns_conn_id[idx], ts_NS_RESET(NS_CAUSE_OM_INTERVENTION,
+ g_nsconfig[idx].nsvci,
+ g_nsconfig[idx].nsei)));
+ f_ns_exp(tr_NS_RESET_ACK(g_nsconfig[idx].nsvci, g_nsconfig[idx].nsei), idx);
+}
+
+
+
}