Lines Matching refs: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 return vcc->dev->ops->send(vcc, skb); in atm_send_aal0()
60 int atm_init_aal0(struct atm_vcc *vcc) in atm_init_aal0() argument
62 vcc->push = atm_push_raw; in atm_init_aal0()
63 vcc->pop = atm_pop_raw; in atm_init_aal0()
64 vcc->push_oam = NULL; in atm_init_aal0()
65 vcc->send = atm_send_aal0; in atm_init_aal0()
69 int atm_init_aal34(struct atm_vcc *vcc) in atm_init_aal34() argument
71 vcc->push = atm_push_raw; in atm_init_aal34()
72 vcc->pop = atm_pop_raw; in atm_init_aal34()
73 vcc->push_oam = NULL; in atm_init_aal34()
74 vcc->send = vcc->dev->ops->send; in atm_init_aal34()
78 int atm_init_aal5(struct atm_vcc *vcc) in atm_init_aal5() argument
80 vcc->push = atm_push_raw; in atm_init_aal5()
81 vcc->pop = atm_pop_raw; in atm_init_aal5()
82 vcc->push_oam = NULL; in atm_init_aal5()
83 vcc->send = vcc->dev->ops->send; in atm_init_aal5()