Skip to content

various cleanups related to enums and struct datatype

Thomas Haller netfilter-devel 1 version Applied

Status from this message: Applied, thanks

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 21 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/9src: fix indentation/whitespacesrc/meta.c+2 -21 reply
2/9include: fix missing definitions in <cache.h>/<headers.h>include/cache.h include/headers.h+11 -00 replies
3/9datatype: drop flags field from datatypeinclude/datatype.h src/datatype.c src/meta.c +3 more+22 -335 replies
4/9datatype: use "enum byteorder" instead of int in set_datatype_alloc()include/datatype.h src/datatype.c src/evaluate.c+3 -31 reply
5/9payload: use enum icmp_hdr_field_type in payload_may_dependency_kill_icmp()src/payload.c+4 -61 reply
6/9netlink: handle invalid etype in set_make_key()src/netlink.c+2 -02 replies
7/9expression: cleanup expr_ops_by_type() and handle u32 inputinclude/expression.h src/expression.c src/netlink.c+14 -156 replies
8/9datatype: use __attribute__((packed)) instead of enum bitfieldsinclude/datatype.h include/expression.h include/proto.h+13 -74 replies
9/9proto: add missing proto_definitions for PROTO_DESC_GENEVEsrc/proto.c+2 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH nft 0/9] various cleanups related to enums and struct datatype

Various loosely related patches in the hope to improve something.

Thomas Haller (9):
src: fix indentation/whitespace
include: fix missing definitions in <cache.h>/<headers.h>
datatype: drop flags field from datatype
datatype: use "enum byteorder" instead of int in set_datatype_alloc()
payload: use enum icmp_hdr_field_type in
payload_may_dependency_kill_icmp()
netlink: handle invalid etype in set_make_key()
expression: cleanup expr_ops_by_type() and handle u32 input
datatype: use __attribute__((packed)) instead of enum bitfields
proto: add missing proto_definitions for PROTO_DESC_GENEVE

 include/cache.h           |  9 +++++++++
 include/datatype.h        | 27 +++++++++++----------------
 include/expression.h      | 10 ++++++----
 include/headers.h         |  2 ++
 include/proto.h           | 11 +++++++----
 src/datatype.c            | 22 +++++++++-------------
 src/evaluate.c            |  2 +-
 src/expression.c          | 23 +++++++++++------------
 src/meta.c                |  6 +++---
 src/netlink.c             |  6 ++++--
 src/netlink_delinearize.c |  2 +-
 src/payload.c             | 10 ++++------
 src/proto.c               |  3 ++-
 src/rt.c                  |  2 +-
 src/segtree.c             |  5 ++---
 15 files changed, 73 insertions(+), 67 deletions(-)
Signature · 1 line
2.41.0