summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorPatrick McHardy2006-08-26 01:10:14 +0200
committerDavid S. Miller2006-09-23 00:18:10 +0200
commitbbfb39cbf63829d1db607aa90cbdca557a3a131d (patch)
tree9312c446794adf6781c6b92de3b4ea57c8468569 /include/linux
parent[IPV6]: Fix build with fwmark disabled. (diff)
downloadkernel-qcow2-linux-bbfb39cbf63829d1db607aa90cbdca557a3a131d.tar.gz
kernel-qcow2-linux-bbfb39cbf63829d1db607aa90cbdca557a3a131d.tar.xz
kernel-qcow2-linux-bbfb39cbf63829d1db607aa90cbdca557a3a131d.zip
[IPV4]: Add support for fwmark masks in routing rules
Add a FRA_FWMASK attributes for fwmark masks. For compatibility a mask of 0xFFFFFFFF is used when a mark value != 0 is sent without a mask. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/fib_rules.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/fib_rules.h b/include/linux/fib_rules.h
index 2987549d6044..4418c8d9d479 100644
--- a/include/linux/fib_rules.h
+++ b/include/linux/fib_rules.h
@@ -34,12 +34,13 @@ enum
FRA_UNUSED3,
FRA_UNUSED4,
FRA_UNUSED5,
- FRA_FWMARK, /* netfilter mark (IPv4/IPv6) */
+ FRA_FWMARK, /* netfilter mark */
FRA_FLOW, /* flow/class id */
FRA_UNUSED6,
FRA_UNUSED7,
FRA_UNUSED8,
FRA_TABLE, /* Extended table id */
+ FRA_FWMASK, /* mask for netfilter mark */
__FRA_MAX
};