Lines Matching refs:tc_action

44 static void tcf_action_goto_chain_exec(const struct tc_action *a,
106 struct tcf_chain *tcf_action_set_ctrlact(struct tc_action *a, int action,
120 static void free_tcf(struct tc_action *p)
135 static void offload_action_hw_count_set(struct tc_action *act,
141 static void offload_action_hw_count_inc(struct tc_action *act,
147 static void offload_action_hw_count_dec(struct tc_action *act,
154 static unsigned int tcf_offload_act_num_actions_single(struct tc_action *act)
181 struct tc_action *act,
246 static int tcf_action_offload_add_ex(struct tc_action *action,
252 struct tc_action *actions[TCA_ACT_MAX_PRIO] = {
295 static int tcf_action_offload_add(struct tc_action *action,
301 int tcf_action_update_hw_stats(struct tc_action *action)
329 static int tcf_action_offload_del_ex(struct tc_action *action,
358 static int tcf_action_offload_del(struct tc_action *action)
363 static void tcf_action_cleanup(struct tc_action *p)
373 static int __tcf_action_put(struct tc_action *p, bool bind)
393 static int __tcf_idr_release(struct tc_action *p, bool bind, bool strict)
420 int tcf_idr_release(struct tc_action *a, bool bind)
432 static size_t tcf_action_shared_attrs_size(const struct tc_action *act)
468 static size_t tcf_action_fill_size(const struct tc_action *act)
478 tcf_action_dump_terse(struct sk_buff *skb, struct tc_action *a, bool from_act)
515 struct tc_action *p;
572 static int tcf_idr_release_unsafe(struct tc_action *p)
594 struct tc_action *p;
654 int tcf_idr_search(struct tc_action_net *tn, struct tc_action **a, u32 index)
657 struct tc_action *p;
690 struct tc_action **a, u32 index)
702 struct tc_action *p;
734 struct tc_action **a, const struct tc_action_ops *ops,
737 struct tc_action *p = kzalloc(ops->size, GFP_KERNEL);
792 struct nlattr *est, struct tc_action **a,
825 struct tc_action **a, int bind)
828 struct tc_action *p;
893 struct tc_action *p;
1074 int tcf_action_exec(struct sk_buff *skb, struct tc_action **actions,
1087 const struct tc_action *a = actions[i];
1137 int tcf_action_destroy(struct tc_action *actions[], int bind)
1140 struct tc_action *a;
1155 static int tcf_action_put(struct tc_action *p)
1160 static void tcf_action_put_many(struct tc_action *actions[])
1162 struct tc_action *a;
1172 static void tca_put_bound_many(struct tc_action *actions[], int init_res[])
1174 struct tc_action *a;
1189 tcf_action_dump_old(struct sk_buff *skb, struct tc_action *a, int bind, int ref)
1195 tcf_action_dump_1(struct sk_buff *skb, struct tc_action *a, int bind, int ref)
1239 int tcf_action_dump(struct sk_buff *skb, struct tc_action *actions[],
1242 struct tc_action *a;
1308 void tcf_idr_insert_many(struct tc_action *actions[], int init_res[])
1310 struct tc_action *a;
1390 struct tc_action *tcf_action_init_1(struct net *net, struct tcf_proto *tp,
1400 struct tc_action *a;
1460 struct nlattr *est, struct tc_action *actions[],
1467 struct tc_action *act;
1535 void tcf_action_update_stats(struct tc_action *a, u64 bytes, u64 packets,
1556 int tcf_action_copy_stats(struct sk_buff *skb, struct tc_action *p,
1603 static int tca_get_fill(struct sk_buff *skb, struct tc_action *actions[],
1644 struct tc_action *actions[], int event,
1662 static struct tc_action *tcf_action_get_1(struct net *net, struct nlattr *nla,
1668 struct tc_action *a;
1782 static int tcf_action_delete(struct net *net, struct tc_action *actions[])
1784 struct tc_action *a;
1812 struct tc_action *action)
1815 struct tc_action *actions[TCA_ACT_MAX_PRIO] = {
1832 static int tcf_reoffload_del_notify(struct net *net, struct tc_action *action)
1863 struct tc_action *p;
1916 struct tc_action *actions[],
1937 struct tc_action *actions[], u32 portid,
1970 struct tc_action *act;
1972 struct tc_action *actions[TCA_ACT_MAX_PRIO] = {};
2013 struct tc_action *actions[],
2034 struct tc_action *actions[], u32 portid,
2058 struct tc_action *actions[TCA_ACT_MAX_PRIO] = {};