[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250105231900.6222-1-egyszeregy@freemail.hu>
Date: Mon, 6 Jan 2025 00:18:57 +0100
From: egyszeregy@...email.hu
To: fw@...len.de,
pablo@...filter.org,
lorenzo@...nel.org,
daniel@...earbox.net,
leitao@...ian.org,
amiculas@...co.com,
kadlec@...filter.org,
davem@...emloft.net,
dsahern@...nel.org,
edumazet@...gle.com,
kuba@...nel.org,
pabeni@...hat.com,
horms@...nel.org,
netfilter-devel@...r.kernel.org,
coreteam@...filter.org,
linux-kernel@...r.kernel.org,
netdev@...r.kernel.org
Cc: Benjamin Szőke <egyszeregy@...email.hu>
Subject: [PATCH v6 0/3] netfilter: x_tables: Merge xt_*.c source files which has same name.
From: Benjamin Szőke <egyszeregy@...email.hu>
Merge and refactoring xt_*.h, ipt_*.h and ip6t_*.h header and xt_*.c
source files, which has same upper and lower case name format. Combining
these modules should provide some decent code size and memory savings.
- netfilter: x_tables: Merge xt_*.h and ipt_*.h files
- netfilter: x_tables: Merge xt_*.c files which has same
- netfilter: x_tables: Adjust code style for xt_*.h/c
Benjamin Szőke (3):
netfilter: x_tables: Merge xt_*.h and ipt_*.h files which has same
name.
netfilter: x_tables: Merge xt_*.c files which has same name.
netfilter: x_tables: Adjust code style for xt_*.h/c and ipt_*.h files.
include/uapi/linux/netfilter/xt_CONNMARK.h | 8 +-
include/uapi/linux/netfilter/xt_DSCP.h | 22 +-
include/uapi/linux/netfilter/xt_MARK.h | 8 +-
include/uapi/linux/netfilter/xt_RATEEST.h | 12 +-
include/uapi/linux/netfilter/xt_TCPMSS.h | 14 +-
include/uapi/linux/netfilter/xt_connmark.h | 7 +-
include/uapi/linux/netfilter/xt_dscp.h | 26 +-
include/uapi/linux/netfilter/xt_mark.h | 6 +-
include/uapi/linux/netfilter/xt_rateest.h | 19 +-
include/uapi/linux/netfilter/xt_tcpmss.h | 16 +-
include/uapi/linux/netfilter_ipv4/ipt_ECN.h | 29 +-
include/uapi/linux/netfilter_ipv4/ipt_TTL.h | 25 +-
include/uapi/linux/netfilter_ipv4/ipt_ecn.h | 26 ++
include/uapi/linux/netfilter_ipv4/ipt_ttl.h | 26 +-
include/uapi/linux/netfilter_ipv6/ip6t_HL.h | 26 +-
include/uapi/linux/netfilter_ipv6/ip6t_hl.h | 25 +-
net/ipv4/netfilter/ipt_ECN.c | 2 +-
net/netfilter/Kconfig | 84 +++++
net/netfilter/Makefile | 12 +-
net/netfilter/xt_DSCP.c | 161 ---------
net/netfilter/xt_HL.c | 159 ---------
net/netfilter/xt_RATEEST.c | 248 --------------
net/netfilter/xt_TCPMSS.c | 345 -------------------
net/netfilter/xt_dscp.c | 160 ++++++++-
net/netfilter/xt_hl.c | 160 ++++++++-
net/netfilter/xt_rateest.c | 255 +++++++++++++-
net/netfilter/xt_tcpmss.c | 353 +++++++++++++++++++-
27 files changed, 1120 insertions(+), 1114 deletions(-)
delete mode 100644 net/netfilter/xt_DSCP.c
delete mode 100644 net/netfilter/xt_HL.c
delete mode 100644 net/netfilter/xt_RATEEST.c
delete mode 100644 net/netfilter/xt_TCPMSS.c
--
2.43.5
Powered by blists - more mailing lists