summaryrefslogtreecommitdiffstats
path: root/ggsn_tests/GTP_CodecPort_CtrlFunctDef.cc
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_CtrlFunctDef.cc
parenta967f3f50edd02aa8aaae1044d162758715ff040 (diff)
Revert "GTP: Attempt to use UDP_Testport instead of IPL4asp"
This reverts commit a967f3f50edd02aa8aaae1044d162758715ff040.
Diffstat (limited to 'ggsn_tests/GTP_CodecPort_CtrlFunctDef.cc')
-rw-r--r--ggsn_tests/GTP_CodecPort_CtrlFunctDef.cc58
1 files changed, 58 insertions, 0 deletions
diff --git a/ggsn_tests/GTP_CodecPort_CtrlFunctDef.cc b/ggsn_tests/GTP_CodecPort_CtrlFunctDef.cc
new file mode 100644
index 0000000..a8a014b
--- /dev/null
+++ b/ggsn_tests/GTP_CodecPort_CtrlFunctDef.cc
@@ -0,0 +1,58 @@
+#include "IPL4asp_PortType.hh"
+#include "IPL4asp_PT.hh"
+#include "GTP_CodecPort.hh"
+
+using namespace IPL4asp__PortType;
+using namespace IPL4asp__Types;
+
+namespace GTP__CodecPort__CtrlFunct {
+
+ IPL4asp__Types::Result f__IPL4__listen(
+ GTP__CodecPort::GTPC__PT& portRef,
+ const IPL4asp__Types::HostName& locName,
+ const IPL4asp__Types::PortNumber& locPort,
+ const IPL4asp__Types::ProtoTuple& proto,
+ const IPL4asp__Types::OptionList& options)
+ {
+ return f__IPL4__PROVIDER__listen(portRef, locName, locPort, proto, options);
+ }
+
+ IPL4asp__Types::Result f__IPL4__connect(
+ GTP__CodecPort::GTPC__PT& portRef,
+ const IPL4asp__Types::HostName& remName,
+ const IPL4asp__Types::PortNumber& remPort,
+ const IPL4asp__Types::HostName& locName,
+ const IPL4asp__Types::PortNumber& locPort,
+ const IPL4asp__Types::ConnectionId& connId,
+ const IPL4asp__Types::ProtoTuple& proto,
+ const IPL4asp__Types::OptionList& options)
+ {
+ return f__IPL4__PROVIDER__connect(portRef, remName, remPort,
+ locName, locPort, connId, proto, options);
+ }
+
+ IPL4asp__Types::Result f__IPL4__close(
+ GTP__CodecPort::GTPC__PT& portRef,
+ const IPL4asp__Types::ConnectionId& connId,
+ const IPL4asp__Types::ProtoTuple& proto)
+ {
+ return f__IPL4__PROVIDER__close(portRef, connId, proto);
+ }
+
+ IPL4asp__Types::Result f__IPL4__setUserData(
+ GTP__CodecPort::GTPC__PT& portRef,
+ const IPL4asp__Types::ConnectionId& connId,
+ const IPL4asp__Types::UserData& userData)
+ {
+ return f__IPL4__PROVIDER__setUserData(portRef, connId, userData);
+ }
+
+ IPL4asp__Types::Result f__IPL4__getUserData(
+ GTP__CodecPort::GTPC__PT& portRef,
+ const IPL4asp__Types::ConnectionId& connId,
+ IPL4asp__Types::UserData& userData)
+ {
+ return f__IPL4__PROVIDER__getUserData(portRef, connId, userData);
+ }
+
+}