diff options
author | Patrick McHardy <kaber@trash.net> | 2006-08-25 19:10:14 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-22 18:18:10 -0400 |
commit | bbfb39cbf63829d1db607aa90cbdca557a3a131d (patch) | |
tree | 9312c446794adf6781c6b92de3b4ea57c8468569 /include/linux/fib_rules.h | |
parent | 267935b197d2a6e6924f9de2841f0470bfe63acd (diff) |
[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/fib_rules.h')
-rw-r--r-- | include/linux/fib_rules.h | 3 |
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 | |||
34 | FRA_UNUSED3, | 34 | FRA_UNUSED3, |
35 | FRA_UNUSED4, | 35 | FRA_UNUSED4, |
36 | FRA_UNUSED5, | 36 | FRA_UNUSED5, |
37 | FRA_FWMARK, /* netfilter mark (IPv4/IPv6) */ | 37 | FRA_FWMARK, /* netfilter mark */ |
38 | FRA_FLOW, /* flow/class id */ | 38 | FRA_FLOW, /* flow/class id */ |
39 | FRA_UNUSED6, | 39 | FRA_UNUSED6, |
40 | FRA_UNUSED7, | 40 | FRA_UNUSED7, |
41 | FRA_UNUSED8, | 41 | FRA_UNUSED8, |
42 | FRA_TABLE, /* Extended table id */ | 42 | FRA_TABLE, /* Extended table id */ |
43 | FRA_FWMASK, /* mask for netfilter mark */ | ||
43 | __FRA_MAX | 44 | __FRA_MAX |
44 | }; | 45 | }; |
45 | 46 | ||