Lines Matching refs:atm_vcc

1020 	  struct atm_vcc * vcc = ATM_SKB(skb)->vcc;  in rx_schedule()
1292 struct atm_vcc * atm_vcc; in rx_data_av_handler() local
1296 atm_vcc = dev->rxer[rx_channel]; in rx_data_av_handler()
1300 if (atm_vcc) { in rx_data_av_handler()
1302 if (atm_vcc->qos.rxtp.traffic_class != ATM_NONE) { in rx_data_av_handler()
1304 if (rx_len <= atm_vcc->qos.rxtp.max_sdu) { in rx_data_av_handler()
1306 struct sk_buff * skb = atm_alloc_charge (atm_vcc, rx_len, GFP_ATOMIC); in rx_data_av_handler()
1315 ATM_SKB(skb)->vcc = atm_vcc; in rx_data_av_handler()
1563 static int hrz_send (struct atm_vcc * atm_vcc, struct sk_buff * skb) { in hrz_send() argument
1566 hrz_dev * dev = HRZ_DEV(atm_vcc->dev); in hrz_send()
1567 hrz_vcc * vcc = HRZ_VCC(atm_vcc); in hrz_send()
1580 if (atm_vcc->qos.txtp.traffic_class == ATM_NONE) { in hrz_send()
1587 ATM_SKB(skb)->vcc = atm_vcc; in hrz_send()
1589 if (skb->len > atm_vcc->qos.txtp.max_sdu) { in hrz_send()
2108 static int hrz_open (struct atm_vcc *atm_vcc) in hrz_open() argument
2117 hrz_dev * dev = HRZ_DEV(atm_vcc->dev); in hrz_open()
2120 short vpi = atm_vcc->vpi; in hrz_open()
2121 int vci = atm_vcc->vci; in hrz_open()
2142 qos = &atm_vcc->qos; in hrz_open()
2463 set_bit(ATM_VF_ADDR,&atm_vcc->flags); in hrz_open()
2479 dev->rxer[channel] = atm_vcc; in hrz_open()
2483 atm_vcc->dev_data = (void *) vccp; in hrz_open()
2486 set_bit(ATM_VF_READY,&atm_vcc->flags); in hrz_open()
2493 static void hrz_close (struct atm_vcc * atm_vcc) { in hrz_close() argument
2494 hrz_dev * dev = HRZ_DEV(atm_vcc->dev); in hrz_close()
2495 hrz_vcc * vcc = HRZ_VCC(atm_vcc); in hrz_close()
2500 clear_bit(ATM_VF_READY,&atm_vcc->flags); in hrz_close()
2502 if (atm_vcc->qos.txtp.traffic_class != ATM_NONE) { in hrz_close()
2520 if (atm_vcc->qos.rxtp.traffic_class != ATM_NONE) { in hrz_close()
2524 if (atm_vcc != dev->rxer[channel]) in hrz_close()
2527 atm_vcc, dev->rxer[channel]); in hrz_close()
2542 clear_bit(ATM_VF_ADDR,&atm_vcc->flags); in hrz_close()
2546 static int hrz_getsockopt (struct atm_vcc * atm_vcc, int level, int optname,
2548 hrz_dev * dev = HRZ_DEV(atm_vcc->dev);
2565 static int hrz_setsockopt (struct atm_vcc * atm_vcc, int level, int optname,
2567 hrz_dev * dev = HRZ_DEV(atm_vcc->dev);
2604 static int hrz_change_qos (struct atm_vcc * atm_vcc, struct atm_qos *qos, int flgs) {