From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: passt.top; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=COXe6tKm; dkim-atps=neutral Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by passt.top (Postfix) with ESMTPS id AFE955A065D for ; Sun, 03 May 2026 23:56:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1777845377; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=POxSX1AmAKSJlvMB4rdutWYXIq3mY7BMcpT60Vvfu18=; b=COXe6tKmZODBAtNk+QSKS+y2+kRc0akd8XS81GA/s1xcGKn/4ddpH7NFzuu/zasfN75w7F ptuUNO0PdqCi1uDpH0lDTw8UQGi0ZhH5er3oINSnhu+eMaoJhvQyLlNfMVx057d8cwKn8j iQ9fgrqg+1sTAl+AweynMDWd14oJBEc= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-100-GFgSfMLTNVyKRNqZqdUpaQ-1; Sun, 03 May 2026 17:56:16 -0400 X-MC-Unique: GFgSfMLTNVyKRNqZqdUpaQ-1 X-Mimecast-MFC-AGG-ID: GFgSfMLTNVyKRNqZqdUpaQ_1777845375 Received: by mail-wr1-f69.google.com with SMTP id ffacd0b85a97d-44a52d5e572so1359071f8f.3 for ; Sun, 03 May 2026 14:56:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777845375; x=1778450175; h=date:content-transfer-encoding:mime-version:organization:references :in-reply-to:message-id:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=POxSX1AmAKSJlvMB4rdutWYXIq3mY7BMcpT60Vvfu18=; b=HoAcdMjIimCe/cjy46uqe2n4rjKrI3fjNZ5FsUC8DXAEYqK6iv7U7Wz73d1VKt2AgY m8BMxC8cF4mAdjNdzjhi+PKMACEI6Z7ZhEaHg75C1Nr5Kb59UDix/2TFvITUyRMAhue8 Ck1jgTgCSofwRcCsHDprwmr+0W/ro3LFVyVdP3pkZS5wP/eb/0w5HB7cI8yZJc27wjqg UUe3Ahjkdocr3GkGub4gTj3TXSlJQl9AMMeGAgF4nAcTpCJhC+qj6PWI9Htgw4EDFM1o 6RkXdFuRbuhUx6eAXhrH3B2Yhk/Ukc45T9H80cVp+m9LJCheMXdRb/Txkojp/Pt/X+6p jZjw== X-Forwarded-Encrypted: i=1; AFNElJ8sZQkpQhdKxjw3fHyhCehF6mwV2yAMFIk5s+w6UkA0u/JEQsWgO+4GFmLbDWNtlRTF6O1O7rTFVsM=@passt.top X-Gm-Message-State: AOJu0YylIMojUmeLXWy6ufpGc+u7LpIfeq400bWYXdkiNGRZ63wgiO1V Dgl4RO4DZ1H2HCe0bm7Hjng3tn64tgD2ddDcCGhbQnoxSG+P7v1QEI7nEHYjh1QJV6EWInSBWMM m5GjWvLpH11weBF78Y4H0+dbBDsTDoTd35lmJfB6hUnn+qvE3eXiZTQ== X-Gm-Gg: AeBDietZFmN1uuNSd2Y1a8/7Z/TU1s3a1xlARzodRWqmnfHJ2rq0z+xQawa6qORNb2a BCsm2/j0es3Mzt2uPbRnOBVLrwuWncCFKa2u/c+v+5OKMzglxd75ISgc+FTZ/sbIlgheTBD0k15 wVu8ipYkP38sejjZAofqm7ZlLU0MokRyX2FnjAbcc1Pbqk8VWaGYxS0s7IMEzivte9n+PjQ0Id6 UKaRVU5UnO8JkFNg4pFt1Vfx56eiwTcfq5zYCg+1/wvcbOvYrFHsZoz8PQj66+GMAbf5xcnrXSN z9cPrvtN+z4JEPe3g4oLVp0TUJzXVOIgBr1/bR56aPHw4pZ7khF8UGWerBFTlR2nFdr+st7+sFQ 2uvAAhm5zNiXVXxQGgKmROaL0SlLYNnR7lwH64X41Dmw= X-Received: by 2002:a05:6000:184e:b0:43b:445f:3177 with SMTP id ffacd0b85a97d-44bb5b4d764mr12635184f8f.31.1777845374711; Sun, 03 May 2026 14:56:14 -0700 (PDT) X-Received: by 2002:a05:6000:184e:b0:43b:445f:3177 with SMTP id ffacd0b85a97d-44bb5b4d764mr12635162f8f.31.1777845374219; Sun, 03 May 2026 14:56:14 -0700 (PDT) Received: from maya.myfinge.rs (ifcgrfdd.trafficplex.cloud. [2a10:fc81:a806:d6a9::1]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-44a981defbfsm22226513f8f.17.2026.05.03.14.56.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 May 2026 14:56:13 -0700 (PDT) From: Stefano Brivio To: Jon Maloy Subject: Re: [PATCH v5 03/18] fwd, conf: Move rule parsing code to fwd_rule.[ch] Message-ID: <20260503235612.023596be@elisabeth> In-Reply-To: <735c337c-5fb6-4c06-b507-ade23f3da18b@redhat.com> References: <20260421062516.2601204-1-david@gibson.dropbear.id.au> <20260421062516.2601204-4-david@gibson.dropbear.id.au> <735c337c-5fb6-4c06-b507-ade23f3da18b@redhat.com> Organization: Red Hat X-Mailer: Claws Mail 4.2.0 (GTK 3.24.49; x86_64-pc-linux-gnu) MIME-Version: 1.0 Date: Sun, 03 May 2026 23:56:13 +0200 (CEST) X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: Dobp2ScRUR3ayNCvVx11yP-Tr7IqKM8NDOAsHAHoUZQ_1777845375 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID-Hash: TYQWYNULUKXH4H3YSPKV4GL2DCHWLOQN X-Message-ID-Hash: TYQWYNULUKXH4H3YSPKV4GL2DCHWLOQN X-MailFrom: sbrivio@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: David Gibson , passt-dev@passt.top, Laurent Vivier X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Fri, 24 Apr 2026 18:36:52 -0400 Jon Maloy wrote: > On 2026-04-21 02:25, David Gibson wrote: > > The code parsing command line options into forwarding rules has now been > > decoupled from most of passt/pasta's internals. This is good, because > > we'll soon want to share it with a configuration update client. > > > > Make the next step by moving this code into fwd_rule.[ch]. > > > > Signed-off-by: David Gibson > > Reviewd-by: Laurent Vivier > > Reviewed-by: Laurent Vivier Fixed in v6. -- Stefano