netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH nft 0/5] more various cleanups related to struct datatype
@ 2023-09-27 19:57 Thomas Haller
  2023-09-27 19:57 ` [PATCH nft 1/5] datatype: make "flags" field of datatype struct simple booleans Thomas Haller
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Thomas Haller @ 2023-09-27 19:57 UTC (permalink / raw)
  To: NetFilter; +Cc: Thomas Haller

This is a followup to

  Subject:    [PATCH nft 0/9] various cleanups related to enums and struct datatype
  Date:       Wed, 20 Sep 2023 16:26:01 +0200

From that patchset, several patches were merged. Except:

1) [PATCH nft 8/9] datatype: use __attribute__((packed)) instead of enum bitfields
   This patch was rejected. It's gone and no longer present.

2) [PATCH nft 3/9] datatype: drop flags field from datatype
   This patch become the new "datatype: make "flags" field of datatype struct simple booleans"
   in this series. The flag DTYPE_F_ALLOC flag is preserved (as new "f_alloc" field).

Thomas Haller (5):
  datatype: make "flags" field of datatype struct simple booleans
  datatype: don't clone static name/desc strings for datatype
  datatype: don't clone datatype in set_datatype_alloc() if byteorder
    already matches
  datatype: extend set_datatype_alloc() to change size
  datatype: use xmalloc() for allocating datatype in datatype_clone()

 include/datatype.h        | 39 +++++++++++++------------
 src/datatype.c            | 61 +++++++++++++++++++++++++--------------
 src/evaluate.c            | 43 ++++++++++++---------------
 src/meta.c                |  2 +-
 src/netlink.c             |  4 +--
 src/netlink_delinearize.c |  2 +-
 src/payload.c             |  7 ++---
 src/rt.c                  |  2 +-
 src/segtree.c             |  5 ++--
 9 files changed, 89 insertions(+), 76 deletions(-)

-- 
2.41.0


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-08-19 22:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-27 19:57 [PATCH nft 0/5] more various cleanups related to struct datatype Thomas Haller
2023-09-27 19:57 ` [PATCH nft 1/5] datatype: make "flags" field of datatype struct simple booleans Thomas Haller
2024-08-19 22:41   ` Pablo Neira Ayuso
2023-09-27 19:57 ` [PATCH nft 2/5] datatype: don't clone static name/desc strings for datatype Thomas Haller
2023-09-27 19:57 ` [PATCH nft 3/5] datatype: don't clone datatype in set_datatype_alloc() if byteorder already matches Thomas Haller
2023-09-27 19:57 ` [PATCH nft 4/5] datatype: extend set_datatype_alloc() to change size Thomas Haller
2023-09-27 19:57 ` [PATCH nft 5/5] datatype: use xmalloc() for allocating datatype in datatype_clone() Thomas Haller
2023-09-28 19:11   ` Pablo Neira Ayuso

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).