Lines Matching refs:tp

53 				     struct tcf_proto *tp);
65 int police, struct tcf_proto *tp, u32 handle, bool used_action_miss);
94 const struct tcf_proto *tp, struct tcf_result *res,
97 static inline bool tc_cls_stats_dump(struct tcf_proto *tp, in tc_cls_stats_dump() argument
101 if (arg->count >= arg->skip && arg->fn(tp, filter, arg) < 0) { in tc_cls_stats_dump()
154 const struct tcf_proto *tp, in tcf_classify() argument
180 tcf_bind_filter(struct tcf_proto *tp, struct tcf_result *r, unsigned long base) in tcf_bind_filter() argument
182 struct Qdisc *q = tp->chain->block->q; in tcf_bind_filter()
204 tcf_unbind_filter(struct tcf_proto *tp, struct tcf_result *r) in tcf_unbind_filter() argument
206 struct Qdisc *q = tp->chain->block->q; in tcf_unbind_filter()
366 int tcf_exts_validate(struct net *net, struct tcf_proto *tp,
370 int tcf_exts_validate_ex(struct net *net, struct tcf_proto *tp, struct nlattr **tb,
524 #define tcf_em_tree_validate(tp, tb, t) ((void)(t), 0) argument
595 int tc_setup_cb_add(struct tcf_block *block, struct tcf_proto *tp,
598 int tc_setup_cb_replace(struct tcf_block *block, struct tcf_proto *tp,
603 int tc_setup_cb_destroy(struct tcf_block *block, struct tcf_proto *tp,
606 int tc_setup_cb_reoffload(struct tcf_block *block, struct tcf_proto *tp,
752 const struct tcf_proto *tp, u32 flags, in tc_cls_common_offload_init() argument
755 cls_common->chain_index = tp->chain->index; in tc_cls_common_offload_init()
756 cls_common->protocol = tp->protocol; in tc_cls_common_offload_init()
757 cls_common->prio = tp->prio >> 16; in tc_cls_common_offload_init()
763 static inline void tcf_proto_update_usesw(struct tcf_proto *tp, u32 flags) in tcf_proto_update_usesw() argument
765 if (tp->usesw) in tcf_proto_update_usesw()
769 tp->usesw = true; in tcf_proto_update_usesw()