dexter has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/34076 )
Change subject: GTP_Templates: add function to encode RIM_Routing_Address_GTPC ......................................................................
GTP_Templates: add function to encode RIM_Routing_Address_GTPC
When forwarding RAN TRANSPARENT CONTAINERs containers on GTP-C, the sender adds a RIM ROUTING ADDRESS and a RIM ROUTING ADDRESS DISCRIMINATOR. The RIM ROUTING ADDRESS is represented as an octet-string, so we need an encoder function for it.
Related: OS#6095 Change-Id: I45d1f5b019f3847fd611c38dc19d78d6fe027c5a --- M library/GTP_Templates.ttcn 1 file changed, 17 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/76/34076/1
diff --git a/library/GTP_Templates.ttcn b/library/GTP_Templates.ttcn index adae38f..719eff6 100644 --- a/library/GTP_Templates.ttcn +++ b/library/GTP_Templates.ttcn @@ -1082,6 +1082,8 @@ number_of_SI_PSI := int2bit(si_psi_num, 7), sI_PSI := si_psi } + external function enc_RIM_Routing_Address_GTPC(in RIM_Routing_Address_GTPC ra) return octetstring + with { extension "prototype(convert) encode(RAW)" };
/* RAN_Information_Request */ template (value) RAN_Information_Request_RIM_Container_GTPC