Searched refs:tcf_proto (Results 1 - 25 of 50) sorted by relevance

12

/linux-master/net/sched/
H A Dcls_cgroup.c22 struct tcf_proto *tp;
27 const struct tcf_proto *tp,
46 static void *cls_cgroup_get(struct tcf_proto *tp, u32 handle)
51 static int cls_cgroup_init(struct tcf_proto *tp)
79 struct tcf_proto *tp, unsigned long base,
134 static void cls_cgroup_destroy(struct tcf_proto *tp, bool rtnl_held,
148 static int cls_cgroup_delete(struct tcf_proto *tp, void *arg, bool *last,
154 static void cls_cgroup_walk(struct tcf_proto *tp, struct tcf_walker *arg,
172 static int cls_cgroup_dump(struct net *net, struct tcf_proto *tp, void *fh,
H A Dcls_basic.c34 struct tcf_proto *tp;
41 const struct tcf_proto *tp,
62 static void *basic_get(struct tcf_proto *tp, u32 handle)
76 static int basic_init(struct tcf_proto *tp)
108 static void basic_destroy(struct tcf_proto *tp, bool rtnl_held,
127 static int basic_delete(struct tcf_proto *tp, void *arg, bool *last,
147 static int basic_set_parms(struct net *net, struct tcf_proto *tp,
173 struct tcf_proto *tp, unsigned long base, u32 handle,
249 static void basic_walk(struct tcf_proto *tp, struct tcf_walker *arg,
269 static int basic_dump(struct net *net, struct tcf_proto *t
[all...]
H A Dcls_matchall.c29 const struct tcf_proto *tp,
45 static int mall_init(struct tcf_proto *tp)
68 static void mall_destroy_hw_filter(struct tcf_proto *tp,
84 static int mall_replace_hw_filter(struct tcf_proto *tp,
127 static void mall_destroy(struct tcf_proto *tp, bool rtnl_held,
146 static void *mall_get(struct tcf_proto *tp, u32 handle)
163 struct tcf_proto *tp, unsigned long base,
247 static int mall_delete(struct tcf_proto *tp, void *arg, bool *last,
257 static void mall_walk(struct tcf_proto *tp, struct tcf_walker *arg,
273 static int mall_reoffload(struct tcf_proto *t
[all...]
H A Dcls_fw.c40 struct tcf_proto *tp;
52 const struct tcf_proto *tp,
91 static void *fw_get(struct tcf_proto *tp, u32 handle)
107 static int fw_init(struct tcf_proto *tp)
132 static void fw_destroy(struct tcf_proto *tp, bool rtnl_held,
156 static int fw_delete(struct tcf_proto *tp, void *arg, bool *last,
201 static int fw_set_parms(struct net *net, struct tcf_proto *tp,
240 struct tcf_proto *tp, unsigned long base,
345 static void fw_walk(struct tcf_proto *tp, struct tcf_walker *arg,
368 static int fw_dump(struct net *net, struct tcf_proto *t
[all...]
H A Dcls_api.c55 const struct tcf_proto *tp;
77 tcf_exts_miss_cookie_base_alloc(struct tcf_exts *exts, struct tcf_proto *tp,
133 tcf_exts_miss_cookie_base_alloc(struct tcf_exts *exts, struct tcf_proto *tp,
172 static u32 destroy_obj_hashfn(const struct tcf_proto *tp)
179 struct tcf_proto *tp)
189 static bool tcf_proto_cmp(const struct tcf_proto *tp1,
190 const struct tcf_proto *tp2)
198 struct tcf_proto *tp)
201 struct tcf_proto *iter;
218 tcf_proto_signal_destroyed(struct tcf_chain *chain, struct tcf_proto *t
[all...]
H A Dcls_bpf.c50 struct tcf_proto *tp;
82 const struct tcf_proto *tp,
145 static int cls_bpf_offload_cmd(struct tcf_proto *tp, struct cls_bpf_prog *prog,
197 static int cls_bpf_offload(struct tcf_proto *tp, struct cls_bpf_prog *prog,
216 static void cls_bpf_stop_offload(struct tcf_proto *tp,
227 static void cls_bpf_offload_update_stats(struct tcf_proto *tp,
243 static int cls_bpf_init(struct tcf_proto *tp)
288 static void __cls_bpf_delete(struct tcf_proto *tp, struct cls_bpf_prog *prog,
303 static int cls_bpf_delete(struct tcf_proto *tp, void *arg, bool *last,
313 static void cls_bpf_destroy(struct tcf_proto *t
[all...]
H A Dcls_route.c56 struct tcf_proto *tp;
126 const struct tcf_proto *tp,
217 static void *route4_get(struct tcf_proto *tp, u32 handle)
243 static int route4_init(struct tcf_proto *tp)
277 static void route4_destroy(struct tcf_proto *tp, bool rtnl_held,
313 static int route4_delete(struct tcf_proto *tp, void *arg, bool *last,
383 static int route4_set_parms(struct net *net, struct tcf_proto *tp,
477 struct tcf_proto *tp, unsigned long base, u32 handle,
577 static void route4_walk(struct tcf_proto *tp, struct tcf_walker *arg,
604 static int route4_dump(struct net *net, struct tcf_proto *t
[all...]
H A Dcls_u32.c105 const struct tcf_proto *tp,
288 static void *u32_get(struct tcf_proto *tp, u32 handle)
321 static void *tc_u_common_ptr(const struct tcf_proto *tp)
352 static int u32_init(struct tcf_proto *tp)
387 /* root_ht must be destroyed when tcf_proto is destroyed */
452 static int u32_delete_key(struct tcf_proto *tp, struct tc_u_knode *key)
479 static void u32_clear_hw_hnode(struct tcf_proto *tp, struct tc_u_hnode *h,
494 static int u32_replace_hw_hnode(struct tcf_proto *tp, struct tc_u_hnode *h,
523 static void u32_remove_hw_knode(struct tcf_proto *tp, struct tc_u_knode *n,
537 static int u32_replace_hw_knode(struct tcf_proto *t
[all...]
H A Dcls_flow.c42 struct tcf_proto *tp;
297 const struct tcf_proto *tp,
390 struct tcf_proto *tp, unsigned long base,
568 static int flow_delete(struct tcf_proto *tp, void *arg, bool *last,
581 static int flow_init(struct tcf_proto *tp)
593 static void flow_destroy(struct tcf_proto *tp, bool rtnl_held,
609 static void *flow_get(struct tcf_proto *tp, u32 handle)
620 static int flow_dump(struct net *net, struct tcf_proto *tp, void *fh,
681 static void flow_walk(struct tcf_proto *tp, struct tcf_walker *arg,
H A Dact_simple.c62 struct tc_defact *p, struct tcf_proto *tp,
90 struct tcf_proto *tp, u32 flags,
H A Dematch.c169 static int tcf_em_validate(struct tcf_proto *tp,
305 int tcf_em_tree_validate(struct tcf_proto *tp, struct nlattr *nla,
H A Dcls_flower.c314 const struct tcf_proto *tp,
351 static int fl_init(struct tcf_proto *tp)
410 static struct cls_fl_head *fl_head_dereference(struct tcf_proto *tp)
413 * Users must obtain reference to tcf_proto instance before calling its
437 static void fl_hw_destroy_filter(struct tcf_proto *tp, struct cls_fl_filter *f,
452 static int fl_hw_replace_filter(struct tcf_proto *tp,
497 static void fl_hw_update_stats(struct tcf_proto *tp, struct cls_fl_filter *f,
538 static struct tcf_exts *fl_get_exts(const struct tcf_proto *tp, u32 handle)
547 static int __fl_delete(struct tcf_proto *tp, struct cls_fl_filter *f,
588 static void fl_destroy(struct tcf_proto *t
[all...]
H A Dsch_sfb.c54 struct tcf_proto __rcu *filter_list;
254 static bool sfb_classify(struct sk_buff *skb, struct tcf_proto *fl,
286 struct tcf_proto *fl;
H A Dsch_prio.c23 struct tcf_proto __rcu *filter_list;
36 struct tcf_proto *fl;
H A Dsch_multiq.c23 struct tcf_proto __rcu *filter_list;
35 struct tcf_proto *fl = rcu_dereference_bh(q->filter_list);
H A Dsch_drr.c33 struct tcf_proto __rcu *filter_list;
300 struct tcf_proto *fl;
H A Dsch_fq_pie.c56 struct tcf_proto __rcu *filter_list; /* optional external classifier */
85 struct tcf_proto *filter;
H A Dsch_ingress.c56 static void clsact_chain_head_change(struct tcf_proto *tp_head, void *priv)
H A Dact_gact.c55 struct tcf_proto *tp, u32 flags,
H A Dact_connmark.c100 struct tcf_proto *tp, u32 flags,
H A Dact_skbmod.c104 struct tcf_proto *tp, u32 flags,
/linux-master/include/net/
H A Dsch_generic.h330 const struct tcf_proto *goto_tp;
341 const struct tcf_proto *,
343 int (*init)(struct tcf_proto*);
344 void (*destroy)(struct tcf_proto *tp, bool rtnl_held,
347 void* (*get)(struct tcf_proto*, u32 handle);
348 void (*put)(struct tcf_proto *tp, void *f);
350 struct tcf_proto*, unsigned long,
354 int (*delete)(struct tcf_proto *tp, void *arg,
357 bool (*delete_empty)(struct tcf_proto *tp);
358 void (*walk)(struct tcf_proto *t
405 struct tcf_proto { struct
[all...]
H A Dpkt_cls.h22 int (*fn)(struct tcf_proto *, void *node, struct tcf_walker *);
40 struct tcf_proto __rcu *filter_chain;
52 struct tcf_proto *tcf_get_next_proto(struct tcf_chain *chain,
53 struct tcf_proto *tp);
56 struct tcf_proto __rcu **p_filter_chain, struct Qdisc *q,
65 int police, struct tcf_proto *tp, u32 handle, bool used_action_miss);
85 const struct tcf_proto *tp, struct tcf_result *res,
88 static inline bool tc_cls_stats_dump(struct tcf_proto *tp,
114 struct tcf_proto __rcu **p_filter_chain, struct Qdisc *q,
145 const struct tcf_proto *t
[all...]
H A Dact_api.h120 struct tcf_proto *tp,
209 int tcf_action_init(struct net *net, struct tcf_proto *tp, struct nlattr *nla,
215 struct tc_action *tcf_action_init_1(struct net *net, struct tcf_proto *tp,
265 int tcf_action_check_ctrlact(int action, struct tcf_proto *tp,
H A Dtc_wrapper.h140 const struct tcf_proto *tp, \
153 static inline int tc_classify(struct sk_buff *skb, const struct tcf_proto *tp,
220 static inline int tc_classify(struct sk_buff *skb, const struct tcf_proto *tp,

Completed in 191 milliseconds

12