linux/include/net/tc_act/tc_skbedit.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (c) 2008, Intel Corporation.
 *
 * Author: Alexander Duyck <[email protected]>
 */

#ifndef __NET_TC_SKBEDIT_H
#define __NET_TC_SKBEDIT_H

#include <net/act_api.h>
#include <linux/tc_act/tc_skbedit.h>

struct tcf_skbedit_params {};

struct tcf_skbedit {};
#define to_skbedit(a)

/* Return true iff action is the one identified by FLAG. */
static inline bool is_tcf_skbedit_with_flag(const struct tc_action *a, u32 flag)
{}

/* Return true iff action is mark */
static inline bool is_tcf_skbedit_mark(const struct tc_action *a)
{}

static inline u32 tcf_skbedit_mark(const struct tc_action *a)
{}

/* Return true iff action is ptype */
static inline bool is_tcf_skbedit_ptype(const struct tc_action *a)
{}

static inline u32 tcf_skbedit_ptype(const struct tc_action *a)
{}

/* Return true iff action is priority */
static inline bool is_tcf_skbedit_priority(const struct tc_action *a)
{}

static inline u32 tcf_skbedit_priority(const struct tc_action *a)
{}

static inline u16 tcf_skbedit_rx_queue_mapping(const struct tc_action *a)
{}

/* Return true iff action is queue_mapping */
static inline bool is_tcf_skbedit_queue_mapping(const struct tc_action *a)
{}

/* Return true if action is on ingress traffic */
static inline bool is_tcf_skbedit_ingress(u32 flags)
{}

static inline bool is_tcf_skbedit_tx_queue_mapping(const struct tc_action *a)
{}

static inline bool is_tcf_skbedit_rx_queue_mapping(const struct tc_action *a)
{}

/* Return true iff action is inheritdsfield */
static inline bool is_tcf_skbedit_inheritdsfield(const struct tc_action *a)
{}

#endif /* __NET_TC_SKBEDIT_H */