netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [iptables-nftables PATCH 0/3] Generalize nft_rule_list() (+ 2 fixes)
@ 2013-08-07  8:31 Tomasz Bursztyka
  2013-08-07  8:31 ` [iptables-nftables PATCH 1/3] nft: Remove useless test on rulenum in nft_rule_list() Tomasz Bursztyka
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Tomasz Bursztyka @ 2013-08-07  8:31 UTC (permalink / raw)
  To: netfilter-devel; +Cc: Tomasz Bursztyka

Hi,

Proper refactorization of nft_rule_list() so it uses nft_family_ops .print_firewall, thus enabling its usage by other family such as ARP etc...

2 small fixes: one about optimization (patch 1), and one about the output (patch 3)

Tomasz Bursztyka (3):
  nft: Remove useless test on rulenum in nft_rule_list()
  nft: Generalize nft_rule_list() against current family
  nft: Print unknown target data only when relevant

 iptables/nft-ipv4.c   |  39 ++++++--
 iptables/nft-ipv6.c   |  39 ++++++--
 iptables/nft-shared.c | 239 +++++++++++++++++++++++++++++++++++++++++++++++
 iptables/nft-shared.h |  13 ++-
 iptables/nft.c        | 254 ++------------------------------------------------
 5 files changed, 317 insertions(+), 267 deletions(-)

-- 
1.8.3.2


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

end of thread, other threads:[~2013-08-07  9:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-07  8:31 [iptables-nftables PATCH 0/3] Generalize nft_rule_list() (+ 2 fixes) Tomasz Bursztyka
2013-08-07  8:31 ` [iptables-nftables PATCH 1/3] nft: Remove useless test on rulenum in nft_rule_list() Tomasz Bursztyka
2013-08-07  8:59   ` Pablo Neira Ayuso
2013-08-07  8:31 ` [iptables-nftables PATCH 2/3] nft: Generalize nft_rule_list() against current family Tomasz Bursztyka
2013-08-07  9:00   ` Pablo Neira Ayuso
2013-08-07  9:02     ` Tomasz Bursztyka
2013-08-07  8:31 ` [iptables-nftables PATCH 3/3] nft: Print unknown target data only when relevant Tomasz Bursztyka
2013-08-07  9:01   ` 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).