Home
last modified time | relevance | path

Searched refs:exts (Results 1 – 9 of 9) sorted by relevance

/net/sched/
Dcls_api.c478 void tcf_exts_destroy(struct tcf_proto *tp, struct tcf_exts *exts) in tcf_exts_destroy() argument
481 if (exts->action) { in tcf_exts_destroy()
482 tcf_action_destroy(exts->action, TCA_ACT_UNBIND); in tcf_exts_destroy()
483 exts->action = NULL; in tcf_exts_destroy()
490 struct nlattr *rate_tlv, struct tcf_exts *exts, in tcf_exts_validate() argument
493 memset(exts, 0, sizeof(*exts)); in tcf_exts_validate()
507 exts->action = act; in tcf_exts_validate()
514 exts->action = act; in tcf_exts_validate()
544 int tcf_exts_dump(struct sk_buff *skb, struct tcf_exts *exts, in tcf_exts_dump() argument
548 if (map->action && exts->action) { in tcf_exts_dump()
[all …]
Dcls_cgroup.c99 struct tcf_exts exts; member
128 ret = tcf_exts_exec(skb, &head->exts, res); in cls_cgroup_classify()
201 tcf_exts_change(tp, &head->exts, &e); in cls_cgroup_change()
212 tcf_exts_destroy(tp, &head->exts); in cls_cgroup_destroy()
251 if (tcf_exts_dump(skb, &head->exts, &cgroup_ext_map) < 0 || in cls_cgroup_dump()
257 if (tcf_exts_dump_stats(skb, &head->exts, &cgroup_ext_map) < 0) in cls_cgroup_dump()
Dcls_fw.c47 struct tcf_exts exts; member
98 r = tcf_exts_exec(skb, &f->exts, res); in fw_classify()
145 tcf_exts_destroy(tp, &f->exts); in fw_delete_filter()
229 tcf_exts_change(tp, &f->exts, &e); in fw_change_attrs()
343 if (!f->res.classid && !tcf_exts_is_available(&f->exts)) in fw_dump()
359 if (tcf_exts_dump(skb, &f->exts, &fw_ext_map) < 0) in fw_dump()
364 if (tcf_exts_dump_stats(skb, &f->exts, &fw_ext_map) < 0) in fw_dump()
Dcls_basic.c32 struct tcf_exts exts; member
54 r = tcf_exts_exec(skb, &f->exts, res); in basic_classify()
98 tcf_exts_destroy(tp, &f->exts); in basic_delete_filter()
158 tcf_exts_change(tp, &f->exts, &e); in basic_set_parms()
265 if (tcf_exts_dump(skb, &f->exts, &basic_ext_map) < 0 || in basic_dump()
Dcls_tcindex.c30 struct tcf_exts exts; member
60 return tcf_exts_is_predicative(&r->exts) || r->res.classid; in tcindex_filter_is_set()
103 return tcf_exts_exec(skb, &f->exts, res); in tcindex_classify()
174 tcf_exts_destroy(tp, &r->exts); in __tcindex_delete()
300 tcf_exts_change(tp, &cr.exts, &e); in tcindex_set_parms()
465 if (tcf_exts_dump(skb, &r->exts, &tcindex_ext_map) < 0) in tcindex_dump()
469 if (tcf_exts_dump_stats(skb, &r->exts, &tcindex_ext_map) < 0) in tcindex_dump()
Dcls_route.c58 struct tcf_exts exts; member
118 if (tcf_exts_is_available(&f->exts)) { \
119 int r = tcf_exts_exec(skb, &f->exts, res); \
257 tcf_exts_destroy(tp, &f->exts); in route4_delete_filter()
417 tcf_exts_change(tp, &f->exts, &e); in route4_set_parms()
579 if (tcf_exts_dump(skb, &f->exts, &route_ext_map) < 0) in route4_dump()
584 if (tcf_exts_dump_stats(skb, &f->exts, &route_ext_map) < 0) in route4_dump()
Dcls_rsvp.h97 struct tcf_exts exts; member
127 int r = tcf_exts_exec(skb, &f->exts, res); \
255 tcf_exts_destroy(tp, &f->exts); in rsvp_delete_filter()
446 tcf_exts_change(tp, &f->exts, &e); in rsvp_change()
513 tcf_exts_change(tp, &f->exts, &e); in rsvp_change()
620 if (tcf_exts_dump(skb, &f->exts, &rsvp_ext_map) < 0) in rsvp_dump()
625 if (tcf_exts_dump_stats(skb, &f->exts, &rsvp_ext_map) < 0) in rsvp_dump()
Dcls_flow.c37 struct tcf_exts exts; member
364 r = tcf_exts_exec(skb, &f->exts, res); in flow_classify()
502 tcf_exts_change(tp, &f->exts, &e); in flow_change()
551 tcf_exts_destroy(tp, &f->exts); in flow_destroy_filter()
642 if (tcf_exts_dump(skb, &f->exts, &flow_ext_map) < 0) in flow_dump()
651 if (tcf_exts_dump_stats(skb, &f->exts, &flow_ext_map) < 0) in flow_dump()
Dcls_u32.c49 struct tcf_exts exts; member
160 r = tcf_exts_exec(skb, &n->exts, res); in u32_classify()
321 tcf_exts_destroy(tp, &n->exts); in u32_destroy_key()
515 tcf_exts_change(tp, &n->exts, &e); in u32_set_parms()
728 if (tcf_exts_dump(skb, &n->exts, &u32_ext_map) < 0) in u32_dump()
745 if (tcf_exts_dump_stats(skb, &n->exts, &u32_ext_map) < 0) in u32_dump()