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()
123 static int tcf_bpf_dump(struct sk_buff *skb, struct tc_action *act, in tcf_bpf_dump() argument
127 struct tcf_bpf *prog = act->priv; in tcf_bpf_dump()
266 struct nlattr *est, struct tc_action *act, in tcf_bpf_init() argument
299 if (!tcf_hash_check(parm->index, act, bind)) { in tcf_bpf_init()
300 ret = tcf_hash_create(parm->index, est, act, in tcf_bpf_init()
311 tcf_hash_release(act, bind); in tcf_bpf_init()
318 prog = to_bpf(act); in tcf_bpf_init()
338 tcf_hash_insert(act); in tcf_bpf_init()
349 static void tcf_bpf_cleanup(struct tc_action *act, int bind) in tcf_bpf_cleanup() argument
353 tcf_bpf_prog_fill_cfg(act->priv, &tmp); in tcf_bpf_cleanup()
361 .act = tcf_bpf,