From: Shaun Brady <brady.1345@gmail.com>
To: Florian Westphal <fw@strlen.de>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: Feedback on variable sized set elements
Date: Fri, 11 Jul 2025 22:43:41 -0400 [thread overview]
Message-ID: <aHHL3ZYi65GHx0CI@fedora> (raw)
In-Reply-To: <aHDnIS1iaBKtxove@strlen.de>
On Fri, Jul 11, 2025 at 12:27:45PM +0200, Florian Westphal wrote:
>
> Why? This is hard, the kernel has no notion of data types.
>
I speculated I could contain things up in userland, but as you
stated, the kernel got involved (would need to be aware of the change).
If the ask is more philosophical, it would have been for educational
purposes.
>
> The kernel doesn't know what an ipv4 or ipv6 address is.
> It only knows the total key size.
This became clear, and clear that I wasn't missing anything. Further,
it indicated my thinking was swimming upstream from a design goal of
netfilter, so to hear you conclude with ...
>
> ...I don't think its worth the pain. Also because then ipv4 becomes
> indistinguishable from on-wire mapped addresses.
>
... is mostly what I needed.
Thank you for taking the time to answer my open ended inquiries,
especially when no real code was presented.
I'll find something new to chew on shortly!
Thanks!
SB
prev parent reply other threads:[~2025-07-12 2:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-11 3:30 Feedback on variable sized set elements Shaun Brady
2025-07-11 10:27 ` Florian Westphal
2025-07-12 2:43 ` Shaun Brady [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aHHL3ZYi65GHx0CI@fedora \
--to=brady.1345@gmail.com \
--cc=fw@strlen.de \
--cc=netfilter-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.