X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=trunk%2Finclude%2Flinux%2Fnetfilter%2Fxt_DSCP.h;fp=trunk%2Finclude%2Flinux%2Fnetfilter%2Fxt_DSCP.h;h=14da1968e2c627c3cc35aed0798a7d90aebd847e;hb=65d1e3fdac47d3d758f6f018457c28d6f3f6306a;hp=0000000000000000000000000000000000000000;hpb=98c90cbcc6f660e13f9e7878bbb80dfc9d03ceae;p=iptables.git diff --git a/trunk/include/linux/netfilter/xt_DSCP.h b/trunk/include/linux/netfilter/xt_DSCP.h new file mode 100644 index 0000000..14da196 --- /dev/null +++ b/trunk/include/linux/netfilter/xt_DSCP.h @@ -0,0 +1,25 @@ +/* x_tables module for setting the IPv4/IPv6 DSCP field + * + * (C) 2002 Harald Welte + * based on ipt_FTOS.c (C) 2000 by Matthew G. Marsh + * 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 + +/* target info */ +struct xt_DSCP_info { + u_int8_t dscp; +}; + +struct xt_tos_target_info { + u_int8_t tos_value; + u_int8_t tos_mask; +}; + +#endif /* _XT_DSCP_TARGET_H */