From: "its_Giaan (Code Review)" Date: Thu, 27 Jun 2024 08:44:04 +0000 In-Reply-To: References: Reply-To: gianmarco@...2726..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="H3tl0ECgKjk="; charset=UTF-8 Subject: [Openvpn-devel] [XL] Change in openvpn[master]: Lay the foundation to support both old and new versions of DCO List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: flichtenheld , plaisthos , openvpn-devel --H3tl0ECgKjk= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: flichtenheld, plaisthos. its_Giaan has posted comments on this change. ( http://gerrit.openvpn.net/c= /openvpn/+/662?usp=3Demail ) Change subject: Lay the foundation to support both old and new versions of = DCO ...................................................................... Patch Set 1: (3 comments) File src/openvpn/dco_linux.h: http://gerrit.openvpn.net/c/openvpn/+/662/comment/86f99d7c_43678f20 : PS1, Line 129: * @param nl_msg the message to use > "The" Acknowledged http://gerrit.openvpn.net/c/openvpn/+/662/comment/88a96579_919aab40 : PS1, Line 174: * extended in the future if we need to lookup more than one= mcast id. > "can be extended" ? Acknowledged File src/openvpn/forward.c: http://gerrit.openvpn.net/c/openvpn/+/662/comment/2f02c26a_4ad35d7f : PS1, Line 1233: int cmd_del_peer =3D OVPN_CMD_DEL_PEER; > Why is this indirection required? Because with the next commit that will introduce support for dco_v3, the co= mmands will be completely different (the names will be shared between dco_v= 3 linux and bsd while dco_v2 will use the *current* commands with the addit= ion of the acronym v2 (i.e. OVPN_V2_CMD_GET_PEER) and since the commands th= at will be used will change based on the platform and the version of dco lo= aded, that differentiation must be made via #if defined -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/662?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: I6662605b60d4859949970cfe256c55cbcbd4a672 Gerrit-Change-Number: 662 Gerrit-PatchSet: 1 Gerrit-Owner: its_Giaan Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: flichtenheld Gerrit-Comment-Date: Thu, 27 Jun 2024 08:44:04 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: flichtenheld Gerrit-MessageType: comment --H3tl0ECgKjk= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: flichtenheld, plaisthos.

View C= hange

3 comments:

  • File src/openvpn/forw= ard.c:

    • Patch Set #1= , Line 1233: int cm= d_del_peer =3D OVPN_CMD_DEL_PEER;

      Why is this indirec= tion required?

      Because with the next commit that will introduce support for= dco_v3, the commands will be completely different (the names will be share= d between dco_v3 linux and bsd while dco_v2 will use the *current* commands= with the addition of the acronym v2 (i.e. OVPN_V2_CMD_GET_PEER) and since = the commands that will be used will change based on the platform and the ve= rsion of dco loaded, that differentiation must be made via #if defined

      <= /li>
  • To view, visit change 662. To unsubscribe, or for help wri= ting mail filters, visit set= tings.

    =
    Gerrit-Project: openvpn
    Gerrit-Branch: master
    Gerrit-Change-Id: I6662605b60d4859949970cfe256= c55cbcbd4a672
    Gerrit-Change-Number: 662
    Gerrit-PatchSet: 1
    Gerrit-Owner: its_Giaan <gianmarco@...2786...= ..>
    Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
    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: flichtenheld <frank@...2375...= 41...>
    Gerrit-Comment-Date: Thu, 27 Jun 2024 08:44:04= +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: flichtenheld <frank@...1186...= .2641...>
    Gerrit-MessageType: comment
    --H3tl0ECgKjk=--