diff options
author | Phil Sutter <phil@nwl.cc> | 2020-07-08 16:46:14 +0200 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2020-08-21 19:00:56 +0200 |
commit | 79ada320d0cca026f199ae8f39737c1e95991615 (patch) | |
tree | d742aefe5f97b627c5f721575f9c290d7a3ebfd5 /extensions/libxt_TRACE.man | |
parent | b531365ce32f386d91c6a0bbc80ec4076e4babdd (diff) |
nft: Extend use of nftnl_chain_list_foreach()
Make use of the callback-based iterator in nft_rule_list(),
nft_rule_list_save(), nft_rule_flush() and nft_rule_save().
Callback code for nft_rule_list() and nft_rule_list_save is pretty
similar, so introduce and use a common callback function.
For nft_rule_save(), turn nft_chain_save_rules() into a callback - it is
not used anywhere else, anyway.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'extensions/libxt_TRACE.man')
0 files changed, 0 insertions, 0 deletions