From: "ordex (Code Review)"
Date: Wed, 25 Sep 2024 11:54:17 +0000
In-Reply-To:
References:
Reply-To: a@...2181..., arne-openvpn@...1227..., gianmarco@...2726...,
openvpn-devel@lists.sourceforge.net, frank@...2641...
Message-ID: <1046367b706e2ad51eb7376e3265538b196d3590-EmailReviewComments-HTML@...2715...>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Content-Type: multipart/alternative; boundary="Bcg65xirREk="; charset=UTF-8
Subject: [Openvpn-devel] [M] Change in openvpn[master]: pass link_socket
object to i/o functions
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
To: its_Giaan
Cc: flichtenheld , plaisthos , openvpn-devel
--Bcg65xirREk=
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is currently required from: flichtenheld, its_Giaan, plaisthos.
ordex has posted comments on this change. ( http://gerrit.openvpn.net/c/ope=
nvpn/+/758?usp=3Demail )
Change subject: pass link_socket object to i/o functions
......................................................................
Patch Set 1:
(1 comment)
File src/openvpn/forward.c:
http://gerrit.openvpn.net/c/openvpn/+/758/comment/b7acdcf0_2ef7ae9c :
PS1, Line 928: read_incoming_link(struct context *c, struct link_socket *ls)
> Why not use "link_socket" as the variable name? No need to be cryptic. [=
=E2=80=A6]
Because calls from line 950 and below becomes messy due to line length =F0=
=9F=98=84
So "ls" seems a reasonable compromise.
socket.c:969:link_socket_update_flags() and
socket.c:983:link_socket_update_buffer_sizes()
also use "ls"
Otherwise all other functions call it "sock".
Any preference?
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/758?usp=3Demail
To unsubscribe, or for help writing mail filters, visit http://gerrit.openv=
pn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I8eae2d3356bbcc5d632eeb4fbe80de8009d9b40d
Gerrit-Change-Number: 758
Gerrit-PatchSet: 1
Gerrit-Owner: its_Giaan
Gerrit-Reviewer: flichtenheld
Gerrit-Reviewer: ordex
Gerrit-Reviewer: plaisthos
Gerrit-CC: openvpn-devel
Gerrit-Attention: plaisthos
Gerrit-Attention: its_Giaan
Gerrit-Attention: flichtenheld
Gerrit-Comment-Date: Wed, 25 Sep 2024 11:54:17 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: flichtenheld
Gerrit-MessageType: comment
--Bcg65xirREk=
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is currently required from: flichtenheld, its_Giaan, plaistho=
s.
View C=
hange
1 comment:
Because calls from line 950 and below becomes messy due to line length =F0=
=9F=98=84
So "ls" seems a reasonable compromise.
socket.c:969:link_socket=
_update_flags() and
socket.c:983:link_socket_update_buffer_sizes()
al=
so use "ls"
Otherwise all other functions call it "sock".
Any preference?
To view, visit change 758. To unsubscribe, or for help writin=
g mail filters, visit settin=
gs.
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I8eae2d3356bbcc5d632eeb4fbe8=
0de8009d9b40d
Gerrit-Change-Number: 758
Gerrit-PatchSet: 1
Gerrit-Owner: its_Giaan <gianmarco@...2786...=
..>
Gerrit-Reviewer: flichtenheld <frank@...2716...=
1...>
Gerrit-Reviewer: ordex <a@...2181...> =
div>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...=
.1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...=
ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...=
..1227...>
Gerrit-Attention: its_Giaan <gianmarco@...1665...=
726...>
Gerrit-Attention: flichtenheld <frank@...2375...=
41...>
Gerrit-Comment-Date: Wed, 25 Sep 2024 11:54:17=
+0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: flichtenheld <frank@...1186...=
.2641...>
Gerrit-MessageType: comment
--Bcg65xirREk=--