]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - include/uapi/linux/netfilter/xt_DSCP.h
Merge tag 'driver-core-4.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...
[mirror_ubuntu-bionic-kernel.git] / include / uapi / linux / netfilter / xt_DSCP.h
CommitLineData
e2be04c7 1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
a468701d
YK
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>
60c195c7 15#include <linux/types.h>
a468701d
YK
16
17/* target info */
18struct xt_DSCP_info {
60c195c7 19 __u8 dscp;
a468701d
YK
20};
21
5c350e5a 22struct xt_tos_target_info {
60c195c7
AB
23 __u8 tos_value;
24 __u8 tos_mask;
5c350e5a
JE
25};
26
a468701d 27#endif /* _XT_DSCP_TARGET_H */