commit | 46ed4d264ce44dd0a01723a1e326eedc0da822ba | [log] [tgz] |
---|---|---|
author | Phil Sutter <phil@nwl.cc> | Wed Mar 29 17:53:11 2023 +0200 |
committer | Phil Sutter <phil@nwl.cc> | Wed May 03 19:09:29 2023 +0200 |
tree | 74a4646736d597a0daf45556d6e2b110e65bb54b | |
parent | 90a7a183a208b691810b8519cc57d3d9d3b7eb60 [diff] |
nft: Introduce nft-ruleparse.{c,h} Extract all code dealing with parsing from struct nftnl_rule into struct iptables_command_state from nft-shared.c into a separate source file. Basically this is nft_rule_to_iptables_command_state() and the functions it calls, plus family-independent parsers called from family-specific callbacks. Signed-off-by: Phil Sutter <phil@nwl.cc>