Lines Matching full:vcc

23 static void atm_push_raw(struct atm_vcc *vcc, struct sk_buff *skb)  in atm_push_raw()  argument
26 struct sock *sk = sk_atm(vcc); in atm_push_raw()
33 static void atm_pop_raw(struct atm_vcc *vcc, struct sk_buff *skb) in atm_pop_raw() argument
35 struct sock *sk = sk_atm(vcc); in atm_pop_raw()
38 vcc->vci, sk_wmem_alloc_get(sk), ATM_SKB(skb)->acct_truesize); in atm_pop_raw()
44 static int atm_send_aal0(struct atm_vcc *vcc, struct sk_buff *skb) in atm_send_aal0() argument
52 ((vcc->vpi << ATM_HDR_VPI_SHIFT) | in atm_send_aal0()
53 (vcc->vci << ATM_HDR_VCI_SHIFT))) { in atm_send_aal0()
57 if (vcc->dev->ops->send_bh) in atm_send_aal0()
58 return vcc->dev->ops->send_bh(vcc, skb); in atm_send_aal0()
59 return vcc->dev->ops->send(vcc, skb); in atm_send_aal0()
62 int atm_init_aal0(struct atm_vcc *vcc) in atm_init_aal0() argument
64 vcc->push = atm_push_raw; in atm_init_aal0()
65 vcc->pop = atm_pop_raw; in atm_init_aal0()
66 vcc->push_oam = NULL; in atm_init_aal0()
67 vcc->send = atm_send_aal0; in atm_init_aal0()
71 int atm_init_aal34(struct atm_vcc *vcc) in atm_init_aal34() argument
73 vcc->push = atm_push_raw; in atm_init_aal34()
74 vcc->pop = atm_pop_raw; in atm_init_aal34()
75 vcc->push_oam = NULL; in atm_init_aal34()
76 if (vcc->dev->ops->send_bh) in atm_init_aal34()
77 vcc->send = vcc->dev->ops->send_bh; in atm_init_aal34()
79 vcc->send = vcc->dev->ops->send; in atm_init_aal34()
83 int atm_init_aal5(struct atm_vcc *vcc) in atm_init_aal5() argument
85 vcc->push = atm_push_raw; in atm_init_aal5()
86 vcc->pop = atm_pop_raw; in atm_init_aal5()
87 vcc->push_oam = NULL; in atm_init_aal5()
88 if (vcc->dev->ops->send_bh) in atm_init_aal5()
89 vcc->send = vcc->dev->ops->send_bh; in atm_init_aal5()
91 vcc->send = vcc->dev->ops->send; in atm_init_aal5()