Lines Matching refs:act
34 static int tcf_bpf_act(struct sk_buff *skb, const struct tc_action *act, in tcf_bpf_act() argument
38 struct tcf_bpf *prog = to_bpf(act); in tcf_bpf_act()
134 static int tcf_bpf_dump(struct sk_buff *skb, struct tc_action *act, in tcf_bpf_dump() argument
138 struct tcf_bpf *prog = to_bpf(act); in tcf_bpf_dump()
276 struct nlattr *est, struct tc_action **act, in tcf_bpf_init() argument
303 ret = tcf_idr_check_alloc(tn, &index, act, bind); in tcf_bpf_init()
305 ret = tcf_idr_create(tn, index, est, act, in tcf_bpf_init()
319 tcf_idr_release(*act, bind); in tcf_bpf_init()
345 prog = to_bpf(*act); in tcf_bpf_init()
357 goto_ch = tcf_action_set_ctrlact(*act, parm->action, goto_ch); in tcf_bpf_init()
365 tcf_idr_insert(tn, *act); in tcf_bpf_init()
379 tcf_idr_release(*act, bind); in tcf_bpf_init()
383 static void tcf_bpf_cleanup(struct tc_action *act) in tcf_bpf_cleanup() argument
387 tcf_bpf_prog_fill_cfg(to_bpf(act), &tmp); in tcf_bpf_cleanup()
412 .act = tcf_bpf_act,