Home
last modified time | relevance | path

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

/net/sched/
Dcls_api.c500 void tcf_exts_destroy(struct tcf_proto *tp, struct tcf_exts *exts) in tcf_exts_destroy() argument
503 if (exts->action) { in tcf_exts_destroy()
504 tcf_action_destroy(exts->action, TCA_ACT_UNBIND); in tcf_exts_destroy()
505 exts->action = NULL; in tcf_exts_destroy()
512 struct nlattr *rate_tlv, struct tcf_exts *exts, in tcf_exts_validate() argument
515 memset(exts, 0, sizeof(*exts)); in tcf_exts_validate()
529 exts->action = act; in tcf_exts_validate()
537 exts->action = act; in tcf_exts_validate()
567 int tcf_exts_dump(struct sk_buff *skb, struct tcf_exts *exts, in tcf_exts_dump() argument
571 if (map->action && exts->action) { in tcf_exts_dump()
[all …]
Dcls_cgroup.c116 struct tcf_exts exts; member
155 return tcf_exts_exec(skb, &head->exts, res); in cls_cgroup_classify()
227 tcf_exts_change(tp, &head->exts, &e); in cls_cgroup_change()
238 tcf_exts_destroy(tp, &head->exts); in cls_cgroup_destroy()
277 if (tcf_exts_dump(skb, &head->exts, &cgroup_ext_map) < 0 || in cls_cgroup_dump()
283 if (tcf_exts_dump_stats(skb, &head->exts, &cgroup_ext_map) < 0) in cls_cgroup_dump()
Dcls_fw.c46 struct tcf_exts exts; member
97 r = tcf_exts_exec(skb, &f->exts, res); in fw_classify()
144 tcf_exts_destroy(tp, &f->exts); in fw_delete_filter()
228 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()
362 if (tcf_exts_dump(skb, &f->exts, &fw_ext_map) < 0) in fw_dump()
367 if (tcf_exts_dump_stats(skb, &f->exts, &fw_ext_map) < 0) in fw_dump()
Dcls_basic.c31 struct tcf_exts exts; member
53 r = tcf_exts_exec(skb, &f->exts, res); in basic_classify()
96 tcf_exts_destroy(tp, &f->exts); in basic_delete_filter()
157 tcf_exts_change(tp, &f->exts, &e); in basic_set_parms()
266 if (tcf_exts_dump(skb, &f->exts, &basic_ext_map) < 0 || in basic_dump()
272 if (tcf_exts_dump_stats(skb, &f->exts, &basic_ext_map) < 0) in basic_dump()
Dcls_tcindex.c31 struct tcf_exts exts; member
61 return tcf_exts_is_predicative(&r->exts) || r->res.classid; in tcindex_filter_is_set()
104 return tcf_exts_exec(skb, &f->exts, res); in tcindex_classify()
175 tcf_exts_destroy(tp, &r->exts); in __tcindex_delete()
302 tcf_exts_change(tp, &cr.exts, &e); in tcindex_set_parms()
471 if (tcf_exts_dump(skb, &r->exts, &tcindex_ext_map) < 0) in tcindex_dump()
475 if (tcf_exts_dump_stats(skb, &r->exts, &tcindex_ext_map) < 0) in tcindex_dump()
Dcls_route.c55 struct tcf_exts exts; member
116 if (tcf_exts_is_available(&f->exts)) { \
117 int r = tcf_exts_exec(skb, &f->exts, res); \
259 tcf_exts_destroy(tp, &f->exts); in route4_delete_filter()
423 tcf_exts_change(tp, &f->exts, &e); in route4_set_parms()
592 if (tcf_exts_dump(skb, &f->exts, &route_ext_map) < 0) in route4_dump()
597 if (tcf_exts_dump_stats(skb, &f->exts, &route_ext_map) < 0) in route4_dump()
Dcls_rsvp.h94 struct tcf_exts exts; member
126 int r = tcf_exts_exec(skb, &f->exts, res); \
264 tcf_exts_destroy(tp, &f->exts); in rsvp_delete_filter()
458 tcf_exts_change(tp, &f->exts, &e); in rsvp_change()
525 tcf_exts_change(tp, &f->exts, &e); in rsvp_change()
636 if (tcf_exts_dump(skb, &f->exts, &rsvp_ext_map) < 0) in rsvp_dump()
641 if (tcf_exts_dump_stats(skb, &f->exts, &rsvp_ext_map) < 0) in rsvp_dump()
Dcls_flow.c41 struct tcf_exts exts; member
322 r = tcf_exts_exec(skb, &f->exts, res); in flow_classify()
465 tcf_exts_change(tp, &f->exts, &e); in flow_change()
514 tcf_exts_destroy(tp, &f->exts); in flow_destroy_filter()
611 if (tcf_exts_dump(skb, &f->exts, &flow_ext_map) < 0) in flow_dump()
620 if (tcf_exts_dump_stats(skb, &f->exts, &flow_ext_map) < 0) in flow_dump()
Dcls_u32.c49 struct tcf_exts exts; member
168 r = tcf_exts_exec(skb, &n->exts, res); in u32_classify()
345 tcf_exts_destroy(tp, &n->exts); in u32_destroy_key()
539 tcf_exts_change(tp, &n->exts, &e); in u32_set_parms()
762 if (tcf_exts_dump(skb, &n->exts, &u32_ext_map) < 0) in u32_dump()
781 if (tcf_exts_dump_stats(skb, &n->exts, &u32_ext_map) < 0) in u32_dump()