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