Lines Matching refs:atm_vcc

1005 	  struct atm_vcc * vcc = ATM_SKB(skb)->vcc;
1277 struct atm_vcc * atm_vcc;
1281 atm_vcc = dev->rxer[rx_channel];
1285 if (atm_vcc) {
1287 if (atm_vcc->qos.rxtp.traffic_class != ATM_NONE) {
1289 if (rx_len <= atm_vcc->qos.rxtp.max_sdu) {
1291 struct sk_buff * skb = atm_alloc_charge (atm_vcc, rx_len, GFP_ATOMIC);
1300 ATM_SKB(skb)->vcc = atm_vcc;
1548 static int hrz_send (struct atm_vcc * atm_vcc, struct sk_buff * skb) {
1551 hrz_dev * dev = HRZ_DEV(atm_vcc->dev);
1552 hrz_vcc * vcc = HRZ_VCC(atm_vcc);
1565 if (atm_vcc->qos.txtp.traffic_class == ATM_NONE) {
1572 ATM_SKB(skb)->vcc = atm_vcc;
1574 if (skb->len > atm_vcc->qos.txtp.max_sdu) {
2093 static int hrz_open (struct atm_vcc *atm_vcc)
2102 hrz_dev * dev = HRZ_DEV(atm_vcc->dev);
2105 short vpi = atm_vcc->vpi;
2106 int vci = atm_vcc->vci;
2127 qos = &atm_vcc->qos;
2448 set_bit(ATM_VF_ADDR,&atm_vcc->flags);
2464 dev->rxer[channel] = atm_vcc;
2467 // success, set elements of atm_vcc
2468 atm_vcc->dev_data = (void *) vccp;
2471 set_bit(ATM_VF_READY,&atm_vcc->flags);
2478 static void hrz_close (struct atm_vcc * atm_vcc) {
2479 hrz_dev * dev = HRZ_DEV(atm_vcc->dev);
2480 hrz_vcc * vcc = HRZ_VCC(atm_vcc);
2485 clear_bit(ATM_VF_READY,&atm_vcc->flags);
2487 if (atm_vcc->qos.txtp.traffic_class != ATM_NONE) {
2505 if (atm_vcc->qos.rxtp.traffic_class != ATM_NONE) {
2509 if (atm_vcc != dev->rxer[channel])
2510 PRINTK (KERN_ERR, "%s atm_vcc=%p rxer[channel]=%p",
2512 atm_vcc, dev->rxer[channel]);
2527 clear_bit(ATM_VF_ADDR,&atm_vcc->flags);
2549 static int hrz_change_qos (struct atm_vcc * atm_vcc, struct atm_qos *qos, int flgs) {