Home
last modified time | relevance | path

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

/linux-2.4.37.9/include/net/
Dpkt_cls.h18 struct tcf_proto struct
21 struct tcf_proto *next; argument
23 int (*classify)(struct sk_buff*, struct tcf_proto*, struct tcf_result *); argument
39 int (*fn)(struct tcf_proto *, unsigned long node, struct tcf_walker *); argument
47 int (*classify)(struct sk_buff*, struct tcf_proto*, struct tcf_result *);
48 int (*init)(struct tcf_proto*);
49 void (*destroy)(struct tcf_proto*);
51 unsigned long (*get)(struct tcf_proto*, u32 handle);
52 void (*put)(struct tcf_proto*, unsigned long);
53 int (*change)(struct tcf_proto*, unsigned long, u32 handle, struct rtattr **, unsigned long *);
[all …]
Dpkt_sched.h44 struct tcf_proto ** (*tcf_chain)(struct Qdisc *, unsigned long);
121 static inline void tcf_tree_lock(struct tcf_proto *tp) in tcf_tree_lock()
127 static inline void tcf_tree_unlock(struct tcf_proto *tp) in tcf_tree_unlock()
135 cls_set_class(struct tcf_proto *tp, unsigned long *clp, unsigned long cl) in cls_set_class()
/linux-2.4.37.9/net/sched/
Dcls_fw.c63 static int fw_classify(struct sk_buff *skb, struct tcf_proto *tp, in fw_classify()
99 static unsigned long fw_get(struct tcf_proto *tp, u32 handle) in fw_get()
114 static void fw_put(struct tcf_proto *tp, unsigned long f) in fw_put()
118 static int fw_init(struct tcf_proto *tp) in fw_init()
124 static void fw_destroy(struct tcf_proto *tp) in fw_destroy()
152 static int fw_delete(struct tcf_proto *tp, unsigned long arg) in fw_delete()
181 static int fw_change(struct tcf_proto *tp, unsigned long base, in fw_change()
274 static void fw_walk(struct tcf_proto *tp, struct tcf_walker *arg) in fw_walk()
302 static int fw_dump(struct tcf_proto *tp, unsigned long fh, in fw_dump()
Dcls_tcindex.c90 static int tcindex_classify(struct sk_buff *skb, struct tcf_proto *tp, in tcindex_classify()
123 static unsigned long tcindex_get(struct tcf_proto *tp, u32 handle) in tcindex_get()
136 static void tcindex_put(struct tcf_proto *tp, unsigned long f) in tcindex_put()
142 static int tcindex_init(struct tcf_proto *tp) in tcindex_init()
165 __tcindex_delete(struct tcf_proto *tp, unsigned long arg, int lock) in __tcindex_delete()
205 static int tcindex_delete(struct tcf_proto *tp, unsigned long arg) in tcindex_delete()
215 static int tcindex_change(struct tcf_proto *tp,unsigned long base,u32 handle, in tcindex_change()
364 static void tcindex_walk(struct tcf_proto *tp, struct tcf_walker *walker) in tcindex_walk()
404 static int tcindex_destroy_element(struct tcf_proto *tp, in tcindex_destroy_element()
411 static void tcindex_destroy(struct tcf_proto *tp) in tcindex_destroy()
[all …]
Dcls_u32.c100 static int u32_classify(struct sk_buff *skb, struct tcf_proto *tp, struct tcf_result *res) in u32_classify()
220 static unsigned long u32_get(struct tcf_proto *tp, u32 handle) in u32_get()
239 static void u32_put(struct tcf_proto *tp, unsigned long f) in u32_put()
255 static int u32_init(struct tcf_proto *tp) in u32_init()
300 static int u32_destroy_key(struct tcf_proto *tp, struct tc_u_knode *n) in u32_destroy_key()
315 static int u32_delete_key(struct tcf_proto *tp, struct tc_u_knode* key) in u32_delete_key()
336 static void u32_clear_hnode(struct tcf_proto *tp, struct tc_u_hnode *ht) in u32_clear_hnode()
350 static int u32_destroy_hnode(struct tcf_proto *tp, struct tc_u_hnode *ht) in u32_destroy_hnode()
371 static void u32_destroy(struct tcf_proto *tp) in u32_destroy()
410 static int u32_delete(struct tcf_proto *tp, unsigned long arg) in u32_delete()
[all …]
Dcls_api.c101 struct tcf_proto *tp, unsigned long fh, int event);
106 static __inline__ u32 tcf_auto_prio(struct tcf_proto *tp) in tcf_auto_prio()
128 struct tcf_proto **back, **chain; in tc_ctl_tfilter()
129 struct tcf_proto *tp = NULL; in tc_ctl_tfilter()
287 tcf_fill_node(struct sk_buff *skb, struct tcf_proto *tp, unsigned long fh, in tcf_fill_node()
317 struct tcf_proto *tp, unsigned long fh, int event) in tfilter_notify()
341 static int tcf_node_dump(struct tcf_proto *tp, unsigned long n, struct tcf_walker *arg) in tcf_node_dump()
355 struct tcf_proto *tp, **chain; in tc_dump_tfilter()
Dcls_route.c137 static int route4_classify(struct sk_buff *skb, struct tcf_proto *tp, in route4_classify()
243 static unsigned long route4_get(struct tcf_proto *tp, u32 handle) in route4_get()
269 static void route4_put(struct tcf_proto *tp, unsigned long f) in route4_put()
273 static int route4_init(struct tcf_proto *tp) in route4_init()
279 static void route4_destroy(struct tcf_proto *tp) in route4_destroy()
315 static int route4_delete(struct tcf_proto *tp, unsigned long arg) in route4_delete()
365 static int route4_change(struct tcf_proto *tp, unsigned long base, in route4_change()
519 static void route4_walk(struct tcf_proto *tp, struct tcf_walker *arg) in route4_walk()
553 static int route4_dump(struct tcf_proto *tp, unsigned long fh, in route4_dump()
Dcls_rsvp.h135 static int rsvp_classify(struct sk_buff *skb, struct tcf_proto *tp, in rsvp_classify()
217 static unsigned long rsvp_get(struct tcf_proto *tp, u32 handle) in rsvp_get()
237 static void rsvp_put(struct tcf_proto *tp, unsigned long f) in rsvp_put()
241 static int rsvp_init(struct tcf_proto *tp) in rsvp_init()
256 static void rsvp_destroy(struct tcf_proto *tp) in rsvp_destroy()
295 static int rsvp_delete(struct tcf_proto *tp, unsigned long arg) in rsvp_delete()
346 static unsigned gen_handle(struct tcf_proto *tp, unsigned salt) in gen_handle()
416 static int rsvp_change(struct tcf_proto *tp, unsigned long base, in rsvp_change()
585 static void rsvp_walk(struct tcf_proto *tp, struct tcf_walker *arg) in rsvp_walk()
616 static int rsvp_dump(struct tcf_proto *tp, unsigned long fh, in rsvp_dump()
Dsch_ingress.c53 struct tcf_proto *filter_list;
126 static struct tcf_proto **ingress_find_tcf(struct Qdisc *sch,unsigned long cl) in ingress_find_tcf()
304 struct tcf_proto *tp; in ingress_destroy()
Dsch_prio.c44 struct tcf_proto *filter_list;
161 struct tcf_proto *tp; in prio_destroy()
364 static struct tcf_proto ** prio_find_tcf(struct Qdisc *sch, unsigned long cl) in prio_find_tcf()
Dsch_dsmark.c56 struct tcf_proto *filter_list;
178 static struct tcf_proto **dsmark_find_tcf(struct Qdisc *sch,unsigned long cl) in dsmark_find_tcf()
377 struct tcf_proto *tp; in dsmark_destroy()
Dsch_atm.c67 struct tcf_proto *filter_list;
163 struct tcf_proto *filter; in destroy_filters()
382 static struct tcf_proto **atm_tc_find_tcf(struct Qdisc *sch,unsigned long cl) in atm_tc_find_tcf()
Dsch_csz.c267 struct tcf_proto *filter_list;
751 struct tcf_proto *tp; in csz_destroy()
1009 static struct tcf_proto ** csz_find_tcf(struct Qdisc *sch, unsigned long cl) in csz_find_tcf()
Dsch_htb.c190 struct tcf_proto *filter_list;
244 struct tcf_proto *filter_list;
307 struct tcf_proto *tcf; in htb_classify()
1390 static void htb_destroy_filters(struct tcf_proto **fl) in htb_destroy_filters()
1392 struct tcf_proto *tp; in htb_destroy_filters()
1624 static struct tcf_proto **htb_find_tcf(struct Qdisc *sch, unsigned long arg) in htb_find_tcf()
1628 struct tcf_proto **fl = cl ? &cl->filter_list : &q->filter_list; in htb_find_tcf()
Dsch_hfsc.c126 struct tcf_proto *filter_list; /* filter list */
1167 hfsc_destroy_filters(struct tcf_proto **fl) in hfsc_destroy_filters()
1169 struct tcf_proto *tp; in hfsc_destroy_filters()
1219 struct tcf_proto *tcf; in hfsc_classify()
1330 static struct tcf_proto **
Dsch_tbf.c504 static struct tcf_proto **tbf_find_tcf(struct Qdisc *sch, unsigned long cl) in tbf_find_tcf()
Dsch_netem.c557 static struct tcf_proto **netem_find_tcf(struct Qdisc *sch, unsigned long cl) in netem_find_tcf()
Dsch_cbq.c152 struct tcf_proto *filter_list;
1709 struct tcf_proto *tp; in cbq_destroy_filters()
2017 static struct tcf_proto **cbq_find_tcf(struct Qdisc *sch, unsigned long arg) in cbq_find_tcf()