linux/include/net/tc_act/tc_police.h

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

#include <net/act_api.h>

struct tcf_police_params {};

struct tcf_police {};

#define to_police(pc)

/* old policer structure from before tc actions */
struct tc_police_compat {};

static inline bool is_tcf_police(const struct tc_action *act)
{}

static inline u64 tcf_police_rate_bytes_ps(const struct tc_action *act)
{}

static inline u32 tcf_police_burst(const struct tc_action *act)
{}

static inline u64 tcf_police_rate_pkt_ps(const struct tc_action *act)
{}

static inline u32 tcf_police_burst_pkt(const struct tc_action *act)
{}

static inline u32 tcf_police_tcfp_mtu(const struct tc_action *act)
{}

static inline u64 tcf_police_peakrate_bytes_ps(const struct tc_action *act)
{}

static inline u32 tcf_police_tcfp_ewma_rate(const struct tc_action *act)
{}

static inline u16 tcf_police_rate_overhead(const struct tc_action *act)
{}

#endif /* __NET_TC_POLICE_H */