[PATCH nf-next 0/3] NF NAT deduplication refactoring

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

 



These three patches perform refactoring in NF NAT modules to remove
duplicate code.

Jeremy Sowden (3):
  netfilter: nf_nat_redirect: use `struct nf_nat_range2` in ipv4 API
  netfilter: nft_masq: deduplicate eval call-backs
  netfilter: nft_redir: deduplicate eval call-backs

 include/net/netfilter/nf_nat_redirect.h |  3 +-
 net/netfilter/nf_nat_redirect.c         | 58 ++++++++---------
 net/netfilter/nft_masq.c                | 75 +++++++++-------------
 net/netfilter/nft_redir.c               | 84 +++++++++----------------
 net/netfilter/xt_REDIRECT.c             | 10 ++-
 5 files changed, 96 insertions(+), 134 deletions(-)

-- 
2.39.2




[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux