From: Alvaro Neira <alvaroneay@gmail.com>
To: netfilter-devel@vger.kernel.org
Cc: eric@regit.org
Subject: [libnftables PATCH 0/2] Series to add JSON output support for rules
Date: Thu, 27 Jun 2013 21:56:10 +0200 [thread overview]
Message-ID: <20130627194837.13980.68301.stgit@Ph0enix> (raw)
Json support for exporting rules and add implementation for testing this functions. I have also ordered the switch case in the right order:
First position: Default Support
Second position: Xml Support
Last position: Json Support
---
Álvaro Neira Ayuso (2):
Add function for exporting rule to JSON format and Order the switch values in the right order
Add code for testing the new functions for exporting rules to JSON Format
examples/nft-rule-get.c | 5 +++
include/libnftables/rule.h | 1 +
src/chain.c | 8 +++--
src/expr/bitwise.c | 37 ++++++++++++++++++++++++-
src/expr/byteorder.c | 22 +++++++++++++++
src/expr/cmp.c | 25 ++++++++++++++++-
src/expr/counter.c | 7 +++--
src/expr/ct.c | 5 +++
src/expr/data_reg.c | 65 +++++++++++++++++++++++++++++++++++++++-----
src/expr/exthdr.c | 16 +++++++----
src/expr/immediate.c | 40 ++++++++++++++++++++++++++-
src/expr/limit.c | 4 +++
src/expr/log.c | 7 +++++
src/expr/lookup.c | 20 ++++++++++++--
src/expr/match.c | 18 +++++++++++-
src/expr/meta.c | 10 +++++--
src/expr/nat.c | 44 ++++++++++++++++++++++++++++--
src/expr/payload.c | 39 ++++++++++++++++++++++++--
src/expr/target.c | 19 ++++++++++++-
src/internal.h | 1 +
src/rule.c | 52 ++++++++++++++++++++++++++++++++++-
src/table.c | 4 +--
22 files changed, 406 insertions(+), 43 deletions(-)
--
Álvaro Neira Ayuso
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next reply other threads:[~2013-06-27 19:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-27 19:56 Alvaro Neira [this message]
2013-06-27 19:56 ` [libnftables PATCH 1/2] Add function for exporting rule to JSON format and Order the switch values in the right order Alvaro Neira
2013-06-29 10:01 ` Pablo Neira Ayuso
2013-06-27 19:56 ` [libnftables PATCH 2/2] Add code for testing the new functions for exporting rules to JSON Format Alvaro Neira
2013-06-29 10:02 ` Pablo Neira Ayuso
-- strict thread matches above, loose matches on Subject: below --
2013-06-13 18:50 [libnftables PATCH 0/2] Series to add JSON output support for rules Alvaro Neira
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130627194837.13980.68301.stgit@Ph0enix \
--to=alvaroneay@gmail.com \
--cc=eric@regit.org \
--cc=netfilter-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).