netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: netfilter-devel@vger.kernel.org
Cc: phil@nwl.cc, eric@regit.org
Subject: [PATCH nft 0/6] Remove more global variables
Date: Tue, 22 Aug 2017 19:05:05 +0200	[thread overview]
Message-ID: <1503421511-17814-1-git-send-email-pablo@netfilter.org> (raw)

Hi,

This patchset contains more updates to prepare the introduction of
libnftables, by placing global variables into context structures.

This series applies on top of Phil's "[nft] Keep cache in struct nft_ctx":

	http://patchwork.ozlabs.org/patch/804410/

Pablo Neira Ayuso (6):
  src: add include_paths to struct nft_ctx
  src: add maximum number of parser errors to struct nft_ctx
  src: remove ifdef DEBUG pollution
  src: add struct mnl_ctx
  mnl: pass struct netlink_ctx to mnl_nft_socket_sendmsg()
  src: add debugging mask to context structure

 configure.ac              |   4 +-
 include/erec.h            |   6 +-
 include/expression.h      |   3 +-
 include/mnl.h             |   9 ++-
 include/netlink.h         |  18 ++++--
 include/nftables.h        |   8 +--
 include/parser.h          |   8 ++-
 include/proto.h           |   5 +-
 include/rule.h            |   4 +-
 include/utils.h           |  12 ----
 src/cli.c                 |   5 +-
 src/erec.c                |   9 +--
 src/evaluate.c            |  51 ++++++++-------
 src/main.c                |  42 ++++++------
 src/mnl.c                 | 160 +++++++++++++++++++++++++++++-----------------
 src/netlink.c             |  86 +++++++++++--------------
 src/netlink_delinearize.c |   3 +-
 src/netlink_linearize.c   |   2 +-
 src/parser_bison.y        |  21 +++---
 src/proto.c               |  16 +++--
 src/rule.c                |  23 ++++---
 src/scanner.l             |  10 +--
 src/segtree.c             |  30 +++++----
 23 files changed, 293 insertions(+), 242 deletions(-)

-- 
2.1.4



             reply	other threads:[~2017-08-22 17:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-22 17:05 Pablo Neira Ayuso [this message]
2017-08-22 17:05 ` [PATCH nft 1/6] src: add include_paths to struct nft_ctx Pablo Neira Ayuso
2017-08-22 17:05 ` [PATCH nft 2/6] src: add maximum number of parser errors " Pablo Neira Ayuso
2017-08-22 17:05 ` [PATCH nft 3/6] src: remove ifdef DEBUG pollution Pablo Neira Ayuso
2017-08-22 17:05 ` [PATCH nft 4/6] src: add struct mnl_ctx Pablo Neira Ayuso
2017-08-22 17:05 ` [PATCH nft 5/6] mnl: pass struct netlink_ctx to mnl_nft_socket_sendmsg() Pablo Neira Ayuso
2017-08-22 17:05 ` [PATCH nft 6/6] src: add debugging mask to context structure Pablo Neira Ayuso

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=1503421511-17814-1-git-send-email-pablo@netfilter.org \
    --to=pablo@netfilter.org \
    --cc=eric@regit.org \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=phil@nwl.cc \
    /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).