master
 1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
 2/*
 3 * Copyright (c) 2008, Intel Corporation.
 4 *
 5 * Author: Alexander Duyck <alexander.h.duyck@intel.com>
 6 */
 7
 8#ifndef __LINUX_TC_SKBEDIT_H
 9#define __LINUX_TC_SKBEDIT_H
10
11#include <linux/pkt_cls.h>
12
13#define SKBEDIT_F_PRIORITY		0x1
14#define SKBEDIT_F_QUEUE_MAPPING		0x2
15#define SKBEDIT_F_MARK			0x4
16#define SKBEDIT_F_PTYPE			0x8
17#define SKBEDIT_F_MASK			0x10
18#define SKBEDIT_F_INHERITDSFIELD	0x20
19#define SKBEDIT_F_TXQ_SKBHASH		0x40
20
21struct tc_skbedit {
22	tc_gen;
23};
24
25enum {
26	TCA_SKBEDIT_UNSPEC,
27	TCA_SKBEDIT_TM,
28	TCA_SKBEDIT_PARMS,
29	TCA_SKBEDIT_PRIORITY,
30	TCA_SKBEDIT_QUEUE_MAPPING,
31	TCA_SKBEDIT_MARK,
32	TCA_SKBEDIT_PAD,
33	TCA_SKBEDIT_PTYPE,
34	TCA_SKBEDIT_MASK,
35	TCA_SKBEDIT_FLAGS,
36	TCA_SKBEDIT_QUEUE_MAPPING_MAX,
37	__TCA_SKBEDIT_MAX
38};
39#define TCA_SKBEDIT_MAX (__TCA_SKBEDIT_MAX - 1)
40
41#endif