This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
lynxis lazus gerrit-no-reply at lists.osmocom.orglynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/19420 ) Change subject: WIP: update PCUIF_Types ...................................................................... WIP: update PCUIF_Types Change-Id: I13b03c380edc2dc609c5e4053462a3cd6f78ce72 --- M library/PCUIF_Types.ttcn 1 file changed, 18 insertions(+), 4 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/20/19420/1 diff --git a/library/PCUIF_Types.ttcn b/library/PCUIF_Types.ttcn index 089403c..674c6d4 100644 --- a/library/PCUIF_Types.ttcn +++ b/library/PCUIF_Types.ttcn @@ -20,7 +20,14 @@ }; const charstring PCU_SOCK_DEFAULT := "/tmp/pcu_bts"; -type integer PCUIF_Version (9); /* supported versions */ + +type integer PCUIF_Version (10); /* supported versions */ + +type enumerated PCUIF_RemoteProtocol { + PCU_IF_ADRESS_UNSPEC ('00'O), + PCU_IF_ADRESS_IPV4 ('04'O), + PCU_IF_ADRESS_IPV6 ('2a'O) +} with { variant "FIELDLENGTH(8)" }; type enumerated PCUIF_MsgType { PCU_IF_MSG_DATA_REQ ('00'O), @@ -186,8 +193,14 @@ record length(2) of uint16_t nsvci, record length(2) of uint16_t local_pprt, record length(2) of uint16_t remote_port, - record length(2) of OCT4 remote_ip -} with { variant "" } + record length(2) of PCUIF_RemoteProtocol remote_protocol, + record length(2) of octetstring remote_ip length(16) +}; + +type union PCUIF_RemoteIPu { + OCT4 ipv4, + octetstring ipv6 length(16) +}; type record PCUIF_act_req { uint8_t is_activate, @@ -258,7 +271,7 @@ time_ind, msg_type = PCU_IF_MSG_TIME_IND; pag_req, msg_type = PCU_IF_MSG_PAG_REQ; app_info_req, msg_type = PCU_IF_MSG_APP_INFO_REQ)" - variant "PADDING(1696)" /* 212 * 8 */ + variant "PADDING(1904)" /* 238 * 8 */ }; external function enc_PCUIF_Message(in PCUIF_Message pdu) return octetstring @@ -741,6 +754,7 @@ nsvci := ?, local_pprt := ?, remote_port := ?, + remote_protocol := ?, remote_ip := ? } } -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/19420 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: I13b03c380edc2dc609c5e4053462a3cd6f78ce72 Gerrit-Change-Number: 19420 Gerrit-PatchSet: 1 Gerrit-Owner: lynxis lazus <lynxis at fe80.eu> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200728/65bf7115/attachment.htm>