Lines Matching refs:act
36 static int tcf_bpf(struct sk_buff *skb, const struct tc_action *act, in tcf_bpf() argument
39 struct tcf_bpf *prog = act->priv; in tcf_bpf()
129 static int tcf_bpf_dump(struct sk_buff *skb, struct tc_action *act, in tcf_bpf_dump() argument
133 struct tcf_bpf *prog = act->priv; in tcf_bpf_dump()
275 struct nlattr *est, struct tc_action *act, in tcf_bpf_init() argument
297 if (!tcf_hash_check(parm->index, act, bind)) { in tcf_bpf_init()
298 ret = tcf_hash_create(parm->index, est, act, in tcf_bpf_init()
309 tcf_hash_release(act, bind); in tcf_bpf_init()
329 prog = to_bpf(act); in tcf_bpf_init()
347 tcf_hash_insert(act); in tcf_bpf_init()
357 tcf_hash_cleanup(act, est); in tcf_bpf_init()
362 static void tcf_bpf_cleanup(struct tc_action *act, int bind) in tcf_bpf_cleanup() argument
366 tcf_bpf_prog_fill_cfg(act->priv, &tmp); in tcf_bpf_cleanup()
374 .act = tcf_bpf,