Commit | Line | Data |
---|---|---|
a468701d YK |
1 | /* x_tables module for setting the IPv4/IPv6 DSCP field |
2 | * | |
3 | * (C) 2002 Harald Welte <laforge@gnumonks.org> | |
4 | * based on ipt_FTOS.c (C) 2000 by Matthew G. Marsh <mgm@paktronix.com> | |
5 | * This software is distributed under GNU GPL v2, 1991 | |
6 | * | |
7 | * See RFC2474 for a description of the DSCP field within the IP Header. | |
8 | * | |
9 | * xt_DSCP.h,v 1.7 2002/03/14 12:03:13 laforge Exp | |
10 | */ | |
11 | #ifndef _XT_DSCP_TARGET_H | |
12 | #define _XT_DSCP_TARGET_H | |
13 | #include <linux/netfilter/xt_dscp.h> | |
60c195c7 | 14 | #include <linux/types.h> |
a468701d YK |
15 | |
16 | /* target info */ | |
17 | struct xt_DSCP_info { | |
60c195c7 | 18 | __u8 dscp; |
a468701d YK |
19 | }; |
20 | ||
5c350e5a | 21 | struct xt_tos_target_info { |
60c195c7 AB |
22 | __u8 tos_value; |
23 | __u8 tos_mask; | |
5c350e5a JE |
24 | }; |
25 | ||
a468701d | 26 | #endif /* _XT_DSCP_TARGET_H */ |