netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH nft 0/2] store expression instead of data type as set key
@ 2017-09-19 12:49 Florian Westphal
  2017-09-19 12:49 ` [PATCH nft 1/2] evaluate: prepare to store expr key rather than datatype Florian Westphal
  2017-09-19 12:49 ` [PATCH nft 2/2] src: store expression as set key instead of data type Florian Westphal
  0 siblings, 2 replies; 8+ messages in thread
From: Florian Westphal @ 2017-09-19 12:49 UTC (permalink / raw)
  To: netfilter-devel

This is a prerequisite to later support dynamic data types, e.g. string,
as a set key.  The string datatype (and integer) do not have a fixed size,
instead the size is determined by the expression.

This keeps the expression all the way down to set construction.
Furthermore, in case of concatenations we can use EXPR_CONCAT to allow the
netlink linearization step to determine the original sizes of the keys
components.

Both changes are preparation work, they add no feature.



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-09-27 13:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-19 12:49 [PATCH nft 0/2] store expression instead of data type as set key Florian Westphal
2017-09-19 12:49 ` [PATCH nft 1/2] evaluate: prepare to store expr key rather than datatype Florian Westphal
2017-09-27 12:19   ` Pablo Neira Ayuso
2017-09-19 12:49 ` [PATCH nft 2/2] src: store expression as set key instead of data type Florian Westphal
2017-09-27 12:58   ` Pablo Neira Ayuso
2017-09-27 13:02     ` Florian Westphal
2017-09-27 13:12       ` Florian Westphal
2017-09-27 13:59         ` Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).