/Linux-v4.19/net/sched/ |
D | cls_cgroup.c | 25 struct tcf_proto *tp; 29 static int cls_cgroup_classify(struct sk_buff *skb, 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() 133 static void cls_cgroup_destroy(struct tcf_proto *tp, in cls_cgroup_destroy() 147 static int cls_cgroup_delete(struct tcf_proto *tp, void *arg, bool *last, in cls_cgroup_delete() 153 static void cls_cgroup_walk(struct tcf_proto *tp, struct tcf_walker *arg) in cls_cgroup_walk() 168 static int cls_cgroup_dump(struct net *net, struct tcf_proto *tp, void *fh, in cls_cgroup_dump()
|
D | cls_matchall.c | 28 static int mall_classify(struct sk_buff *skb, const struct tcf_proto *tp, in mall_classify() 40 static int mall_init(struct tcf_proto *tp) in mall_init() 62 static void mall_destroy_hw_filter(struct tcf_proto *tp, in mall_destroy_hw_filter() 78 static int mall_replace_hw_filter(struct tcf_proto *tp, in mall_replace_hw_filter() 109 static void mall_destroy(struct tcf_proto *tp, struct netlink_ext_ack *extack) in mall_destroy() 127 static void *mall_get(struct tcf_proto *tp, u32 handle) in mall_get() 137 static int mall_set_parms(struct net *net, struct tcf_proto *tp, in mall_set_parms() 157 struct tcf_proto *tp, unsigned long base, in mall_change() 224 static int mall_delete(struct tcf_proto *tp, void *arg, bool *last, in mall_delete() 230 static void mall_walk(struct tcf_proto *tp, struct tcf_walker *arg) in mall_walk() [all …]
|
D | cls_basic.c | 36 struct tcf_proto *tp; 41 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() 105 static void basic_destroy(struct tcf_proto *tp, struct netlink_ext_ack *extack) in basic_destroy() 123 static int basic_delete(struct tcf_proto *tp, void *arg, bool *last, in basic_delete() 143 static int basic_set_parms(struct net *net, struct tcf_proto *tp, in basic_set_parms() 169 struct tcf_proto *tp, unsigned long base, u32 handle, in basic_change() 239 static void basic_walk(struct tcf_proto *tp, struct tcf_walker *arg) in basic_walk() 265 static int basic_dump(struct net *net, struct tcf_proto *tp, void *fh, in basic_dump()
|
D | cls_bpf.c | 52 struct tcf_proto *tp; 83 static int cls_bpf_classify(struct sk_buff *skb, const struct tcf_proto *tp, in cls_bpf_classify() 147 static int cls_bpf_offload_cmd(struct tcf_proto *tp, struct cls_bpf_prog *prog, in cls_bpf_offload_cmd() 194 static int cls_bpf_offload(struct tcf_proto *tp, struct cls_bpf_prog *prog, in cls_bpf_offload() 213 static void cls_bpf_stop_offload(struct tcf_proto *tp, in cls_bpf_stop_offload() 224 static void cls_bpf_offload_update_stats(struct tcf_proto *tp, in cls_bpf_offload_update_stats() 240 static int cls_bpf_init(struct tcf_proto *tp) in cls_bpf_init() 285 static void __cls_bpf_delete(struct tcf_proto *tp, struct cls_bpf_prog *prog, in __cls_bpf_delete() 300 static int cls_bpf_delete(struct tcf_proto *tp, void *arg, bool *last, in cls_bpf_delete() 310 static void cls_bpf_destroy(struct tcf_proto *tp, in cls_bpf_destroy() [all …]
|
D | cls_fw.c | 49 struct tcf_proto *tp; 60 static int fw_classify(struct sk_buff *skb, const struct tcf_proto *tp, in fw_classify() 101 static void *fw_get(struct tcf_proto *tp, u32 handle) in fw_get() 117 static int fw_init(struct tcf_proto *tp) in fw_init() 142 static void fw_destroy(struct tcf_proto *tp, struct netlink_ext_ack *extack) in fw_destroy() 165 static int fw_delete(struct tcf_proto *tp, void *arg, bool *last, in fw_delete() 210 static int fw_set_parms(struct net *net, struct tcf_proto *tp, in fw_set_parms() 251 struct tcf_proto *tp, unsigned long base, in fw_change() 357 static void fw_walk(struct tcf_proto *tp, struct tcf_walker *arg) in fw_walk() 386 static int fw_dump(struct net *net, struct tcf_proto *tp, void *fh, in fw_dump()
|
D | cls_u32.c | 71 struct tcf_proto *tp; 113 static int u32_classify(struct sk_buff *skb, 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() 347 static unsigned int tc_u_hash(const struct tcf_proto *tp) in tc_u_hash() 352 static struct tc_u_common *tc_u_common_find(const struct tcf_proto *tp) in tc_u_common_find() 365 static int u32_init(struct tcf_proto *tp) in u32_init() 407 static int u32_destroy_key(struct tcf_proto *tp, struct tc_u_knode *n, in u32_destroy_key() 463 static int u32_delete_key(struct tcf_proto *tp, struct tc_u_knode *key) in u32_delete_key() 488 static void u32_clear_hw_hnode(struct tcf_proto *tp, struct tc_u_hnode *h, in u32_clear_hw_hnode() [all …]
|
D | cls_api.c | 144 static inline u32 tcf_auto_prio(struct tcf_proto *tp) in tcf_auto_prio() 154 static struct tcf_proto *tcf_proto_create(const char *kind, u32 protocol, in tcf_proto_create() 158 struct tcf_proto *tp; in tcf_proto_create() 187 static void tcf_proto_destroy(struct tcf_proto *tp, in tcf_proto_destroy() 219 struct tcf_proto *tp_head) in tcf_chain_head_change_item() 226 struct tcf_proto *tp_head) in tcf_chain0_head_change() 357 struct tcf_proto *tp = rtnl_dereference(chain->filter_chain); in tcf_chain_flush() 725 static void tcf_chain_head_change_dflt(struct tcf_proto *tp_head, void *priv) in tcf_chain_head_change_dflt() 727 struct tcf_proto __rcu **p_filter_chain = priv; in tcf_chain_head_change_dflt() 733 struct tcf_proto __rcu **p_filter_chain, struct Qdisc *q, in tcf_block_get() [all …]
|
D | cls_route.c | 59 struct tcf_proto *tp; 128 static int route4_classify(struct sk_buff *skb, const struct tcf_proto *tp, in route4_classify() 219 static void *route4_get(struct tcf_proto *tp, u32 handle) in route4_get() 245 static int route4_init(struct tcf_proto *tp) in route4_init() 279 static void route4_destroy(struct tcf_proto *tp, struct netlink_ext_ack *extack) in route4_destroy() 314 static int route4_delete(struct tcf_proto *tp, void *arg, bool *last, in route4_delete() 384 static int route4_set_parms(struct net *net, struct tcf_proto *tp, in route4_set_parms() 469 struct tcf_proto *tp, unsigned long base, u32 handle, in route4_change() 563 static void route4_walk(struct tcf_proto *tp, struct tcf_walker *arg) in route4_walk() 599 static int route4_dump(struct net *net, struct tcf_proto *tp, void *fh, in route4_dump()
|
D | cls_tcindex.c | 45 struct tcf_proto *tp; 82 static int tcindex_classify(struct sk_buff *skb, const struct tcf_proto *tp, in tcindex_classify() 110 static void *tcindex_get(struct tcf_proto *tp, u32 handle) in tcindex_get() 122 static int tcindex_init(struct tcf_proto *tp) in tcindex_init() 175 static int tcindex_delete(struct tcf_proto *tp, void *arg, bool *last, in tcindex_delete() 224 static int tcindex_destroy_element(struct tcf_proto *tp, in tcindex_destroy_element() 302 tcindex_set_parms(struct net *net, struct tcf_proto *tp, unsigned long base, in tcindex_set_parms() 500 struct tcf_proto *tp, unsigned long base, u32 handle, in tcindex_change() 525 static void tcindex_walk(struct tcf_proto *tp, struct tcf_walker *walker) in tcindex_walk() 561 static void tcindex_destroy(struct tcf_proto *tp, in tcindex_destroy() [all …]
|
D | cls_rsvp.h | 131 static int rsvp_classify(struct sk_buff *skb, const struct tcf_proto *tp, in rsvp_classify() 224 static void rsvp_replace(struct tcf_proto *tp, struct rsvp_filter *n, u32 h) in rsvp_replace() 251 static void *rsvp_get(struct tcf_proto *tp, u32 handle) in rsvp_get() 273 static int rsvp_init(struct tcf_proto *tp) in rsvp_init() 302 static void rsvp_delete_filter(struct tcf_proto *tp, struct rsvp_filter *f) in rsvp_delete_filter() 315 static void rsvp_destroy(struct tcf_proto *tp, struct netlink_ext_ack *extack) in rsvp_destroy() 343 static int rsvp_delete(struct tcf_proto *tp, void *arg, bool *last, in rsvp_delete() 394 static unsigned int gen_handle(struct tcf_proto *tp, unsigned salt) in gen_handle() 477 struct tcf_proto *tp, unsigned long base, in rsvp_change() 657 static void rsvp_walk(struct tcf_proto *tp, struct tcf_walker *arg) in rsvp_walk() [all …]
|
D | cls_flow.c | 45 struct tcf_proto *tp; 299 static int flow_classify(struct sk_buff *skb, const struct tcf_proto *tp, in flow_classify() 392 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, struct netlink_ext_ack *extack) in flow_destroy() 608 static void *flow_get(struct tcf_proto *tp, u32 handle) in flow_get() 619 static int flow_dump(struct net *net, struct tcf_proto *tp, void *fh, in flow_dump() 680 static void flow_walk(struct tcf_proto *tp, struct tcf_walker *arg) in flow_walk()
|
D | cls_flower.c | 189 static int fl_classify(struct sk_buff *skb, const struct tcf_proto *tp, in fl_classify() 220 static int fl_init(struct tcf_proto *tp) in fl_init() 282 static void fl_hw_destroy_filter(struct tcf_proto *tp, struct cls_fl_filter *f, in fl_hw_destroy_filter() 297 static int fl_hw_replace_filter(struct tcf_proto *tp, in fl_hw_replace_filter() 331 static void fl_hw_update_stats(struct tcf_proto *tp, struct cls_fl_filter *f) in fl_hw_update_stats() 346 static bool __fl_delete(struct tcf_proto *tp, struct cls_fl_filter *f, in __fl_delete() 378 static void fl_destroy(struct tcf_proto *tp, struct netlink_ext_ack *extack) in fl_destroy() 396 static void *fl_get(struct tcf_proto *tp, u32 handle) in fl_get() 1126 static int fl_set_parms(struct net *net, struct tcf_proto *tp, in fl_set_parms() 1160 struct tcf_proto *tp, unsigned long base, in fl_change() [all …]
|
D | ematch.c | 173 static int tcf_em_validate(struct tcf_proto *tp, in tcf_em_validate() 304 int tcf_em_tree_validate(struct tcf_proto *tp, struct nlattr *nla, in tcf_em_tree_validate()
|
D | sch_multiq.c | 34 struct tcf_proto __rcu *filter_list; 46 struct tcf_proto *fl = rcu_dereference_bh(q->filter_list); in multiq_classify()
|
D | sch_sfb.c | 58 struct tcf_proto __rcu *filter_list; 257 static bool sfb_classify(struct sk_buff *skb, struct tcf_proto *fl, in sfb_classify() 288 struct tcf_proto *fl; in sfb_enqueue()
|
D | sch_prio.c | 27 struct tcf_proto __rcu *filter_list; 40 struct tcf_proto *fl; in prio_classify()
|
D | sch_drr.c | 37 struct tcf_proto __rcu *filter_list; 318 struct tcf_proto *fl; in drr_classify()
|
D | sch_dsmark.c | 46 struct tcf_proto __rcu *filter_list; 240 struct tcf_proto *fl = rcu_dereference_bh(p->filter_list); in dsmark_enqueue()
|
D | sch_ingress.c | 59 static void clsact_chain_head_change(struct tcf_proto *tp_head, void *priv) in clsact_chain_head_change()
|
D | sch_atm.c | 46 struct tcf_proto __rcu *filter_list; 389 struct tcf_proto *fl; in atm_tc_enqueue()
|
D | sch_fq_codel.c | 57 struct tcf_proto __rcu *filter_list; /* optional external classifier */ 86 struct tcf_proto *filter; in fq_codel_classify()
|
D | sch_sfq.c | 128 struct tcf_proto __rcu *filter_list; 172 struct tcf_proto *fl; in sfq_classify()
|
/Linux-v4.19/include/net/ |
D | sch_generic.h | 237 const struct tcf_proto *goto_tp; 254 const struct tcf_proto *, 256 int (*init)(struct tcf_proto*); 257 void (*destroy)(struct tcf_proto *tp, 260 void* (*get)(struct tcf_proto*, u32 handle); 262 struct tcf_proto*, unsigned long, 266 int (*delete)(struct tcf_proto *tp, void *arg, 269 void (*walk)(struct tcf_proto*, struct tcf_walker *arg); 270 int (*reoffload)(struct tcf_proto *tp, bool add, 281 int (*dump)(struct net*, struct tcf_proto*, void *, [all …]
|
D | pkt_cls.h | 20 int (*fn)(struct tcf_proto *, void *node, struct tcf_walker *); 48 struct tcf_proto __rcu **p_filter_chain, struct Qdisc *q, 90 int tcf_classify(struct sk_buff *skb, const struct tcf_proto *tp, 96 struct tcf_proto __rcu **p_filter_chain, struct Qdisc *q, in tcf_block_get() 196 static inline int tcf_classify(struct sk_buff *skb, const struct tcf_proto *tp, in tcf_classify() 221 tcf_bind_filter(struct tcf_proto *tp, struct tcf_result *r, unsigned long base) in tcf_bind_filter() 238 tcf_unbind_filter(struct tcf_proto *tp, struct tcf_result *r) in tcf_unbind_filter() 388 int tcf_exts_validate(struct net *net, struct tcf_proto *tp, 500 int tcf_em_tree_validate(struct tcf_proto *, struct nlattr *, 716 const struct tcf_proto *tp, u32 flags, in tc_cls_common_offload_init()
|
D | act_api.h | 168 int tcf_action_init(struct net *net, struct tcf_proto *tp, struct nlattr *nla, 172 struct tc_action *tcf_action_init_1(struct net *net, struct tcf_proto *tp,
|