Searched refs:exts (Results 1 - 10 of 10) sorted by relevance

/net/sched/
H A Dcls_api.c499 void tcf_exts_destroy(struct tcf_exts *exts) argument
502 tcf_action_destroy(&exts->actions, TCA_ACT_UNBIND);
503 INIT_LIST_HEAD(&exts->actions);
509 struct nlattr *rate_tlv, struct tcf_exts *exts, bool ovr)
515 INIT_LIST_HEAD(&exts->actions);
516 if (exts->police && tb[exts->police]) {
517 act = tcf_action_init_1(net, tb[exts->police], rate_tlv,
523 act->type = exts->type = TCA_OLD_COMPAT;
524 list_add(&act->list, &exts
508 tcf_exts_validate(struct net *net, struct tcf_proto *tp, struct nlattr **tb, struct nlattr *rate_tlv, struct tcf_exts *exts, bool ovr) argument
562 tcf_exts_dump(struct sk_buff *skb, struct tcf_exts *exts) argument
602 tcf_exts_dump_stats(struct sk_buff *skb, struct tcf_exts *exts) argument
[all...]
H A Dcls_bpf.c36 struct tcf_exts exts; member in struct:cls_bpf_prog
69 ret = tcf_exts_exec(skb, &prog->exts, res);
95 tcf_exts_destroy(&prog->exts);
171 struct tcf_exts exts; local
181 tcf_exts_init(&exts, TCA_BPF_ACT, TCA_BPF_POLICE);
182 ret = tcf_exts_validate(net, tp, tb, est, &exts, ovr);
215 tcf_exts_change(tp, &prog->exts, &exts);
221 tcf_exts_destroy(&exts);
262 tcf_exts_init(&prog->exts, TCA_BPF_AC
[all...]
H A Dcls_cgroup.c23 struct tcf_exts exts; member in struct:cls_cgroup_head
62 return tcf_exts_exec(skb, &head->exts, res);
89 tcf_exts_destroy(&head->exts);
119 tcf_exts_init(&new->exts, TCA_CGROUP_ACT, TCA_CGROUP_POLICE);
142 tcf_exts_change(tp, &new->exts, &e);
197 if (tcf_exts_dump(skb, &head->exts) < 0 ||
203 if (tcf_exts_dump_stats(skb, &head->exts) < 0)
H A Dcls_basic.c32 struct tcf_exts exts; member in struct:basic_filter
51 r = tcf_exts_exec(skb, &f->exts, res);
95 tcf_exts_destroy(&f->exts);
158 tcf_exts_change(tp, &f->exts, &e);
196 tcf_exts_init(&fnew->exts, TCA_BASIC_ACT, TCA_BASIC_POLICE);
274 if (tcf_exts_dump(skb, &f->exts) < 0 ||
280 if (tcf_exts_dump_stats(skb, &f->exts) < 0)
H A Dcls_tcindex.c28 struct tcf_exts exts; member in struct:tcindex_filter_result
55 return tcf_exts_is_predicative(&r->exts) || r->res.classid;
103 return tcf_exts_exec(skb, &f->exts, res);
172 tcf_exts_destroy(&r->exts);
211 tcf_exts_init(&r->exts, TCA_TCINDEX_ACT, TCA_TCINDEX_POLICE);
264 tcf_exts_init(&cp->perfect[i].exts,
333 tcf_exts_init(&cp->perfect[i].exts,
372 tcf_exts_change(tp, &r->exts, &e);
374 tcf_exts_change(tp, &cr.exts, &e);
387 tcf_exts_change(tp, &f->result.exts,
[all...]
H A Dcls_fw.c47 struct tcf_exts exts; member in struct:fw_filter
78 r = tcf_exts_exec(skb, &f->exts, res);
127 tcf_exts_destroy(&f->exts);
222 tcf_exts_change(tp, &f->exts, &e);
267 tcf_exts_init(&fnew->exts, TCA_FW_ACT, TCA_FW_POLICE);
310 tcf_exts_init(&f->exts, TCA_FW_ACT, TCA_FW_POLICE);
371 if (!f->res.classid && !tcf_exts_is_available(&f->exts))
393 if (tcf_exts_dump(skb, &f->exts) < 0)
398 if (tcf_exts_dump_stats(skb, &f->exts) < 0)
H A Dcls_route.c56 struct tcf_exts exts; member in struct:route4_filter
116 if (tcf_exts_is_available(&f->exts)) { \
117 int r = tcf_exts_exec(skb, &f->exts, res); \
273 tcf_exts_destroy(&f->exts);
455 tcf_exts_change(tp, &f->exts, &e);
502 tcf_exts_init(&f->exts, TCA_ROUTE4_ACT, TCA_ROUTE4_POLICE);
631 if (tcf_exts_dump(skb, &f->exts) < 0)
636 if (tcf_exts_dump_stats(skb, &f->exts) < 0)
H A Dcls_rsvp.h96 struct tcf_exts exts; member in struct:rsvp_filter
124 int r = tcf_exts_exec(skb, &f->exts, res); \
294 tcf_exts_destroy(&f->exts);
495 tcf_exts_init(&n->exts, TCA_RSVP_ACT, TCA_RSVP_POLICE);
502 tcf_exts_change(tp, &n->exts, &e);
519 tcf_exts_init(&f->exts, TCA_RSVP_ACT, TCA_RSVP_POLICE);
573 tcf_exts_change(tp, &f->exts, &e);
691 if (tcf_exts_dump(skb, &f->exts) < 0)
696 if (tcf_exts_dump_stats(skb, &f->exts) < 0)
H A Dcls_u32.c51 struct tcf_exts exts; member in struct:tc_u_knode
176 r = tcf_exts_exec(skb, &n->exts, res);
361 tcf_exts_destroy(&n->exts);
606 tcf_exts_change(tp, &n->exts, &e);
685 tcf_exts_init(&new->exts, TCA_U32_ACT, TCA_U32_POLICE);
813 tcf_exts_init(&n->exts, TCA_U32_ACT, TCA_U32_POLICE);
968 if (tcf_exts_dump(skb, &n->exts) < 0)
1009 if (tcf_exts_dump_stats(skb, &n->exts) < 0)
H A Dcls_flow.c42 struct tcf_exts exts; member in struct:flow_filter
320 r = tcf_exts_exec(skb, &f->exts, res);
357 tcf_exts_destroy(&f->exts);
486 tcf_exts_init(&fnew->exts, TCA_FLOW_ACT, TCA_FLOW_POLICE);
493 tcf_exts_change(tp, &fnew->exts, &e);
633 if (tcf_exts_dump(skb, &f->exts) < 0)
642 if (tcf_exts_dump_stats(skb, &f->exts) < 0)

Completed in 422 milliseconds