diff options
author | Harald Welte <laforge@gnumonks.org> | 2018-02-17 18:50:38 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-02-18 10:26:45 +0100 |
commit | 328eb6d5356ad435eb0dd25f6d25bcdcae5e07f4 (patch) | |
tree | f0fd3a8c871edfd80df228ded94d03e091fe04eb /library/GTP_CodecPort_CtrlFunct.ttcn | |
parent | d471901f724c6e6592b15dd2b3b8348ff12a0d09 (diff) |
move GTP_CodecPort from ggsn to library (for sgsn reuse)
Change-Id: If1b25f3c4705fcf4763886b54c5ef1f7ae08628f
Diffstat (limited to 'library/GTP_CodecPort_CtrlFunct.ttcn')
-rw-r--r-- | library/GTP_CodecPort_CtrlFunct.ttcn | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/library/GTP_CodecPort_CtrlFunct.ttcn b/library/GTP_CodecPort_CtrlFunct.ttcn new file mode 100644 index 00000000..4f61af79 --- /dev/null +++ b/library/GTP_CodecPort_CtrlFunct.ttcn @@ -0,0 +1,50 @@ +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; + + external function f_GTPU_listen( + inout GTPU_PT portRef, + in HostName locName, + in PortNumber locPort, + in ProtoTuple proto, + in OptionList options := {} + ) return Result; +} |