0001
0002
0003
0004
0005
0006 #ifndef __NET_TC_SKBMOD_H
0007 #define __NET_TC_SKBMOD_H
0008
0009 #include <net/act_api.h>
0010 #include <linux/tc_act/tc_skbmod.h>
0011
0012 struct tcf_skbmod_params {
0013 struct rcu_head rcu;
0014 u64 flags;
0015 u8 eth_dst[ETH_ALEN];
0016 u16 eth_type;
0017 u8 eth_src[ETH_ALEN];
0018 };
0019
0020 struct tcf_skbmod {
0021 struct tc_action common;
0022 struct tcf_skbmod_params __rcu *skbmod_p;
0023 };
0024 #define to_skbmod(a) ((struct tcf_skbmod *)a)
0025
0026 #endif