Skip to content

XML works

Arturo Borrero netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5src: rule: small fix XML outputsrc/rule.c+3 -21 reply
2/5src: expr: XML printing for binary data in targer and matchsrc/expr/match.c src/expr/target.c+6 -60 replies
3/5src: xml printing: delete text formatsrc/chain.c src/expr/bitwise.c src/expr/cmp.c +10 more+43 -431 reply
4/5src: expr: print flags in XMLsrc/expr/bitwise.c src/expr/cmp.c src/expr/counter.c +7 more+60 -300 replies
5/5src: support for XML parsingMake_global.am configure.ac include/libnftables/chain.h +18 more+1831 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [libnftables PATCH 0/5] XML works

The following series implements:

* small XML format fixes in printing.
* a workaround for target/match binary data.
* delete all \n and \t in XML printing.
* print expr flags in XML (the <expr_flags> node)
* [RFC] XML-to-object parsing.

Note that for XML parsing i've used libmxml (http://minixml.org/)

Also, please consider the XML parsing code a RFC.

---

Arturo Borrero (5):
src: rule: small fix XML output
src: expr: XML printing for binary data in targer and match
src: xml printing: delete text format
src: expr: print flags in XML
src: support for XML parsing

 Make_global.am              |    2 
 configure.ac                |    1 
 include/libnftables/chain.h |    1 
 include/libnftables/rule.h  |    1 
 include/libnftables/table.h |    1 
 src/chain.c                 |  206 ++++++++++++++++++++++++++++++++++--
 src/expr/bitwise.c          |  151 ++++++++++++++++++++++++--
 src/expr/cmp.c              |  139 +++++++++++++++++++++++-
 src/expr/counter.c          |   87 +++++++++++++++
 src/expr/data_reg.c         |  249 +++++++++++++++++++++++++++++++++++++++++++
 src/expr/immediate.c        |  118 ++++++++++++++++++++
 src/expr/lookup.c           |  107 +++++++++++++++++-
 src/expr/match.c            |  146 ++++++++++++++++++++++++-
 src/expr/meta.c             |   84 ++++++++++++++-
 src/expr/nat.c              |  159 +++++++++++++++++++++++++++
 src/expr/payload.c          |  118 ++++++++++++++++++++
 src/expr/target.c           |  148 +++++++++++++++++++++++++-
 src/expr_ops.h              |    1 
 src/libnftables.map         |    3 +
 src/rule.c                  |  189 ++++++++++++++++++++++++++++++++-
 src/table.c                 |  102 ++++++++++++++++--
 21 files changed, 1937 insertions(+), 76 deletions(-)
Signature · 1 line
Signature