linux-sg2042/include/net/tc_act
WANG Cong a85a970af2 net_sched: move tc_action into tcf_common
struct tc_action is confusing, currently we use it for two purposes:
1) Pass in arguments and carry out results from helper functions
2) A generic representation for tc actions

The first one is error-prone, since we need to make sure we don't
miss anything. This patch aims to get rid of this use, by moving
tc_action into tcf_common, so that they are allocated together
in hashtable and can be cast'ed easily.

And together with the following patch, we could really make
tc_action a generic representation for all tc actions and each
type of action can inherit from it.

Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-07-25 21:49:19 -07:00
..
tc_bpf.h net_sched: move tc_action into tcf_common 2016-07-25 21:49:19 -07:00
tc_connmark.h net_sched: move tc_action into tcf_common 2016-07-25 21:49:19 -07:00
tc_csum.h net_sched: move tc_action into tcf_common 2016-07-25 21:49:19 -07:00
tc_defact.h net_sched: move tc_action into tcf_common 2016-07-25 21:49:19 -07:00
tc_gact.h net_sched: move tc_action into tcf_common 2016-07-25 21:49:19 -07:00
tc_ife.h net_sched: move tc_action into tcf_common 2016-07-25 21:49:19 -07:00
tc_ipt.h net_sched: move tc_action into tcf_common 2016-07-25 21:49:19 -07:00
tc_mirred.h net_sched: move tc_action into tcf_common 2016-07-25 21:49:19 -07:00
tc_nat.h net_sched: move tc_action into tcf_common 2016-07-25 21:49:19 -07:00
tc_pedit.h net_sched: move tc_action into tcf_common 2016-07-25 21:49:19 -07:00
tc_skbedit.h net_sched: move tc_action into tcf_common 2016-07-25 21:49:19 -07:00
tc_vlan.h net_sched: move tc_action into tcf_common 2016-07-25 21:49:19 -07:00