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

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