From: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
To: netfilter-devel@vger.kernel.org
Cc: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Subject: [iptables-nftables PATCH 0/5] Centralizes rule parsing
Date: Mon, 19 Aug 2013 15:04:01 +0300 [thread overview]
Message-ID: <1376913846-15996-1-git-send-email-tomasz.bursztyka@linux.intel.com> (raw)
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
next reply other threads:[~2013-08-19 12:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-19 12:04 Tomasz Bursztyka [this message]
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
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=1376913846-15996-1-git-send-email-tomasz.bursztyka@linux.intel.com \
--to=tomasz.bursztyka@linux.intel.com \
--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 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).