#ifndef __NET_TC_GACT_H
#define __NET_TC_GACT_H
#include <net/act_api.h>
#include <linux/tc_act/tc_gact.h>
struct tcf_gact { … };
#define to_gact(a) …
static inline bool __is_tcf_gact_act(const struct tc_action *a, int act,
bool is_ext)
{ … }
static inline bool is_tcf_gact_ok(const struct tc_action *a)
{ … }
static inline bool is_tcf_gact_shot(const struct tc_action *a)
{ … }
static inline bool is_tcf_gact_trap(const struct tc_action *a)
{ … }
static inline bool is_tcf_gact_goto_chain(const struct tc_action *a)
{ … }
static inline u32 tcf_gact_goto_chain_index(const struct tc_action *a)
{ … }
static inline bool is_tcf_gact_continue(const struct tc_action *a)
{ … }
static inline bool is_tcf_gact_reclassify(const struct tc_action *a)
{ … }
static inline bool is_tcf_gact_pipe(const struct tc_action *a)
{ … }
#endif