Lines Matching refs:res
40 struct tcf_result res; member
81 struct tcf_result *res) in cls_bpf_classify() argument
93 qdisc_skb_cb(skb)->tc_classid = prog->res.classid; in cls_bpf_classify()
109 res->class = 0; in cls_bpf_classify()
110 res->classid = TC_H_MAJ(prog->res.classid) | in cls_bpf_classify()
122 res->class = 0; in cls_bpf_classify()
123 res->classid = filter_res; in cls_bpf_classify()
125 *res = prog->res; in cls_bpf_classify()
128 ret = tcf_exts_exec(skb, &prog->exts, res); in cls_bpf_classify()
295 tcf_unbind_filter(tp, &prog->res); in __cls_bpf_delete()
451 prog->res.classid = nla_get_u32(tb[TCA_BPF_CLASSID]); in cls_bpf_set_parms()
452 tcf_bind_filter(tp, &prog->res, base); in cls_bpf_set_parms()
521 tcf_unbind_filter(tp, &oldprog->res); in cls_bpf_change()
600 if (prog->res.classid && in cls_bpf_dump()
601 nla_put_u32(skb, TCA_BPF_CLASSID, prog->res.classid)) in cls_bpf_dump()
639 if (prog && prog->res.classid == classid) { in cls_bpf_bind_class()
641 __tcf_bind_filter(q, &prog->res, base); in cls_bpf_bind_class()
643 __tcf_unbind_filter(q, &prog->res); in cls_bpf_bind_class()