[iptables-nftables PATCH 0/3] Generalize nft_rule_list() (+ 2 fixes)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux