Lines Matching refs:vcc
42 #define VCC2FLOW(vcc) ((struct atm_flow_data *) ((vcc)->user_back)) argument
49 struct atm_vcc *vcc; /* VCC; NULL if VCC is closed */ member
50 void (*old_pop)(struct atm_vcc *vcc,
159 flow->vcc->pop = flow->old_pop; in atm_tc_put()
172 static void sch_atm_pop(struct atm_vcc *vcc, struct sk_buff *skb) in sch_atm_pop() argument
174 struct atm_qdisc_data *p = VCC2FLOW(vcc)->parent; in sch_atm_pop()
176 pr_debug("sch_atm_pop(vcc %p,skb %p,[qdisc %p])\n", vcc, skb, p); in sch_atm_pop()
177 VCC2FLOW(vcc)->old_pop(vcc, skb); in sch_atm_pop()
301 flow->vcc = ATM_SD(sock); /* speedup */ in atm_tc_change()
302 flow->vcc->user_back = flow; in atm_tc_change()
303 pr_debug("atm_tc_change: vcc %p\n", flow->vcc); in atm_tc_change()
304 flow->old_pop = flow->vcc->pop; in atm_tc_change()
306 flow->vcc->pop = sch_atm_pop; in atm_tc_change()
412 if (flow->vcc) in atm_tc_enqueue()
413 ATM_SKB(skb)->atm_options = flow->vcc->atm_options; in atm_tc_enqueue()
485 if (!atm_may_send(flow->vcc, skb->truesize)) in sch_atm_dequeue()
508 ATM_SKB(skb)->vcc = flow->vcc; in sch_atm_dequeue()
512 &sk_atm(flow->vcc)->sk_wmem_alloc); in sch_atm_dequeue()
514 flow->vcc->send(flow->vcc, skb); in sch_atm_dequeue()
562 p->link.vcc = NULL; in atm_tc_init()
620 if (flow->vcc) { in atm_tc_dump_class()
626 pvc.sap_addr.itf = flow->vcc->dev ? flow->vcc->dev->number : -1; in atm_tc_dump_class()
627 pvc.sap_addr.vpi = flow->vcc->vpi; in atm_tc_dump_class()
628 pvc.sap_addr.vci = flow->vcc->vci; in atm_tc_dump_class()
631 state = ATM_VF2VS(flow->vcc->flags); in atm_tc_dump_class()