Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jun 2026 13:08:56 -0700
From:      Gleb Smirnoff <glebius@freebsd.org>
To:        Kristof Provost <kp@freebsd.org>, Ishan Agrawal <iagrawal9990@gmail.com>
Cc:        src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org, Ishan Agrawal <iagrawal9990@gmail.com>
Subject:   Re: git: 017690e50913 - main - netpfil: add PF netlink command decoding support
Message-ID:  <aiCJ2KLLIkQmu9Yt@cell.glebi.us>
In-Reply-To: <6a2028fd.30559.3287a30@gitrepo.freebsd.org>

index | next in thread | previous in thread | raw e-mail

On Wed, Jun 03, 2026 at 01:15:41PM +0000, Kristof Provost wrote:
K> The branch main has been updated by kp:
K> 
K> URL: https://cgit.FreeBSD.org/src/commit/?id=017690e509134422dbfa80316eab56d8d3f87065
K> 
K> commit 017690e509134422dbfa80316eab56d8d3f87065
K> Author:     Ishan Agrawal <iagrawal9990@gmail.com>
K> AuthorDate: 2026-06-01 12:24:05 +0000
K> Commit:     Kristof Provost <kp@FreeBSD.org>
K> CommitDate: 2026-06-03 08:52:06 +0000
K> 
K>     netpfil: add PF netlink command decoding support
K>     
K>     Convert PFNL_CMD values in pf_nl.h from an enum to #define constants,
K>     add a pfnl_cmd table definition for mktable, and implement the
K>     corresponding command decoding helpers in libsysdecode.
K>     
K>     This allows mktable to generate PF netlink command lookup tables and
K>     enables symbolic decoding of PF netlink commands.
K>     
K>     Reviewed by:    kp
K>     Signed-off-by:  Ishan Agrawal <iagrawal9990@gmail.com>
K>     Sponsored by:   Google LLC (GSoC 2026)

Sorry for not reviewing in time.  I got question: why does this
require ditching the enum and regressing down to preprocessor
defines?

-- 
Gleb Smirnoff


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aiCJ2KLLIkQmu9Yt>