Blame include/uapi/linux/tc_act/tc_skbedit.h

Packit d3f73b
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
Packit d3f73b
/*
Packit d3f73b
 * Copyright (c) 2008, Intel Corporation.
Packit d3f73b
 *
Packit d3f73b
 * This program is free software; you can redistribute it and/or modify it
Packit d3f73b
 * under the terms and conditions of the GNU General Public License,
Packit d3f73b
 * version 2, as published by the Free Software Foundation.
Packit d3f73b
 *
Packit d3f73b
 * This program is distributed in the hope it will be useful, but WITHOUT
Packit d3f73b
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
Packit d3f73b
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
Packit d3f73b
 * more details.
Packit d3f73b
 *
Packit d3f73b
 * You should have received a copy of the GNU General Public License along with
Packit d3f73b
 * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
Packit d3f73b
 * Place - Suite 330, Boston, MA 02111-1307 USA.
Packit d3f73b
 *
Packit d3f73b
 * Author: Alexander Duyck <alexander.h.duyck@intel.com>
Packit d3f73b
 */
Packit d3f73b
Packit d3f73b
#ifndef __LINUX_TC_SKBEDIT_H
Packit d3f73b
#define __LINUX_TC_SKBEDIT_H
Packit d3f73b
Packit d3f73b
#include <linux/pkt_cls.h>
Packit d3f73b
Packit d3f73b
#define SKBEDIT_F_PRIORITY		0x1
Packit d3f73b
#define SKBEDIT_F_QUEUE_MAPPING		0x2
Packit d3f73b
#define SKBEDIT_F_MARK			0x4
Packit d3f73b
#define SKBEDIT_F_PTYPE			0x8
Packit d3f73b
#define SKBEDIT_F_MASK			0x10
Packit d3f73b
#define SKBEDIT_F_INHERITDSFIELD	0x20
Packit d3f73b
Packit d3f73b
struct tc_skbedit {
Packit d3f73b
	tc_gen;
Packit d3f73b
};
Packit d3f73b
Packit d3f73b
enum {
Packit d3f73b
	TCA_SKBEDIT_UNSPEC,
Packit d3f73b
	TCA_SKBEDIT_TM,
Packit d3f73b
	TCA_SKBEDIT_PARMS,
Packit d3f73b
	TCA_SKBEDIT_PRIORITY,
Packit d3f73b
	TCA_SKBEDIT_QUEUE_MAPPING,
Packit d3f73b
	TCA_SKBEDIT_MARK,
Packit d3f73b
	TCA_SKBEDIT_PAD,
Packit d3f73b
	TCA_SKBEDIT_PTYPE,
Packit d3f73b
	TCA_SKBEDIT_MASK,
Packit d3f73b
	TCA_SKBEDIT_FLAGS,
Packit d3f73b
	__TCA_SKBEDIT_MAX
Packit d3f73b
};
Packit d3f73b
#define TCA_SKBEDIT_MAX (__TCA_SKBEDIT_MAX - 1)
Packit d3f73b
Packit d3f73b
#endif