Lines Matching refs:tc_action

25 static void tcf_action_goto_chain_exec(const struct tc_action *a,
87 struct tcf_chain *tcf_action_set_ctrlact(struct tc_action *a, int action,
101 static void free_tcf(struct tc_action *p)
116 static void tcf_action_cleanup(struct tc_action *p)
125 static int __tcf_action_put(struct tc_action *p, bool bind)
145 static int __tcf_idr_release(struct tc_action *p, bool bind, bool strict)
172 int tcf_idr_release(struct tc_action *a, bool bind)
184 static size_t tcf_action_shared_attrs_size(const struct tc_action *act)
220 static size_t tcf_action_fill_size(const struct tc_action *act)
237 struct tc_action *p;
290 static int tcf_idr_release_unsafe(struct tc_action *p)
312 struct tc_action *p;
372 int tcf_idr_search(struct tc_action_net *tn, struct tc_action **a, u32 index)
375 struct tc_action *p;
395 struct tc_action *p;
427 struct tc_action **a, const struct tc_action_ops *ops,
430 struct tc_action *p = kzalloc(ops->size, GFP_KERNEL);
483 struct nlattr *est, struct tc_action **a,
513 struct tc_action **a, int bind)
516 struct tc_action *p;
563 struct tc_action *p;
675 int tcf_action_exec(struct sk_buff *skb, struct tc_action **actions,
688 const struct tc_action *a = actions[i];
736 int tcf_action_destroy(struct tc_action *actions[], int bind)
739 struct tc_action *a;
755 static int tcf_action_put(struct tc_action *p)
761 static void tcf_action_put_many(struct tc_action *actions[])
766 struct tc_action *a = actions[i];
778 tcf_action_dump_old(struct sk_buff *skb, struct tc_action *a, int bind, int ref)
784 tcf_action_dump_terse(struct sk_buff *skb, struct tc_action *a)
812 tcf_action_dump_1(struct sk_buff *skb, struct tc_action *a, int bind, int ref)
851 int tcf_action_dump(struct sk_buff *skb, struct tc_action *actions[],
854 struct tc_action *a;
919 void tcf_idr_insert_many(struct tc_action *actions[])
924 struct tc_action *a = actions[i];
1000 struct tc_action *tcf_action_init_1(struct net *net, struct tcf_proto *tp,
1011 struct tc_action *a;
1062 struct tc_action *actions[], int init_res[], size_t *attr_size,
1067 struct tc_action *act;
1120 void tcf_action_update_stats(struct tc_action *a, u64 bytes, u64 packets,
1141 int tcf_action_copy_stats(struct sk_buff *skb, struct tc_action *p,
1187 static int tca_get_fill(struct sk_buff *skb, struct tc_action *actions[],
1223 struct tc_action *actions[], int event,
1241 static struct tc_action *tcf_action_get_1(struct net *net, struct nlattr *nla,
1247 struct tc_action *a;
1363 static int tcf_action_delete(struct net *net, struct tc_action *actions[])
1368 struct tc_action *a = actions[i];
1393 tcf_del_notify(struct net *net, struct nlmsghdr *n, struct tc_action *actions[],
1432 struct tc_action *act;
1434 struct tc_action *actions[TCA_ACT_MAX_PRIO] = {};
1475 tcf_add_notify(struct net *net, struct nlmsghdr *n, struct tc_action *actions[],
1506 struct tc_action *actions[TCA_ACT_MAX_PRIO] = {};