2006-08-22 07:30:26 +00:00
|
|
|
/* x_tables module for setting the IPv4/IPv6 DSCP field
|
|
|
|
*
|
|
|
|
* (C) 2002 Harald Welte <laforge@gnumonks.org>
|
|
|
|
* based on ipt_FTOS.c (C) 2000 by Matthew G. Marsh <mgm@paktronix.com>
|
|
|
|
* This software is distributed under GNU GPL v2, 1991
|
|
|
|
*
|
|
|
|
* See RFC2474 for a description of the DSCP field within the IP Header.
|
|
|
|
*
|
|
|
|
* xt_DSCP.h,v 1.7 2002/03/14 12:03:13 laforge Exp
|
|
|
|
*/
|
|
|
|
#ifndef _XT_DSCP_TARGET_H
|
|
|
|
#define _XT_DSCP_TARGET_H
|
|
|
|
#include <linux/netfilter/xt_dscp.h>
|
2009-02-25 23:51:43 +00:00
|
|
|
#include <linux/types.h>
|
2006-08-22 07:30:26 +00:00
|
|
|
|
|
|
|
/* target info */
|
|
|
|
struct xt_DSCP_info {
|
2009-02-25 23:51:43 +00:00
|
|
|
__u8 dscp;
|
2006-08-22 07:30:26 +00:00
|
|
|
};
|
|
|
|
|
2007-12-05 07:39:09 +00:00
|
|
|
struct xt_tos_target_info {
|
2009-02-25 23:51:43 +00:00
|
|
|
__u8 tos_value;
|
|
|
|
__u8 tos_mask;
|
2007-12-05 07:39:09 +00:00
|
|
|
};
|
|
|
|
|
2006-08-22 07:30:26 +00:00
|
|
|
#endif /* _XT_DSCP_TARGET_H */
|