summaryrefslogtreecommitdiffstats
path: root/ggsn_tests/GTP_CodecPort_CtrlFunct.ttcn
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-08-04 00:34:42 +0200
committerHarald Welte <laforge@gnumonks.org>2017-08-04 00:35:45 +0200
commitd418fc6bb53fdda43310abc03f090ecf9bf38b1e (patch)
treeb595c3e2f53d6804aab777d24bf6f7c76db6db91 /ggsn_tests/GTP_CodecPort_CtrlFunct.ttcn
parent627c7c7dfa9f0cdc3cb48989f1588adbcaa139f5 (diff)
GTP: convert from translation port to dual faced port
I spent numerous hours in trying to avoid the dual faced port from segfaulting, but in the end didn't succeed :( The easy way was then simply to fall back to the known-working pattern of the dual-faced port, which I already successfully used also on the NS module for the Gb Inteface
Diffstat (limited to 'ggsn_tests/GTP_CodecPort_CtrlFunct.ttcn')
-rw-r--r--ggsn_tests/GTP_CodecPort_CtrlFunct.ttcn7
1 files changed, 7 insertions, 0 deletions
diff --git a/ggsn_tests/GTP_CodecPort_CtrlFunct.ttcn b/ggsn_tests/GTP_CodecPort_CtrlFunct.ttcn
index 33a2cab..4f61af7 100644
--- a/ggsn_tests/GTP_CodecPort_CtrlFunct.ttcn
+++ b/ggsn_tests/GTP_CodecPort_CtrlFunct.ttcn
@@ -40,4 +40,11 @@ module GTP_CodecPort_CtrlFunct {
out UserData userData
) return Result;
+ external function f_GTPU_listen(
+ inout GTPU_PT portRef,
+ in HostName locName,
+ in PortNumber locPort,
+ in ProtoTuple proto,
+ in OptionList options := {}
+ ) return Result;
}