diff options
author | Jan Engelhardt <jengelh@computergmbh.de> | 2007-12-05 02:38:30 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 17:56:00 -0500 |
commit | f1095ab51d4297d4a84b64a65c71054183a73486 (patch) | |
tree | 50b3d4fe6d4a23cf5072fd3a92cf935d1545ba57 /include/linux | |
parent | c9fd49680954714473d6cbd2546d6ff120f96840 (diff) |
[NETFILTER]: IPv6 capable xt_tos v1 match
Extends the xt_dscp match by xt_tos v1 to add support for selectively
matching any bit in the IPv4 TOS and IPv6 Priority fields. (ipt_tos
and xt_dscp only accepted a limited range of possible values.)
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
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/netfilter/xt_dscp.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/netfilter/xt_dscp.h b/include/linux/netfilter/xt_dscp.h index 1da61e6acaf7..f49bc1a648dc 100644 --- a/include/linux/netfilter/xt_dscp.h +++ b/include/linux/netfilter/xt_dscp.h | |||
@@ -20,4 +20,10 @@ struct xt_dscp_info { | |||
20 | u_int8_t invert; | 20 | u_int8_t invert; |
21 | }; | 21 | }; |
22 | 22 | ||
23 | struct xt_tos_match_info { | ||
24 | u_int8_t tos_mask; | ||
25 | u_int8_t tos_value; | ||
26 | u_int8_t invert; | ||
27 | }; | ||
28 | |||
23 | #endif /* _XT_DSCP_H */ | 29 | #endif /* _XT_DSCP_H */ |