Lines Matching refs:exts
478 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()
556 if (exts->action->type != TCA_OLD_COMPAT) { in tcf_exts_dump()
560 if (tcf_action_dump(skb, exts->action, 0, 0) < 0) in tcf_exts_dump()
567 if (tcf_action_dump_old(skb, exts->action, 0, 0) < 0) in tcf_exts_dump()
580 int tcf_exts_dump_stats(struct sk_buff *skb, struct tcf_exts *exts, in tcf_exts_dump_stats() argument
584 if (exts->action) in tcf_exts_dump_stats()
585 if (tcf_action_copy_stats(skb, exts->action, 1) < 0) in tcf_exts_dump_stats()