]> git.proxmox.com Git - mirror_iproute2.git/blame - include/uapi/linux/tc_act/tc_skbedit.h
Update kernel headers
[mirror_iproute2.git] / include / uapi / linux / tc_act / tc_skbedit.h
CommitLineData
ba914908 1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
f72a7aab
AD
2/*
3 * Copyright (c) 2008, Intel Corporation.
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms and conditions of the GNU General Public License,
7 * version 2, as published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details.
13 *
14 * You should have received a copy of the GNU General Public License along with
4e39bfb9
SH
15 * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
16 * Place - Suite 330, Boston, MA 02111-1307 USA.
f72a7aab
AD
17 *
18 * Author: Alexander Duyck <alexander.h.duyck@intel.com>
19 */
20
21#ifndef __LINUX_TC_SKBEDIT_H
22#define __LINUX_TC_SKBEDIT_H
23
24#include <linux/pkt_cls.h>
25
f72a7aab
AD
26#define SKBEDIT_F_PRIORITY 0x1
27#define SKBEDIT_F_QUEUE_MAPPING 0x2
ab322673 28#define SKBEDIT_F_MARK 0x4
4824bb41 29#define SKBEDIT_F_PTYPE 0x8
1a97748b 30#define SKBEDIT_F_MASK 0x10
22ddbd82 31#define SKBEDIT_F_INHERITDSFIELD 0x20
f72a7aab
AD
32
33struct tc_skbedit {
34 tc_gen;
35};
36
37enum {
38 TCA_SKBEDIT_UNSPEC,
39 TCA_SKBEDIT_TM,
40 TCA_SKBEDIT_PARMS,
41 TCA_SKBEDIT_PRIORITY,
42 TCA_SKBEDIT_QUEUE_MAPPING,
ab322673 43 TCA_SKBEDIT_MARK,
31ce6e01 44 TCA_SKBEDIT_PAD,
4824bb41 45 TCA_SKBEDIT_PTYPE,
1a97748b 46 TCA_SKBEDIT_MASK,
22ddbd82 47 TCA_SKBEDIT_FLAGS,
f72a7aab
AD
48 __TCA_SKBEDIT_MAX
49};
50#define TCA_SKBEDIT_MAX (__TCA_SKBEDIT_MAX - 1)
51
52#endif