: x_tables: replace IPv4 dscp match by address family independent version
Subsystems (3)
A message that is not in the archive (sent off-list or not yet received): [email protected]
include/linux/netfilter_ipv4/ipt_dscp.h line 13
Quoted 10 lines · Linux Kernel Mailing List
include/linux/netfilter_ipv4/ipt_dscp.h +1
-3@@ -10,14 +10,12 @@#ifndef _IPT_DSCP_H#define _IPT_DSCP_H -#define IPT_DSCP_MASK 0xfc/* 11111100 */ -#define IPT_DSCP_SHIFT 2 -#define IPT_DSCP_MAX 0x3f/* 00111111 */ +#include <linux/netfilter/xt_dscp.h>
This causes the following error in 'make headers_check':
linux/netfilter_ipv4/ipt_DSCP.h requires linux/netfilter/xt_DSCP.h, which does not exist in exported headers
make[4]: *** [ipt_DSCP.h] Error 1
Please remember to run 'make headers_check' before submitting patches.
Signature · 1 line
dwmw2
Hello,
From: David Woodhouse <[email protected]>
Date: Sun, 24 Sep 2006 21:02:38 +0100
Quoted 14 lines · Linux Kernel Mailing List
include/linux/netfilter_ipv4/ipt_dscp.h line 13
Quoted 10 lines
include/linux/netfilter_ipv4/ipt_dscp.h +1
-3@@ -10,14 +10,12 @@#ifndef _IPT_DSCP_H#define _IPT_DSCP_H -#define IPT_DSCP_MASK 0xfc/* 11111100 */ -#define IPT_DSCP_SHIFT 2 -#define IPT_DSCP_MAX 0x3f/* 00111111 */ +#include <linux/netfilter/xt_dscp.h> This causes the following error in 'make
headers_check':
Quoted 5 lines
linux/netfilter_ipv4/ipt_DSCP.hrequireslinux/netfilter/xt_DSCP.h, which does not exist in exported headers
make[4]: *** [ipt_DSCP.h] Error 1Please remember to run 'make
headers_check' before submitting patches.
Thanks for notice. I'll do that from next time.
David, please apply the attached patch.
-- Yasuyuki Kozakai
[NETFILTER]: Add dscp,DSCP headers to header-y
This patch adds xt_dscp.h and xt_DSCP.h to the kernel headers which are exported via 'make headers_install'. These are necessary for userspace to add rules using dscp match and DSCP target.
---
commit 268b6f1e4a605e77eddb606e7c817e6adfa351cf
tree 20e8ef57cb366b5b8a9d773fc1b533b2bf9edaf5
parent 508df253dbefb0385a629370f4244e3db197d3b8
author Yasuyuki Kozakai <[email protected]> Mon, 25 Sep 2006 09:16:59 +0900 committer Yasuyuki Kozakai <[email protected]> Mon, 25 Sep 2006 09:16:59 +0900
include/linux/netfilter/Kbuild | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
include/linux/netfilter/Kbuild +2 -0
@@ -10,6 +10,8 @@ header-y += xt_connmark.h header-y += xt_CONNMARK.h header-y += xt_conntrack.h header-y += xt_dccp.h +header-y += xt_dscp.h +header-y += xt_DSCP.h header-y += xt_esp.h header-y += xt_helper.h header-y += xt_length.h
A message that is not in the archive (sent off-list or not yet received): [email protected]
From: Yasuyuki KOZAKAI <[email protected]>
Date: Mon, 25 Sep 2006 09:56:01 +0900 (JST)
Quoted 3 lines
Thanks for notice. I'll do that from next time.
David, please apply the attached patch.
I've applied this and will push to Linus later tonight.
Thanks.