42 lines · c
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_H9#define __LINUX_TC_SKBEDIT_H10 11#include <linux/pkt_cls.h>12 13#define SKBEDIT_F_PRIORITY 0x114#define SKBEDIT_F_QUEUE_MAPPING 0x215#define SKBEDIT_F_MARK 0x416#define SKBEDIT_F_PTYPE 0x817#define SKBEDIT_F_MASK 0x1018#define SKBEDIT_F_INHERITDSFIELD 0x2019#define SKBEDIT_F_TXQ_SKBHASH 0x4020 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_MAX38};39#define TCA_SKBEDIT_MAX (__TCA_SKBEDIT_MAX - 1)40 41#endif42