Change in osmo-ttcn3-hacks[master]: library/RSL_Types: add remote addr/port to ts_RSL_IPA_CRCX()

fixeria gerrit-no-reply at lists.osmocom.org
Sun Jul 4 02:18:17 UTC 2021


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/24838 )


Change subject: library/RSL_Types: add remote addr/port to ts_RSL_IPA_CRCX()
......................................................................

library/RSL_Types: add remote addr/port to ts_RSL_IPA_CRCX()

Change-Id: Iffcac2f1c9b877393fef547fb67ee24cc1e27a11
---
M library/RSL_Types.ttcn
1 file changed, 7 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/38/24838/1

diff --git a/library/RSL_Types.ttcn b/library/RSL_Types.ttcn
index 28ae971..4e25189 100644
--- a/library/RSL_Types.ttcn
+++ b/library/RSL_Types.ttcn
@@ -2003,11 +2003,16 @@
 			*
 		}
 	}
-	template (value) RSL_Message ts_RSL_IPA_CRCX(template (value) RslChannelNr chan_nr) := {
+	template (value) RSL_Message
+	ts_RSL_IPA_CRCX(template (value) RslChannelNr chan_nr,
+			template (value) uint32_t remote_ip := oct2int('7F000001'O),
+			template (value) uint16_t remote_port := 6766) := {
 		msg_disc := ts_RSL_MsgDisc(RSL_MDISC_IPACCESS, false),
 		msg_type := RSL_MT_IPAC_CRCX,
 		ies := {
-			t_RSL_IE(RSL_IE_CHAN_NR, RSL_IE_Body:{chan_nr := chan_nr})
+			t_RSL_IE(RSL_IE_CHAN_NR, RSL_IE_Body:{chan_nr := chan_nr}),
+			t_RSL_IE(RSL_IE_IPAC_REMOTE_IP, RSL_IE_Body:{ipa_remote_ip := remote_ip}),
+			t_RSL_IE(RSL_IE_IPAC_REMOTE_PORT, RSL_IE_Body:{ipa_remote_port := remote_port})
 		}
 	}
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/24838
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Iffcac2f1c9b877393fef547fb67ee24cc1e27a11
Gerrit-Change-Number: 24838
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210704/6bd833a7/attachment.htm>


More information about the gerrit-log mailing list