linux/include/net/tc_act/tc_gate.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
/* Copyright 2020 NXP */

#ifndef __NET_TC_GATE_H
#define __NET_TC_GATE_H

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

struct action_gate_entry {};

struct tcfg_gate_entry {};

struct tcf_gate_params {};

#define GATE_ACT_GATE_OPEN
#define GATE_ACT_PENDING

struct tcf_gate {};

#define to_gate(a)

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

static inline s32 tcf_gate_prio(const struct tc_action *a)
{}

static inline u64 tcf_gate_basetime(const struct tc_action *a)
{}

static inline u64 tcf_gate_cycletime(const struct tc_action *a)
{}

static inline u64 tcf_gate_cycletimeext(const struct tc_action *a)
{}

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

static inline struct action_gate_entry
			*tcf_gate_get_list(const struct tc_action *a)
{}
#endif