add input flags and "no-dns"/"json" flags
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest6 patches 1 replyIn review
- v46 patches 17 repliesSuperseded
- v34 patches 3 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 3 patches | 8 replies | Superseded |
Changes in v5 from the cover letter
- rename python API {set,get}_input() to {set,get}_input_flags() and update commit message. Other 5 out of 6 patches are unchanged (except adding Reviewed-by tag from Phil).
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | src: add input flags for nft_ctxdoc/ include/ include/ +2 more | +42 | 0 replies | |
| 2/6 | src: add input flag NFT_CTX_INPUT_NO_DNS to avoid blockingdoc/ include/ include/ +3 more | +67 | 0 replies | |
| 3/6 | src: add input flag NFT_CTX_INPUT_JSON to enable JSON parsingdoc/ include/ include/ +1 more | +16 | 0 replies | |
| 4/6 | py: fix exception during cleanup of half-initialized Nftablespy/ | +5 | 0 replies | |
| 5/6 | py: extract flags helper functions for set_debug()/get_debug()py/ | +31 | 0 replies | |
| 6/6 | py: add Nftables.{get,set}_input_flags() APIpy/ | +43 | 0 replies |
Reviews trailers per patch
5 of 6 patches have a Reviewed-by or Acked-by.
| Patch | Phil Sutter |
|---|---|
| 1/6 | R-b |
| 2/6 | R-b |
| 3/6 | R-b |
| 4/6 | R-b |
| 5/6 | R-b |
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [nft PATCH v5 0/6] add input flags and "no-dns"/"json" flags
Changes since v4:
- rename python API {set,get}_input() to {set,get}_input_flags() and update commit message. Other 5 out of 6 patches are unchanged (except adding Reviewed-by tag from Phil).
Changes since v3:
- set-input() now returns the old value (both for Python and C API)
- python: API follows the style of existing set_debug()/get_debug() methods.
- nft_input_no_dns()/nft_input_json() helper functions added and used.
- python: new patch to better handle exception while creating Nftables instance.
Thomas Haller (6):
src: add input flags for nft_ctx
src: add input flag NFT_CTX_INPUT_NO_DNS to avoid blocking
src: add input flag NFT_CTX_INPUT_JSON to enable JSON parsing
py: fix exception during cleanup of half-initialized Nftables
py: extract flags helper functions for set_debug()/get_debug()
py: add Nftables.{get,set}_input_flags() API
doc/libnftables.adoc | 30 +++++++++- include/datatype.h | 1 + include/nftables.h | 15 +++++ include/nftables/libnftables.h | 8 +++ py/src/nftables.py | 101 ++++++++++++++++++++++++++------- src/datatype.c | 68 +++++++++++++--------- src/evaluate.c | 10 +++- src/libnftables.c | 20 ++++++- src/libnftables.map | 5 ++ 9 files changed, 203 insertions(+), 55 deletions(-)
Signature · 1 line
2.41.0