#ifndef __NET_TC_VLAN_H
#define __NET_TC_VLAN_H
#include <net/act_api.h>
#include <linux/tc_act/tc_vlan.h>
struct tcf_vlan_params { … };
struct tcf_vlan { … };
#define to_vlan(a) …
static inline bool is_tcf_vlan(const struct tc_action *a)
{ … }
static inline u32 tcf_vlan_action(const struct tc_action *a)
{ … }
static inline u16 tcf_vlan_push_vid(const struct tc_action *a)
{ … }
static inline __be16 tcf_vlan_push_proto(const struct tc_action *a)
{ … }
static inline u8 tcf_vlan_push_prio(const struct tc_action *a)
{ … }
static inline void tcf_vlan_push_eth(unsigned char *src, unsigned char *dest,
const struct tc_action *a)
{ … }
#endif