Home
last modified time | relevance | path

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

12

/linux/net/sched/
A Dcls_cgroup.c22 struct tcf_proto *tp;
27 const struct tcf_proto *tp, in cls_cgroup_classify()
46 static void *cls_cgroup_get(struct tcf_proto *tp, u32 handle) in cls_cgroup_get()
51 static int cls_cgroup_init(struct tcf_proto *tp) in cls_cgroup_init()
79 struct tcf_proto *tp, unsigned long base, in cls_cgroup_change()
134 static void cls_cgroup_destroy(struct tcf_proto *tp, bool rtnl_held, in cls_cgroup_destroy()
148 static int cls_cgroup_delete(struct tcf_proto *tp, void *arg, bool *last, in cls_cgroup_delete()
154 static void cls_cgroup_walk(struct tcf_proto *tp, struct tcf_walker *arg, in cls_cgroup_walk()
172 static int cls_cgroup_dump(struct net *net, struct tcf_proto *tp, void *fh, in cls_cgroup_dump()
A Dcls_matchall.c29 const struct tcf_proto *tp, in mall_classify()
45 static int mall_init(struct tcf_proto *tp) in mall_init()
68 static void mall_destroy_hw_filter(struct tcf_proto *tp, in mall_destroy_hw_filter()
84 static int mall_replace_hw_filter(struct tcf_proto *tp, in mall_replace_hw_filter()
127 static void mall_destroy(struct tcf_proto *tp, bool rtnl_held, in mall_destroy()
146 static void *mall_get(struct tcf_proto *tp, u32 handle) in mall_get()
163 struct tcf_proto *tp, unsigned long base, in mall_change()
247 static int mall_delete(struct tcf_proto *tp, void *arg, bool *last, in mall_delete()
257 static void mall_walk(struct tcf_proto *tp, struct tcf_walker *arg, in mall_walk()
310 static void mall_stats_hw_filter(struct tcf_proto *tp, in mall_stats_hw_filter()
[all …]
A Dcls_basic.c34 struct tcf_proto *tp;
41 const struct tcf_proto *tp, in basic_classify()
62 static void *basic_get(struct tcf_proto *tp, u32 handle) in basic_get()
76 static int basic_init(struct tcf_proto *tp) in basic_init()
108 static void basic_destroy(struct tcf_proto *tp, bool rtnl_held, in basic_destroy()
127 static int basic_delete(struct tcf_proto *tp, void *arg, bool *last, in basic_delete()
147 static int basic_set_parms(struct net *net, struct tcf_proto *tp, in basic_set_parms()
173 struct tcf_proto *tp, unsigned long base, u32 handle, in basic_change()
249 static void basic_walk(struct tcf_proto *tp, struct tcf_walker *arg, in basic_walk()
269 static int basic_dump(struct net *net, struct tcf_proto *tp, void *fh, in basic_dump()
A Dcls_bpf.c50 struct tcf_proto *tp;
82 const struct tcf_proto *tp, in cls_bpf_classify()
216 static void cls_bpf_stop_offload(struct tcf_proto *tp, in cls_bpf_stop_offload()
227 static void cls_bpf_offload_update_stats(struct tcf_proto *tp, in cls_bpf_offload_update_stats()
243 static int cls_bpf_init(struct tcf_proto *tp) in cls_bpf_init()
303 static int cls_bpf_delete(struct tcf_proto *tp, void *arg, bool *last, in cls_bpf_delete()
313 static void cls_bpf_destroy(struct tcf_proto *tp, bool rtnl_held, in cls_bpf_destroy()
326 static void *cls_bpf_get(struct tcf_proto *tp, u32 handle) in cls_bpf_get()
377 u32 gen_flags, const struct tcf_proto *tp) in cls_bpf_prog_from_efd()
410 struct tcf_proto *tp, unsigned long base, in cls_bpf_change()
[all …]
A Dcls_api.c55 const struct tcf_proto *tp;
179 struct tcf_proto *tp) in tcf_proto_signal_destroying()
198 struct tcf_proto *tp) in tcf_proto_exists_destroying()
201 struct tcf_proto *iter; in tcf_proto_exists_destroying()
377 struct tcf_proto *tp; in tcf_proto_create()
1156 struct tcf_proto *
1949 struct tcf_proto *tp; in tcf_chain_tp_insert_unique()
2024 struct tcf_proto *tp; in tcf_chain_tp_find()
2189 struct tcf_proto *tp; in tfilter_notify_chain()
2224 struct tcf_proto *tp; in tc_new_tfilter()
[all …]
A Dcls_fw.c40 struct tcf_proto *tp;
52 const struct tcf_proto *tp, in fw_classify()
91 static void *fw_get(struct tcf_proto *tp, u32 handle) in fw_get()
107 static int fw_init(struct tcf_proto *tp) in fw_init()
132 static void fw_destroy(struct tcf_proto *tp, bool rtnl_held, in fw_destroy()
156 static int fw_delete(struct tcf_proto *tp, void *arg, bool *last, in fw_delete()
201 static int fw_set_parms(struct net *net, struct tcf_proto *tp, in fw_set_parms()
240 struct tcf_proto *tp, unsigned long base, in fw_change()
345 static void fw_walk(struct tcf_proto *tp, struct tcf_walker *arg, in fw_walk()
368 static int fw_dump(struct net *net, struct tcf_proto *tp, void *fh, in fw_dump()
A Dcls_u32.c115 const struct tcf_proto *tp, in u32_classify()
298 static void *u32_get(struct tcf_proto *tp, u32 handle) in u32_get()
331 static void *tc_u_common_ptr(const struct tcf_proto *tp) in tc_u_common_ptr()
362 static int u32_init(struct tcf_proto *tp) in u32_init()
462 static int u32_delete_key(struct tcf_proto *tp, struct tc_u_knode *key) in u32_delete_key()
635 static void u32_destroy(struct tcf_proto *tp, bool rtnl_held, in u32_destroy()
669 static int u32_delete(struct tcf_proto *tp, void *arg, bool *last, in u32_delete()
741 static int u32_set_parms(struct net *net, struct tcf_proto *tp, in u32_set_parms()
871 struct tcf_proto *tp, unsigned long base, u32 handle, in u32_change()
1199 static void u32_walk(struct tcf_proto *tp, struct tcf_walker *arg, in u32_walk()
[all …]
A Dcls_route.c56 struct tcf_proto *tp;
126 const struct tcf_proto *tp, in route4_classify()
217 static void *route4_get(struct tcf_proto *tp, u32 handle) in route4_get()
243 static int route4_init(struct tcf_proto *tp) in route4_init()
277 static void route4_destroy(struct tcf_proto *tp, bool rtnl_held, in route4_destroy()
313 static int route4_delete(struct tcf_proto *tp, void *arg, bool *last, in route4_delete()
383 static int route4_set_parms(struct net *net, struct tcf_proto *tp, in route4_set_parms()
477 struct tcf_proto *tp, unsigned long base, u32 handle, in route4_change()
577 static void route4_walk(struct tcf_proto *tp, struct tcf_walker *arg, in route4_walk()
604 static int route4_dump(struct net *net, struct tcf_proto *tp, void *fh, in route4_dump()
A Dcls_flow.c42 struct tcf_proto *tp;
297 const struct tcf_proto *tp, in flow_classify()
390 struct tcf_proto *tp, unsigned long base, in flow_change()
568 static int flow_delete(struct tcf_proto *tp, void *arg, bool *last, in flow_delete()
581 static int flow_init(struct tcf_proto *tp) in flow_init()
593 static void flow_destroy(struct tcf_proto *tp, bool rtnl_held, in flow_destroy()
609 static void *flow_get(struct tcf_proto *tp, u32 handle) in flow_get()
620 static int flow_dump(struct net *net, struct tcf_proto *tp, void *fh, in flow_dump()
681 static void flow_walk(struct tcf_proto *tp, struct tcf_walker *arg, in flow_walk()
A Dact_simple.c62 struct tc_defact *p, struct tcf_proto *tp, in reset_policy()
90 struct tcf_proto *tp, u32 flags, in tcf_simp_init()
A Dcls_flower.c325 const struct tcf_proto *tp, in fl_classify()
362 static int fl_init(struct tcf_proto *tp) in fl_init()
421 static struct cls_fl_head *fl_head_dereference(struct tcf_proto *tp) in fl_head_dereference()
463 static int fl_hw_replace_filter(struct tcf_proto *tp, in fl_hw_replace_filter()
599 static void fl_destroy(struct tcf_proto *tp, bool rtnl_held, in fl_destroy()
620 static void fl_put(struct tcf_proto *tp, void *arg) in fl_put()
627 static void *fl_get(struct tcf_proto *tp, u32 handle) in fl_get()
2357 struct tcf_proto *tp, unsigned long base, in fl_change()
2740 static void fl_hw_add(struct tcf_proto *tp, void *type_data) in fl_hw_add()
2752 static void fl_hw_del(struct tcf_proto *tp, void *type_data) in fl_hw_del()
[all …]
A Dematch.c169 static int tcf_em_validate(struct tcf_proto *tp, in tcf_em_validate()
305 int tcf_em_tree_validate(struct tcf_proto *tp, struct nlattr *nla, in tcf_em_tree_validate()
A Dsch_multiq.c23 struct tcf_proto __rcu *filter_list;
35 struct tcf_proto *fl = rcu_dereference_bh(q->filter_list); in multiq_classify()
A Dsch_sfb.c54 struct tcf_proto __rcu *filter_list;
254 static bool sfb_classify(struct sk_buff *skb, struct tcf_proto *fl, in sfb_classify()
286 struct tcf_proto *fl; in sfb_enqueue()
A Dsch_prio.c23 struct tcf_proto __rcu *filter_list;
36 struct tcf_proto *fl; in prio_classify()
A Dsch_drr.c33 struct tcf_proto __rcu *filter_list;
300 struct tcf_proto *fl; in drr_classify()
A Dsch_fq_pie.c56 struct tcf_proto __rcu *filter_list; /* optional external classifier */
85 struct tcf_proto *filter; in fq_pie_classify()
A Dact_connmark.c100 struct tcf_proto *tp, u32 flags, in tcf_connmark_init()
A Dact_skbmod.c104 struct tcf_proto *tp, u32 flags, in tcf_skbmod_init()
A Dsch_ingress.c56 static void clsact_chain_head_change(struct tcf_proto *tp_head, void *priv) in clsact_chain_head_change()
A Dact_gact.c55 struct tcf_proto *tp, u32 flags, in tcf_gact_init()
/linux/include/net/
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,
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()
123 struct tcf_proto __rcu **p_filter_chain, struct Qdisc *q, in tcf_block_get()
154 const struct tcf_proto *tp, in tcf_classify()
204 tcf_unbind_filter(struct tcf_proto *tp, struct tcf_result *r) in tcf_unbind_filter()
[all …]
A Dsch_generic.h331 const struct tcf_proto *goto_tp;
342 const struct tcf_proto *,
344 int (*init)(struct tcf_proto*);
351 struct tcf_proto*, unsigned long,
359 void (*walk)(struct tcf_proto *tp,
406 struct tcf_proto { struct
408 struct tcf_proto __rcu *next; argument
413 const struct tcf_proto *, argument
448 struct tcf_proto __rcu *filter_chain;
1318 struct tcf_proto *filter_list;
[all …]
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,
A Dtc_wrapper.h140 const struct tcf_proto *tp, \
153 static inline int tc_classify(struct sk_buff *skb, const struct tcf_proto *tp, in tc_classify()
220 static inline int tc_classify(struct sk_buff *skb, const struct tcf_proto *tp, in tc_classify()

Completed in 58 milliseconds

12