pespin has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20056 )

Change subject: WIP: mncc: Support IPv6 addresses (new version mncc 7)
......................................................................


Patch Set 1:

(2 comments)

https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20056/1/library/MNCC_EncDec.cc
File library/MNCC_EncDec.cc:

https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20056/1/library/MNCC_EncDec.cc@195
PS1, Line 195:                  memcpy(((struct 
sockaddr_in6*)&rtp.addr)->sin6_addr, in.u().rtp().ip().data(),
I still need to figure out how to get a memory buffer point out of an 
octetstring here, from ip().


https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20056/1/library/MNCC_Types.ttcn
File library/MNCC_Types.ttcn:

https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20056/1/library/MNCC_Types.ttcn@377
PS1, Line 377:  octetstring     ip, //TODO: define size of octetstring based on 
is_ipv6 using CROSSTAGS?
something like: if is_ipv6 LERNGTHOF(ip = 16), if not is_ipv6 LENGTHOF(ip = 4).



--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20056
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: I5448ff931ec33f24f4837a51376f1703fe97683b
Gerrit-Change-Number: 20056
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pes...@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pes...@sysmocom.de>
Gerrit-Comment-Date: Wed, 09 Sep 2020 19:00:27 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment

Reply via email to