Lines Matching refs:res
31 struct tcf_result res; member
57 return tcf_exts_has_actions(&r->exts) || r->res.classid; in tcindex_filter_is_set()
84 struct tcf_result *res) in tcindex_classify() argument
91 skb, tp, res, p); in tcindex_classify()
99 res->classid = TC_H_MAKE(TC_H_MAJ(q->handle), key); in tcindex_classify()
100 res->class = 0; in tcindex_classify()
101 pr_debug("alg 0x%x\n", res->classid); in tcindex_classify()
104 *res = f->res; in tcindex_classify()
105 pr_debug("map 0x%x\n", res->classid); in tcindex_classify()
107 return tcf_exts_exec(skb, &f->exts, res); in tcindex_classify()
186 if (!r->res.class) in tcindex_delete()
204 tcf_unbind_filter(tp, &r->res); in tcindex_delete()
342 cp->perfect[i].res = p->perfect[i].res; in tcindex_set_parms()
351 cr = r->res; in tcindex_set_parms()
455 r->res = cr; in tcindex_set_parms()
464 f->result.res = r->res; in tcindex_set_parms()
533 if (!p->perfect[i].res.class) in tcindex_walk()
572 tcf_unbind_filter(tp, &r->res); in tcindex_destroy()
638 if (r->res.class && in tcindex_dump()
639 nla_put_u32(skb, TCA_TCINDEX_CLASSID, r->res.classid)) in tcindex_dump()
662 if (r && r->res.classid == classid) { in tcindex_bind_class()
664 __tcf_bind_filter(q, &r->res, base); in tcindex_bind_class()
666 __tcf_unbind_filter(q, &r->res); in tcindex_bind_class()