summaryrefslogtreecommitdiffstats
path: root/ggsn_tests/GTP_CodecPort_CtrlFunct.ttcn
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-08-03 18:17:02 +0200
committerHarald Welte <laforge@gnumonks.org>2017-08-03 18:17:02 +0200
commit627c7c7dfa9f0cdc3cb48989f1588adbcaa139f5 (patch)
treea48082b1aaec9ac63fb9d6e7a93151c560c80982 /ggsn_tests/GTP_CodecPort_CtrlFunct.ttcn
parenta967f3f50edd02aa8aaae1044d162758715ff040 (diff)
Revert "GTP: Attempt to use UDP_Testport instead of IPL4asp"
This reverts commit a967f3f50edd02aa8aaae1044d162758715ff040.
Diffstat (limited to 'ggsn_tests/GTP_CodecPort_CtrlFunct.ttcn')
-rw-r--r--ggsn_tests/GTP_CodecPort_CtrlFunct.ttcn43
1 files changed, 43 insertions, 0 deletions
diff --git a/ggsn_tests/GTP_CodecPort_CtrlFunct.ttcn b/ggsn_tests/GTP_CodecPort_CtrlFunct.ttcn
new file mode 100644
index 0000000..33a2cab
--- /dev/null
+++ b/ggsn_tests/GTP_CodecPort_CtrlFunct.ttcn
@@ -0,0 +1,43 @@
+module GTP_CodecPort_CtrlFunct {
+
+ import from GTP_CodecPort all;
+ import from IPL4asp_Types all;
+
+ external function f_IPL4_listen(
+ inout GTPC_PT portRef,
+ in HostName locName,
+ in PortNumber locPort,
+ in ProtoTuple proto,
+ in OptionList options := {}
+ ) return Result;
+
+ external function f_IPL4_connect(
+ inout GTPC_PT portRef,
+ in HostName remName,
+ in PortNumber remPort,
+ in HostName locName,
+ in PortNumber locPort,
+ in ConnectionId connId,
+ in ProtoTuple proto,
+ in OptionList options := {}
+ ) return Result;
+
+ external function f_IPL4_close(
+ inout GTPC_PT portRef,
+ in ConnectionId id,
+ in ProtoTuple proto := { unspecified := {} }
+ ) return Result;
+
+ external function f_IPL4_setUserData(
+ inout GTPC_PT portRef,
+ in ConnectionId id,
+ in UserData userData
+ ) return Result;
+
+ external function f_IPL4_getUserData(
+ inout GTPC_PT portRef,
+ in ConnectionId id,
+ out UserData userData
+ ) return Result;
+
+}