Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | src: add new generic context structure nft_ctx | Pablo M. Bermudo Garay | 2017-06-26 | 1 | -2/+2 |
| | | | | | | | | | | | | | The new structure nft_ctx is meant to be used as a generic container of context information. This is a preparatory patch. So at the moment the struct just carry output_ctx on his path through main.c and cli.c. Based on original idea from Eric Leblond. Signed-off-by: Pablo M. Bermudo Garay <pablombg@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> | ||||
* | src: Pass stateless, numeric, ip2name and handle variables as structure members. | Varsha Rao | 2017-06-18 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | libnftables library will be created soon. So declare numeric_output, stateless_output, ip2name_output and handle_output as members of structure output_ctx, instead of global variables. Rename these variables as following, numeric_output -> numeric stateless_output -> stateless ip2name_output -> ip2name handle_output -> handle Also add struct output_ctx *octx as member of struct netlink_ctx. Signed-off-by: Varsha Rao <rvarsha016@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> | ||||
* | include: add cli.h | Pablo Neira Ayuso | 2014-11-10 | 1 | -0/+18 |
Needed by follow up patches to use autotools. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> |