| /Linux-v5.4/net/sched/ |
| D | cls_cgroup.c | 21 struct tcf_proto *tp; 25 static int cls_cgroup_classify(struct sk_buff *skb, const struct tcf_proto *tp, in cls_cgroup_classify() 44 static void *cls_cgroup_get(struct tcf_proto *tp, u32 handle) in cls_cgroup_get() 49 static int cls_cgroup_init(struct tcf_proto *tp) in cls_cgroup_init() 77 struct tcf_proto *tp, unsigned long base, in cls_cgroup_change() 132 static void cls_cgroup_destroy(struct tcf_proto *tp, bool rtnl_held, in cls_cgroup_destroy() 146 static int cls_cgroup_delete(struct tcf_proto *tp, void *arg, bool *last, in cls_cgroup_delete() 152 static void cls_cgroup_walk(struct tcf_proto *tp, struct tcf_walker *arg, in cls_cgroup_walk() 170 static int cls_cgroup_dump(struct net *net, struct tcf_proto *tp, void *fh, in cls_cgroup_dump()
|
| D | cls_matchall.c | 27 static int mall_classify(struct sk_buff *skb, const struct tcf_proto *tp, in mall_classify() 43 static int mall_init(struct tcf_proto *tp) in mall_init() 66 static void mall_destroy_hw_filter(struct tcf_proto *tp, in mall_destroy_hw_filter() 82 static int mall_replace_hw_filter(struct tcf_proto *tp, in mall_replace_hw_filter() 128 static void mall_destroy(struct tcf_proto *tp, bool rtnl_held, in mall_destroy() 147 static void *mall_get(struct tcf_proto *tp, u32 handle) in mall_get() 162 static int mall_set_parms(struct net *net, struct tcf_proto *tp, in mall_set_parms() 183 struct tcf_proto *tp, unsigned long base, in mall_change() 258 static int mall_delete(struct tcf_proto *tp, void *arg, bool *last, in mall_delete() 268 static void mall_walk(struct tcf_proto *tp, struct tcf_walker *arg, in mall_walk() [all …]
|
| D | cls_basic.c | 33 struct tcf_proto *tp; 39 static int basic_classify(struct sk_buff *skb, const struct tcf_proto *tp, in basic_classify() 60 static void *basic_get(struct tcf_proto *tp, u32 handle) in basic_get() 74 static int basic_init(struct tcf_proto *tp) in basic_init() 106 static void basic_destroy(struct tcf_proto *tp, bool rtnl_held, in basic_destroy() 125 static int basic_delete(struct tcf_proto *tp, void *arg, bool *last, in basic_delete() 145 static int basic_set_parms(struct net *net, struct tcf_proto *tp, in basic_set_parms() 171 struct tcf_proto *tp, unsigned long base, u32 handle, in basic_change() 247 static void basic_walk(struct tcf_proto *tp, struct tcf_walker *arg, in basic_walk() 274 static int basic_dump(struct net *net, struct tcf_proto *tp, void *fh, in basic_dump()
|
| D | cls_bpf.c | 49 struct tcf_proto *tp; 80 static int cls_bpf_classify(struct sk_buff *skb, const struct tcf_proto *tp, in cls_bpf_classify() 144 static int cls_bpf_offload_cmd(struct tcf_proto *tp, struct cls_bpf_prog *prog, in cls_bpf_offload_cmd() 196 static int cls_bpf_offload(struct tcf_proto *tp, struct cls_bpf_prog *prog, in cls_bpf_offload() 215 static void cls_bpf_stop_offload(struct tcf_proto *tp, in cls_bpf_stop_offload() 226 static void cls_bpf_offload_update_stats(struct tcf_proto *tp, in cls_bpf_offload_update_stats() 242 static int cls_bpf_init(struct tcf_proto *tp) in cls_bpf_init() 287 static void __cls_bpf_delete(struct tcf_proto *tp, struct cls_bpf_prog *prog, in __cls_bpf_delete() 302 static int cls_bpf_delete(struct tcf_proto *tp, void *arg, bool *last, in cls_bpf_delete() 312 static void cls_bpf_destroy(struct tcf_proto *tp, bool rtnl_held, in cls_bpf_destroy() [all …]
|
| D | cls_api.c | 51 static u32 destroy_obj_hashfn(const struct tcf_proto *tp) in destroy_obj_hashfn() 58 struct tcf_proto *tp) in tcf_proto_signal_destroying() 68 static bool tcf_proto_cmp(const struct tcf_proto *tp1, in tcf_proto_cmp() 69 const struct tcf_proto *tp2) in tcf_proto_cmp() 77 struct tcf_proto *tp) in tcf_proto_exists_destroying() 80 struct tcf_proto *iter; in tcf_proto_exists_destroying() 97 tcf_proto_signal_destroyed(struct tcf_chain *chain, struct tcf_proto *tp) in tcf_proto_signal_destroyed() 212 static inline u32 tcf_auto_prio(struct tcf_proto *tp) in tcf_auto_prio() 250 static struct tcf_proto *tcf_proto_create(const char *kind, u32 protocol, in tcf_proto_create() 255 struct tcf_proto *tp; in tcf_proto_create() [all …]
|
| D | cls_fw.c | 39 struct tcf_proto *tp; 50 static int fw_classify(struct sk_buff *skb, const struct tcf_proto *tp, in fw_classify() 89 static void *fw_get(struct tcf_proto *tp, u32 handle) in fw_get() 105 static int fw_init(struct tcf_proto *tp) in fw_init() 130 static void fw_destroy(struct tcf_proto *tp, bool rtnl_held, in fw_destroy() 154 static int fw_delete(struct tcf_proto *tp, void *arg, bool *last, in fw_delete() 199 static int fw_set_parms(struct net *net, struct tcf_proto *tp, in fw_set_parms() 238 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() 375 static int fw_dump(struct net *net, struct tcf_proto *tp, void *fh, in fw_dump()
|
| D | cls_route.c | 55 struct tcf_proto *tp; 124 static int route4_classify(struct sk_buff *skb, const struct tcf_proto *tp, in route4_classify() 215 static void *route4_get(struct tcf_proto *tp, u32 handle) in route4_get() 241 static int route4_init(struct tcf_proto *tp) in route4_init() 275 static void route4_destroy(struct tcf_proto *tp, bool rtnl_held, in route4_destroy() 311 static int route4_delete(struct tcf_proto *tp, void *arg, bool *last, in route4_delete() 381 static int route4_set_parms(struct net *net, struct tcf_proto *tp, in route4_set_parms() 466 struct tcf_proto *tp, unsigned long base, u32 handle, in route4_change() 561 static void route4_walk(struct tcf_proto *tp, struct tcf_walker *arg, in route4_walk() 595 static int route4_dump(struct net *net, struct tcf_proto *tp, void *fh, in route4_dump()
|
| D | cls_u32.c | 103 static int u32_classify(struct sk_buff *skb, const struct tcf_proto *tp, in u32_classify() 286 static void *u32_get(struct tcf_proto *tp, u32 handle) in u32_get() 319 static void *tc_u_common_ptr(const struct tcf_proto *tp) in tc_u_common_ptr() 350 static int u32_init(struct tcf_proto *tp) in u32_init() 444 static int u32_delete_key(struct tcf_proto *tp, struct tc_u_knode *key) in u32_delete_key() 471 static void u32_clear_hw_hnode(struct tcf_proto *tp, struct tc_u_hnode *h, in u32_clear_hw_hnode() 486 static int u32_replace_hw_hnode(struct tcf_proto *tp, struct tc_u_hnode *h, in u32_replace_hw_hnode() 515 static void u32_remove_hw_knode(struct tcf_proto *tp, struct tc_u_knode *n, in u32_remove_hw_knode() 529 static int u32_replace_hw_knode(struct tcf_proto *tp, struct tc_u_knode *n, in u32_replace_hw_knode() 568 static void u32_clear_hnode(struct tcf_proto *tp, struct tc_u_hnode *ht, in u32_clear_hnode() [all …]
|
| D | cls_rsvp.h | 127 static int rsvp_classify(struct sk_buff *skb, const struct tcf_proto *tp, in rsvp_classify() 220 static void rsvp_replace(struct tcf_proto *tp, struct rsvp_filter *n, u32 h) in rsvp_replace() 247 static void *rsvp_get(struct tcf_proto *tp, u32 handle) in rsvp_get() 269 static int rsvp_init(struct tcf_proto *tp) in rsvp_init() 298 static void rsvp_delete_filter(struct tcf_proto *tp, struct rsvp_filter *f) in rsvp_delete_filter() 311 static void rsvp_destroy(struct tcf_proto *tp, bool rtnl_held, in rsvp_destroy() 340 static int rsvp_delete(struct tcf_proto *tp, void *arg, bool *last, in rsvp_delete() 391 static unsigned int gen_handle(struct tcf_proto *tp, unsigned salt) in gen_handle() 474 struct tcf_proto *tp, unsigned long base, in rsvp_change() 658 static void rsvp_walk(struct tcf_proto *tp, struct tcf_walker *arg, in rsvp_walk() [all …]
|
| D | cls_tcindex.c | 46 struct tcf_proto *tp; 83 static int tcindex_classify(struct sk_buff *skb, const struct tcf_proto *tp, in tcindex_classify() 111 static void *tcindex_get(struct tcf_proto *tp, u32 handle) in tcindex_get() 123 static int tcindex_init(struct tcf_proto *tp) in tcindex_init() 176 static int tcindex_delete(struct tcf_proto *tp, void *arg, bool *last, in tcindex_delete() 301 tcindex_set_parms(struct net *net, struct tcf_proto *tp, unsigned long base, in tcindex_set_parms() 497 struct tcf_proto *tp, unsigned long base, u32 handle, in tcindex_change() 523 static void tcindex_walk(struct tcf_proto *tp, struct tcf_walker *walker, in tcindex_walk() 560 static void tcindex_destroy(struct tcf_proto *tp, bool rtnl_held, in tcindex_destroy() 595 static int tcindex_dump(struct net *net, struct tcf_proto *tp, void *fh, in tcindex_dump()
|
| D | cls_flow.c | 41 struct tcf_proto *tp; 295 static int flow_classify(struct sk_buff *skb, const struct tcf_proto *tp, in flow_classify() 388 struct tcf_proto *tp, unsigned long base, in flow_change() 566 static int flow_delete(struct tcf_proto *tp, void *arg, bool *last, in flow_delete() 579 static int flow_init(struct tcf_proto *tp) in flow_init() 591 static void flow_destroy(struct tcf_proto *tp, bool rtnl_held, in flow_destroy() 607 static void *flow_get(struct tcf_proto *tp, u32 handle) in flow_get() 618 static int flow_dump(struct net *net, struct tcf_proto *tp, void *fh, in flow_dump() 679 static void flow_walk(struct tcf_proto *tp, struct tcf_walker *arg, in flow_walk()
|
| D | cls_flower.c | 291 static int fl_classify(struct sk_buff *skb, const struct tcf_proto *tp, in fl_classify() 325 static int fl_init(struct tcf_proto *tp) in fl_init() 384 static struct cls_fl_head *fl_head_dereference(struct tcf_proto *tp) in fl_head_dereference() 409 static void fl_hw_destroy_filter(struct tcf_proto *tp, struct cls_fl_filter *f, in fl_hw_destroy_filter() 424 static int fl_hw_replace_filter(struct tcf_proto *tp, in fl_hw_replace_filter() 472 static void fl_hw_update_stats(struct tcf_proto *tp, struct cls_fl_filter *f, in fl_hw_update_stats() 515 static int __fl_delete(struct tcf_proto *tp, struct cls_fl_filter *f, in __fl_delete() 556 static void fl_destroy(struct tcf_proto *tp, bool rtnl_held, in fl_destroy() 577 static void fl_put(struct tcf_proto *tp, void *arg) in fl_put() 584 static void *fl_get(struct tcf_proto *tp, u32 handle) in fl_get() [all …]
|
| D | act_simple.c | 60 struct tc_defact *p, struct tcf_proto *tp, in reset_policy() 89 struct tcf_proto *tp, struct netlink_ext_ack *extack) in tcf_simp_init()
|
| D | act_ipt.c | 98 struct tcf_proto *tp) in __tcf_ipt_init() 207 int bind, bool rtnl_held, struct tcf_proto *tp, in tcf_ipt_init() 216 int bind, bool unlocked, struct tcf_proto *tp, in tcf_xt_init()
|
| D | ematch.c | 169 static int tcf_em_validate(struct tcf_proto *tp, in tcf_em_validate() 300 int tcf_em_tree_validate(struct tcf_proto *tp, struct nlattr *nla, in tcf_em_tree_validate()
|
| D | sch_multiq.c | 23 struct tcf_proto __rcu *filter_list; 35 struct tcf_proto *fl = rcu_dereference_bh(q->filter_list); in multiq_classify()
|
| D | sch_sfb.c | 54 struct tcf_proto __rcu *filter_list; 254 static bool sfb_classify(struct sk_buff *skb, struct tcf_proto *fl, in sfb_classify() 285 struct tcf_proto *fl; in sfb_enqueue()
|
| D | sch_prio.c | 23 struct tcf_proto __rcu *filter_list; 36 struct tcf_proto *fl; in prio_classify()
|
| D | sch_drr.c | 34 struct tcf_proto __rcu *filter_list; 308 struct tcf_proto *fl; in drr_classify()
|
| D | sch_dsmark.c | 47 struct tcf_proto __rcu *filter_list; 243 struct tcf_proto *fl = rcu_dereference_bh(p->filter_list); in dsmark_enqueue()
|
| D | sch_ingress.c | 55 static void clsact_chain_head_change(struct tcf_proto *tp_head, void *priv) in clsact_chain_head_change()
|
| D | act_connmark.c | 97 struct tcf_proto *tp, in tcf_connmark_init()
|
| /Linux-v5.4/include/net/ |
| D | pkt_cls.h | 22 int (*fn)(struct tcf_proto *, void *node, struct tcf_walker *); 44 struct tcf_proto *tcf_get_next_proto(struct tcf_chain *chain, 45 struct tcf_proto *tp, bool rtnl_held); 48 struct tcf_proto __rcu **p_filter_chain, struct Qdisc *q, 73 int tcf_classify(struct sk_buff *skb, const struct tcf_proto *tp, 89 struct tcf_proto __rcu **p_filter_chain, struct Qdisc *q, in tcf_block_get() 131 static inline int tcf_classify(struct sk_buff *skb, const struct tcf_proto *tp, in tcf_classify() 156 tcf_bind_filter(struct tcf_proto *tp, struct tcf_result *r, unsigned long base) in tcf_bind_filter() 173 tcf_unbind_filter(struct tcf_proto *tp, struct tcf_result *r) in tcf_unbind_filter() 300 int tcf_exts_validate(struct net *net, struct tcf_proto *tp, [all …]
|
| D | sch_generic.h | 278 const struct tcf_proto *goto_tp; 295 const struct tcf_proto *, 297 int (*init)(struct tcf_proto*); 298 void (*destroy)(struct tcf_proto *tp, bool rtnl_held, 301 void* (*get)(struct tcf_proto*, u32 handle); 302 void (*put)(struct tcf_proto *tp, void *f); 304 struct tcf_proto*, unsigned long, 308 int (*delete)(struct tcf_proto *tp, void *arg, 311 void (*walk)(struct tcf_proto *tp, 313 int (*reoffload)(struct tcf_proto *tp, bool add, [all …]
|
| D | act_api.h | 96 int bind, bool rtnl_held, struct tcf_proto *tp, 176 int tcf_action_init(struct net *net, struct tcf_proto *tp, struct nlattr *nla, 180 struct tc_action *tcf_action_init_1(struct net *net, struct tcf_proto *tp, 191 int tcf_action_check_ctrlact(int action, struct tcf_proto *tp,
|