blob: 223d635e8b6f77e467c615391b725901e18618ba [file] [log] [blame]
Christopher Ferris25981132017-11-14 16:53:49 -08001/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
Ben Cheng30692c62013-10-15 18:26:18 -07002/* 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 */
18struct xt_DSCP_info {
19 __u8 dscp;
20};
21
22struct xt_tos_target_info {
23 __u8 tos_value;
24 __u8 tos_mask;
25};
26
27#endif /* _XT_DSCP_TARGET_H */