Lines Matching refs:classid
50 u32 classid; /* x:y type ID */ member
70 static inline struct atm_flow_data *lookup_flow(struct Qdisc *sch, u32 classid) in lookup_flow() argument
76 if (flow->classid == classid) in lookup_flow()
109 static unsigned long atm_tc_get(struct Qdisc *sch, u32 classid) in atm_tc_get() argument
114 pr_debug("atm_tc_get(sch %p,[qdisc %p],classid %x)\n", sch, p, classid); in atm_tc_get()
115 flow = lookup_flow(sch, classid); in atm_tc_get()
123 unsigned long parent, u32 classid) in atm_tc_bind_filter() argument
125 return atm_tc_get(sch, classid); in atm_tc_bind_filter()
185 static int atm_tc_change(struct Qdisc *sch, u32 classid, u32 parent, in atm_tc_change() argument
198 "flow %p,opt %p)\n", sch, p, classid, parent, flow, opt); in atm_tc_change()
251 if (classid) { in atm_tc_change()
252 if (TC_H_MAJ(classid ^ sch->handle)) { in atm_tc_change()
262 classid = TC_H_MAKE(sch->handle, 0x8000 | i); in atm_tc_change()
263 cl = atm_tc_get(sch, classid); in atm_tc_change()
269 pr_debug("atm_tc_change: new id %x\n", classid); in atm_tc_change()
277 flow->q = qdisc_create_dflt(sch->dev_queue, &pfifo_qdisc_ops, classid); in atm_tc_change()
288 flow->classid = classid; in atm_tc_change()
383 flow = lookup_flow(sch, res.classid); in atm_tc_enqueue()
552 p->link.classid = sch->handle; in atm_tc_init()
597 tcm->tcm_handle = flow->classid; in atm_tc_dump_class()
622 if (nla_put_u32(skb, TCA_ATM_EXCESS, flow->classid)) in atm_tc_dump_class()