xt: Rewrite unsupported compat expression dumping
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | xt: Delay libxtables access until translationinclude/ src/ | +80 | 3 replies | |
| 2/4 | xt: Purify enum nft_xt_typeinclude/ src/ | +1 | 0 replies | |
| 3/4 | xt: Rewrite unsupported compat expression dumpingdoc/ doc/ include/ +7 more | +82 | 6 replies | |
| 4/4 | xt: Fall back to generic printing from translationsrc/ | +13 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [nft PATCH 0/4] xt: Rewrite unsupported compat expression dumping
Alternative approach to my previous dump and restore support of xt compat expressions:
If translation is not available or not successful, fall back to a format which allows to be parsed easily.
When parsing, reject these expressions explicitly with a meaningful error message.
Phil Sutter (4):
xt: Delay libxtables access until translation
xt: Purify enum nft_xt_type
xt: Rewrite unsupported compat expression dumping
xt: Fall back to generic printing from translation
doc/libnftables-json.adoc | 18 +++- doc/statements.txt | 17 ++++ include/json.h | 2 + include/parser.h | 1 + include/statement.h | 11 +- src/json.c | 19 ++-- src/parser_bison.y | 18 ++++ src/parser_json.c | 5 + src/scanner.l | 3 + src/statement.c | 1 + src/xt.c | 207 +++++++++++++++----------------------- 11 files changed, 163 insertions(+), 139 deletions(-)
Signature · 1 line
2.38.0