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