blob: 648e0b3bed29a40c753582ed814b9c5f01d736bc [file] [log] [blame]
Yasuyuki Kozakaia4687012006-08-22 00:30:26 -07001/* 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>
Arnd Bergmann60c195c2009-02-26 00:51:43 +010014#include <linux/types.h>
Yasuyuki Kozakaia4687012006-08-22 00:30:26 -070015
16/* target info */
17struct xt_DSCP_info {
Arnd Bergmann60c195c2009-02-26 00:51:43 +010018 __u8 dscp;
Yasuyuki Kozakaia4687012006-08-22 00:30:26 -070019};
20
Jan Engelhardt5c350e52007-12-04 23:39:09 -080021struct xt_tos_target_info {
Arnd Bergmann60c195c2009-02-26 00:51:43 +010022 __u8 tos_value;
23 __u8 tos_mask;
Jan Engelhardt5c350e52007-12-04 23:39:09 -080024};
25
Yasuyuki Kozakaia4687012006-08-22 00:30:26 -070026#endif /* _XT_DSCP_TARGET_H */