netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] netfilter: set extensions
@ 2015-03-25 13:07 Patrick McHardy
  2015-03-25 13:07 ` [PATCH 1/6] rhashtable: provide len to obj_hashfn Patrick McHardy
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Patrick McHardy @ 2015-03-25 13:07 UTC (permalink / raw)
  To: pablo; +Cc: netfilter-devel

The following patches add so called "set extensions" to maintain optional
per element data for nft sets and converts nf_tables to use them.

Following patches will use these set extensions to add some features from
ipset which we are currently missing, namely timeouts and comments, as
well as set transactions, variable sized data for concatenations and
per-flow expressions. I'll send the next batch as soon as these have been
merged.

Please apply, thanks!


Patrick McHardy (6):
  rhashtable: provide len to obj_hashfn
  netfilter: nft_hash: restore struct nft_hash
  netfilter: nft_hash: indent rhashtable parameters
  netfilter: nft_hash: convert to use rhashtable callbacks
  netfilter: nf_tables: add set extensions
  netfilter: nf_tables: convert hash and rbtree to set extensions

 include/linux/rhashtable.h        |   6 +-
 include/net/netfilter/nf_tables.h | 119 ++++++++++++++++++++++++++++++--
 lib/rhashtable.c                  |   2 +-
 net/netfilter/nf_tables_api.c     | 135 ++++++++++++++++++++++++++++--------
 net/netfilter/nft_hash.c          | 141 +++++++++++++++++++++-----------------
 net/netfilter/nft_rbtree.c        |  64 ++++++-----------
 net/netlink/af_netlink.c          |   2 +-
 7 files changed, 326 insertions(+), 143 deletions(-)

-- 
2.1.0


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

end of thread, other threads:[~2015-03-26 11:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-25 13:07 [PATCH 0/6] netfilter: set extensions Patrick McHardy
2015-03-25 13:07 ` [PATCH 1/6] rhashtable: provide len to obj_hashfn Patrick McHardy
2015-03-25 13:07 ` [PATCH 2/6] netfilter: nft_hash: restore struct nft_hash Patrick McHardy
2015-03-25 13:07 ` [PATCH 3/6] netfilter: nft_hash: indent rhashtable parameters Patrick McHardy
2015-03-25 13:07 ` [PATCH 4/6] netfilter: nft_hash: convert to use rhashtable callbacks Patrick McHardy
2015-03-25 13:07 ` [PATCH 5/6] netfilter: nf_tables: add set extensions Patrick McHardy
2015-03-25 13:07 ` [PATCH 6/6] netfilter: nf_tables: convert hash and rbtree to " Patrick McHardy
2015-03-26 11:06 ` [PATCH 0/6] netfilter: " 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).