Attention is currently required from: neels, msuraev.
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmo-sccp/+/29158 )
Change subject: cosmetic: add spec reference
......................................................................
Patch Set 1:
(1 comment)
File src/sua.c:
https://gerrit.osmocom.org/c/libosmo-sccp/+/29158/comment/b2f7a3fb_1fd13581
PS1, Line 184: /* ITU-T Rec Q.713 */
> this spec is about SCCP, not SUA?
Background: SUA is a (much younger, IETF-provided) alternative protocol for (SCCP+MTP). As SUA functionality is a superset of SCCP (you can express everything possible in SCCP with SUA, but SUA has some additional bits you cannot express in SCCP) I decided that our stack internally uses SUA, and only transcodes to SCCP when SCCP is needed.
The SUA spec often falls back on SCCP.
I think it's useful to add these kind of annotations, but if one wants to do that, one should first mention the SUA RFC section and then the ITU-T reference, something like
"RFC1234 section 3.4 resembling Q.714 Secion 4.2"
or the like.
However, given that the task at hand was not to improve the documentation of our SIGTRAN code but to implement a specific message size limit, I don't think it is worth investing time
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sccp/+/29158
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Change-Id: I4d6bf9d0e681db779770b2fb815f7f9c5e608b15
Gerrit-Change-Number: 29158
Gerrit-PatchSet: 1
Gerrit-Owner: msuraev <msuraev(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: neels <nhofmeyr(a)sysmocom.de>
Gerrit-CC: laforge <laforge(a)osmocom.org>
Gerrit-Attention: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Attention: msuraev <msuraev(a)sysmocom.de>
Gerrit-Comment-Date: Sat, 20 Aug 2022 08:20:39 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: neels <nhofmeyr(a)sysmocom.de>
Gerrit-MessageType: comment
laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/29036 )
Change subject: rsl: Reduce scope of variable
......................................................................
rsl: Reduce scope of variable
The function is long/complex enough, so having one extra struct in_addr
declared the function top only used in one specific small path to print
the variable is unnecesary.
Let's move it to the conditional path where it is used to print the
ip address.
Change-Id: I4c16bbca6a6779537517b6b196828b47eddaa516
---
M src/common/rsl.c
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Jenkins Builder: Verified
laforge: Looks good to me, approved
diff --git a/src/common/rsl.c b/src/common/rsl.c
index 8cdb662..413c28d 100644
--- a/src/common/rsl.c
+++ b/src/common/rsl.c
@@ -2702,7 +2702,6 @@
int rc, inc_ip_port = 0;
char *name;
struct in_addr ia;
- struct in_addr addr;
if (dch->c.msg_type == RSL_MT_IPAC_CRCX)
name = "CRCX";
@@ -2721,6 +2720,7 @@
LOGPLCHAN(lchan, DRSL, LOGL_DEBUG, "IPAC_%s: ", name);
if (TLVP_PRES_LEN(&tp, RSL_IE_IPAC_REMOTE_IP, 4)) {
+ struct in_addr addr;
connect_ip = tlvp_val32_unal(&tp, RSL_IE_IPAC_REMOTE_IP);
addr.s_addr = connect_ip;
LOGPC(DRSL, LOGL_DEBUG, "connect_ip=%s ", inet_ntoa(addr));
--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/29036
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I4c16bbca6a6779537517b6b196828b47eddaa516
Gerrit-Change-Number: 29036
Gerrit-PatchSet: 3
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-MessageType: merged
Attention is currently required from: pespin.
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/29045 )
Change subject: Move lchan_dl_tch_queue_enqueue to lchan.c and make it public
......................................................................
Patch Set 2: Code-Review+2
--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/29045
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Ie7fa57bb04db9ad9b03971467e12ee7b8e4c190a
Gerrit-Change-Number: 29045
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Sat, 20 Aug 2022 08:15:08 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment