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 posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/19143 )
Change subject: socket: introduce osmo_sock_init_osa & osmo_sock_init_osa_ofd
......................................................................
Patch Set 18:
(8 comments)
https://gerrit.osmocom.org/c/libosmocore/+/19143/13/include/osmocom/core/socket.h
File include/osmocom/core/socket.h:
https://gerrit.osmocom.org/c/libosmocore/+/19143/13/include/osmocom/core/socket.h@61
PS13, Line 61: int osmo_sock_init3(uint16_t type, uint8_t proto,
> I agree on that
Done
https://gerrit.osmocom.org/c/libosmocore/+/19143/13/src/socket.c
File src/socket.c:
https://gerrit.osmocom.org/c/libosmocore/+/19143/13/src/socket.c@454
PS13, Line 454: osmo_strlcpy(dest.ip, "Invalid IP", 11)
> I know the macro is used only here in a limited code base, but doing this kind of macro safely would […]
Done
https://gerrit.osmocom.org/c/libosmocore/+/19143/13/src/socket.c@465
PS13, Line 465: * This function creates a new socket of the designated \a family, \a
> No "family" parameter here.
Done
https://gerrit.osmocom.org/c/libosmocore/+/19143/13/src/socket.c@496
PS13, Line 496: if (flags & OSMO_SOCK_F_BIND && !local) {
> maybe it's just my own uncertainty about operator precedence, but more braces would be nice
Done
https://gerrit.osmocom.org/c/libosmocore/+/19143/13/src/socket.c@500
PS13, Line 500:
> (ws: two blank lines)
Done
https://gerrit.osmocom.org/c/libosmocore/+/19143/13/src/socket.c@502
PS13, Line 502: if (flags & OSMO_SOCK_F_CONNECT && !remote) {
> more braces would be nice
Done
https://gerrit.osmocom.org/c/libosmocore/+/19143/13/src/socket.c@508
PS13, Line 508: flags & OSMO_SOCK_F_CONNECT &&
> more braces would be nice
Done
https://gerrit.osmocom.org/c/libosmocore/+/19143/13/src/socket.c@525
PS13, Line 525: if (proto != IPPROTO_UDP || flags & OSMO_SOCK_F_UDP_REUSEADDR) {
> more braces would be nice
Done
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/19143
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I1eece543e3241ef0e095eb63bb831f7c15a16794
Gerrit-Change-Number: 19143
Gerrit-PatchSet: 18
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: lynxis lazus <lynxis at fe80.eu>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-CC: neels <nhofmeyr at sysmocom.de>
Gerrit-Comment-Date: Wed, 02 Sep 2020 16:27:45 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin at sysmocom.de>
Comment-In-Reply-To: neels <nhofmeyr at sysmocom.de>
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200902/7216ebf2/attachment.htm>