Yasuyuki Kozakai | a468701 | 2006-08-22 00:30:26 -0700 | [diff] [blame] | 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> |
| 14 | |
| 15 | /* target info */ |
| 16 | struct xt_DSCP_info { |
| 17 | u_int8_t dscp; |
| 18 | }; |
| 19 | |
Jan Engelhardt | 5c350e5 | 2007-12-04 23:39:09 -0800 | [diff] [blame] | 20 | struct xt_tos_target_info { |
| 21 | u_int8_t tos_value; |
| 22 | u_int8_t tos_mask; |
| 23 | }; |
| 24 | |
Yasuyuki Kozakai | a468701 | 2006-08-22 00:30:26 -0700 | [diff] [blame] | 25 | #endif /* _XT_DSCP_TARGET_H */ |