All of lore.kernel.org
 help / color / mirror / Atom feed
* [iptables-nftables PATCH 0/5] Centralizes rule parsing
@ 2013-08-19 12:04 Tomasz Bursztyka
  2013-08-19 12:04 ` [iptables-nftables PATCH 1/5] nft: Parse fully and properly at once a rule into a cs Tomasz Bursztyka
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Tomasz Bursztyka @ 2013-08-19 12:04 UTC (permalink / raw)
  To: netfilter-devel; +Cc: Tomasz Bursztyka

Hi,

Here are the patches that refactors how rules are parsed. So now it's done in one unique place for all operations.

And it adds a function to reset the counters with -Z since it's trivial to do so with such parsing strategy.

Tomasz Bursztyka (5):
  nft: Parse fully and properly at once a rule into a cs
  nft: Refactor firewall printing so it reuses already parsed cs struct
  nft: Refactor rule deletion so it compares both cs structure
  xtables: nft: Complete refactoring on how rules are saved
  nft: Add a function to reset the counters of an existing rule

 iptables/nft-ipv4.c       |  99 ++++-----
 iptables/nft-ipv6.c       |  85 +++-----
 iptables/nft-shared.c     | 267 ++++++++++++------------
 iptables/nft-shared.h     |  16 +-
 iptables/nft.c            | 513 ++++++++++------------------------------------
 iptables/nft.h            |   5 +-
 iptables/xtables-events.c |  19 +-
 iptables/xtables.c        |  15 +-
 8 files changed, 342 insertions(+), 677 deletions(-)

-- 
1.8.3.2


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

end of thread, other threads:[~2013-08-20 18:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-19 12:04 [iptables-nftables PATCH 0/5] Centralizes rule parsing Tomasz Bursztyka
2013-08-19 12:04 ` [iptables-nftables PATCH 1/5] nft: Parse fully and properly at once a rule into a cs Tomasz Bursztyka
2013-08-19 12:04 ` [iptables-nftables PATCH 2/5] nft: Refactor firewall printing so it reuses already parsed cs struct Tomasz Bursztyka
2013-08-19 12:04 ` [iptables-nftables PATCH 3/5] nft: Refactor rule deletion so it compares both cs structure Tomasz Bursztyka
2013-08-19 12:04 ` [iptables-nftables PATCH 4/5] xtables: nft: Complete refactoring on how rules are saved Tomasz Bursztyka
2013-08-19 12:04 ` [iptables-nftables PATCH 5/5] nft: Add a function to reset the counters of an existing rule Tomasz Bursztyka
2013-08-20 18:58 ` [iptables-nftables PATCH 0/5] Centralizes rule parsing Pablo Neira Ayuso

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.