linux/include/net/tc_act/tc_mirred.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __NET_TC_MIR_H
#define __NET_TC_MIR_H

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

struct tcf_mirred {};
#define to_mirred(a)

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

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

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

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

static inline struct net_device *tcf_mirred_dev(const struct tc_action *a)
{}

#endif /* __NET_TC_MIR_H */