Remove more global variables
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | src: add include_paths to struct nft_ctxinclude/ include/ src/ +2 more | +24 | 0 replies | |
| 2/6 | src: add maximum number of parser errors to struct nft_ctxinclude/ src/ src/ | +5 | 0 replies | |
| 3/6 | src: remove ifdef DEBUG pollutionconfigure.ac include/ src/ +6 more | +3 | 0 replies | |
| 4/6 | src: add struct mnl_ctxinclude/ src/ | +94 | 0 replies | |
| 5/6 | mnl: pass struct netlink_ctx to mnl_nft_socket_sendmsg()src/ | +6 | 0 replies | |
| 6/6 | src: add debugging mask to context structureinclude/ include/ include/ +17 more | +161 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH nft 0/6] Remove more global variables
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(-)
Signature · 1 line
2.1.4