Message ID | 20250107024120.98288-1-egyszeregy@freemail.hu (mailing list archive) |
---|---|
Headers | show |
Series | netfilter: x_tables: Merge xt_*.h and ipt_*.h files which has same name. | expand |
On Tue, 7 Jan 2025, egyszeregy@freemail.hu wrote: > From: Benjamin Szőke <egyszeregy@freemail.hu> > > Merge xt_*.h, ipt_*.h and ip6t_*.h header files, which has > same upper and lowercase name format. > > Display information about deprecated xt_*.h, ipt_*.h files > at compile time. Recommended to use header files with > lowercase name format in the future. Much better, thanks indeed! I'm going to comment just the patches where I think some improvements are possible in order to focus on those. Best regards, Jozsef
From: Benjamin Szőke <egyszeregy@freemail.hu> Merge xt_*.h, ipt_*.h and ip6t_*.h header files, which has same upper and lowercase name format. Display information about deprecated xt_*.h, ipt_*.h files at compile time. Recommended to use header files with lowercase name format in the future. Benjamin Szőke (10): netfilter: x_tables: Merge xt_DSCP.h to xt_dscp.h netfilter: x_tables: Merge xt_RATEEST.h to xt_rateest.h netfilter: x_tables: Merge xt_TCPMSS.h to xt_tcpmss.h netfilter: x_tables: Use consistent header guard netfilter: iptables: Merge ipt_ECN.h to ipt_ecn.h netfilter: iptables: Merge ipt_TTL.h to ipt_ttl.h netfilter: iptables: Merge ip6t_HL.h to ip6t_hl.h netfilter: Adjust code style of xt_*.h, ipt_*.h files. netfilter: Add message pragma for deprecated xt_*.h, ipt_*.h. netfilter: Use merged xt_*.h, ipt_*.h headers. 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 | 24 ++++++++++++----- include/uapi/linux/netfilter_ipv6/ip6t_HL.h | 26 ++++-------------- include/uapi/linux/netfilter_ipv6/ip6t_hl.h | 23 +++++++++++----- net/ipv4/netfilter/ipt_ECN.c | 2 +- net/netfilter/xt_DSCP.c | 2 +- net/netfilter/xt_HL.c | 4 +-- net/netfilter/xt_RATEEST.c | 2 +- net/netfilter/xt_TCPMSS.c | 2 +- 21 files changed, 148 insertions(+), 155 deletions(-)