Searched refs:vcc (Results 1 - 25 of 97) sorted by relevance

1234

/asus-wl-520gu-7.0.1.45/src/linux/linux/net/atm/
H A Dprotocols.h9 void atm_push_raw(struct atm_vcc *vcc,struct sk_buff *skb);
11 int atm_init_aal0(struct atm_vcc *vcc); /* "raw" AAL0 */
12 int atm_init_aal34(struct atm_vcc *vcc);/* "raw" AAL3/4 transport */
13 int atm_init_aal5(struct atm_vcc *vcc); /* "raw" AAL5 transport */
14 int atm_init_atmarp(struct atm_vcc *vcc);/* ATM ARP */
H A Draw.c24 void atm_push_raw(struct atm_vcc *vcc,struct sk_buff *skb) argument
27 skb_queue_tail(&vcc->recvq,skb);
28 wake_up(&vcc->sleep);
33 static void atm_pop_raw(struct atm_vcc *vcc,struct sk_buff *skb) argument
35 DPRINTK("APopR (%d) %d -= %d\n",vcc->vci,vcc->tx_inuse,skb->truesize);
36 atomic_sub(skb->truesize+ATM_PDU_OVHD,&vcc->tx_inuse);
38 wake_up(&vcc->sleep);
42 static int atm_send_aal0(struct atm_vcc *vcc,struct sk_buff *skb) argument
50 ((vcc
59 atm_init_aal0(struct atm_vcc *vcc) argument
69 atm_init_aal34(struct atm_vcc *vcc) argument
79 atm_init_aal5(struct atm_vcc *vcc) argument
[all...]
H A Dsignaling.c65 static void modify_qos(struct atm_vcc *vcc,struct atmsvc_msg *msg) argument
69 if (test_bit(ATM_VF_RELEASED,&vcc->flags) ||
70 !test_bit(ATM_VF_READY,&vcc->flags))
73 if (!vcc->dev->ops->change_qos) msg->reply = -EOPNOTSUPP;
76 msg->reply = vcc->dev->ops->change_qos(vcc,&msg->qos,
91 static int sigd_send(struct atm_vcc *vcc,struct sk_buff *skb) argument
97 atomic_sub(skb->truesize+ATM_PDU_OVHD,&vcc->tx_inuse);
99 (unsigned long) msg->vcc);
100 vcc
159 sigd_enq2(struct atm_vcc *vcc,enum atmsvc_msg_type type, struct atm_vcc *listen_vcc,const struct sockaddr_atmpvc *pvc, const struct sockaddr_atmsvc *svc,const struct atm_qos *qos,int reply) argument
185 sigd_enq(struct atm_vcc *vcc,enum atmsvc_msg_type type, struct atm_vcc *listen_vcc,const struct sockaddr_atmpvc *pvc, const struct sockaddr_atmsvc *svc) argument
194 purge_vccs(struct atm_vcc *vcc) argument
208 sigd_close(struct atm_vcc *vcc) argument
244 sigd_attach(struct atm_vcc *vcc) argument
[all...]
H A Dsvc.c43 void svc_callback(struct atm_vcc *vcc) argument
45 wake_up(&vcc->sleep);
57 static void svc_disconnect(struct atm_vcc *vcc) argument
62 DPRINTK("svc_disconnect %p\n",vcc);
63 if (test_bit(ATM_VF_REGIS,&vcc->flags)) {
64 sigd_enq(vcc,as_close,NULL,NULL,NULL);
65 add_wait_queue(&vcc->sleep,&wait);
66 while (!test_bit(ATM_VF_RELEASED,&vcc->flags) && sigd) {
70 remove_wait_queue(&vcc->sleep,&wait);
74 while ((skb = skb_dequeue(&vcc
88 struct atm_vcc *vcc; local
109 struct atm_vcc *vcc; local
143 struct atm_vcc *vcc = ATM_SD(sock); local
237 struct atm_vcc *vcc = ATM_SD(sock); local
342 svc_change_qos(struct atm_vcc *vcc,struct atm_qos *qos) argument
363 struct atm_vcc *vcc; local
[all...]
H A Dresources.c148 struct atm_vcc *vcc; local
152 vcc = sk->protinfo.af_atm = kmalloc(sizeof(*vcc),GFP_KERNEL);
153 if (!vcc) {
159 memset(vcc,0,sizeof(*vcc));
160 vcc->sk = sk;
161 if (nodev_vccs) nodev_vccs->prev = vcc;
162 vcc->prev = NULL;
163 vcc
169 unlink_vcc(struct atm_vcc *vcc,struct atm_dev *hold_dev) argument
189 bind_vcc(struct atm_vcc *vcc,struct atm_dev *dev) argument
[all...]
H A Dcommon.c87 static struct sk_buff *alloc_tx(struct atm_vcc *vcc,unsigned int size) argument
91 if (atomic_read(&vcc->tx_inuse) && !atm_may_send(vcc,size)) {
93 atomic_read(&vcc->tx_inuse),size,vcc->sk->sndbuf);
97 DPRINTK("AlTx %d += %d\n",atomic_read(&vcc->tx_inuse),skb->truesize);
98 atomic_add(skb->truesize+ATM_PDU_OVHD,&vcc->tx_inuse);
106 struct atm_vcc *vcc; local
111 vcc = sk->protinfo.af_atm;
112 memset(&vcc
139 struct atm_vcc *vcc; local
177 atm_async_release_vcc(struct atm_vcc *vcc,int reply) argument
214 atm_do_connect_dev(struct atm_vcc *vcc,struct atm_dev *dev,int vpi, int vci) argument
271 atm_do_connect(struct atm_vcc *vcc,int itf,int vpi,int vci) argument
289 atm_connect_vcc(struct atm_vcc *vcc,int itf,short vpi,int vci) argument
347 struct atm_vcc *vcc; local
428 struct atm_vcc *vcc; local
490 struct atm_vcc *vcc; local
554 struct atm_vcc *vcc; local
965 atm_change_qos(struct atm_vcc *vcc,struct atm_qos *qos) argument
1023 struct atm_vcc *vcc; local
1063 struct atm_vcc *vcc; local
[all...]
H A Datm_misc.c16 int atm_charge(struct atm_vcc *vcc,int truesize) argument
18 atm_force_charge(vcc,truesize);
19 if (atomic_read(&vcc->rx_inuse) <= vcc->sk->rcvbuf) return 1;
20 atm_return(vcc,truesize);
21 atomic_inc(&vcc->stats->rx_drop);
26 struct sk_buff *atm_alloc_charge(struct atm_vcc *vcc,int pdu_size, argument
31 atm_force_charge(vcc,guess);
32 if (atomic_read(&vcc->rx_inuse) <= vcc
46 check_ci(struct atm_vcc *vcc,short vpi,int vci) argument
64 atm_find_ci(struct atm_vcc *vcc,short *vpi,int *vci) argument
[all...]
H A Dproc.c45 extern void clip_push(struct atm_vcc *vcc,struct sk_buff *skb);
138 svc = !clip_vcc || clip_vcc->vcc->family == AF_ATMSVC;
153 sprintf(buf+off,"%d.%d.%d\n",clip_vcc->vcc->dev->number,
154 clip_vcc->vcc->vpi,clip_vcc->vcc->vci);
156 off += svc_addr(buf+off,&clip_vcc->vcc->remote);
165 static void pvc_info(struct atm_vcc *vcc,char *buf) argument
176 vcc->dev->number,vcc->vpi,vcc
197 vcc_state(struct atm_vcc *vcc) argument
205 vc_info(struct atm_vcc *vcc,char *buf) argument
230 svc_info(struct atm_vcc *vcc,char *buf) argument
323 struct atm_vcc *vcc; local
345 struct atm_vcc *vcc; local
372 struct atm_vcc *vcc; local
407 struct clip_vcc *vcc; local
[all...]
H A Dlec_arpc.h18 struct atm_vcc *vcc; /* Vcc this entry is attached */ member in struct:lec_arp_table
20 void (*old_push)(struct atm_vcc *vcc,struct sk_buff *skb);
22 void (*old_recv_push)(struct atm_vcc *vcc, struct sk_buff *skb);
24 void (*old_close)(struct atm_vcc *vcc);
26 * vcc gets closed */
94 int lec_mcast_make(struct lec_priv *priv, struct atm_vcc *vcc);
96 void lec_vcc_close(struct lec_priv *priv, struct atm_vcc *vcc);
103 struct atmlec_ioc *ioc_data, struct atm_vcc *vcc,
104 void (*old_push)(struct atm_vcc *vcc, struct sk_buff *skb));
106 struct atm_vcc *vcc, struc
[all...]
H A Dsignaling.h25 void sigd_enq2(struct atm_vcc *vcc,enum atmsvc_msg_type type,
28 void sigd_enq(struct atm_vcc *vcc,enum atmsvc_msg_type type,
31 int sigd_attach(struct atm_vcc *vcc);
H A Dlec.h61 int (*lecd_attach)(struct atm_vcc *vcc, int arg);
62 int (*mcast_attach)(struct atm_vcc *vcc, int arg);
63 int (*vcc_attach)(struct atm_vcc *vcc, void *arg);
110 /* If no traffic has been sent in this vcc for this period of time,
111 vcc will be torn down (C12)*/
145 int lecd_attach(struct atm_vcc *vcc, int arg);
146 int lec_vcc_attach(struct atm_vcc *vcc, void *arg);
147 int lec_mcast_attach(struct atm_vcc *vcc, int arg);
149 int make_lec(struct atm_vcc *vcc);
153 void lec_push(struct atm_vcc *vcc, struc
[all...]
H A Dpvc.c40 struct atm_vcc *vcc; local
45 vcc = ATM_SD(sock);
46 if (!test_bit(ATM_VF_HASQOS,&vcc->flags)) return -EBADFD;
47 if (test_bit(ATM_VF_PARTIAL,&vcc->flags)) {
48 if (vcc->vpi != ATM_VPI_UNSPEC) addr->sap_addr.vpi = vcc->vpi;
49 if (vcc->vci != ATM_VCI_UNSPEC) addr->sap_addr.vci = vcc->vci;
67 struct atm_vcc *vcc = ATM_SD(sock); local
69 if (!vcc
[all...]
H A Dmpc.h14 int atm_mpoa_mpoad_attach(struct atm_vcc *vcc, int arg);
15 int atm_mpoa_vcc_attach(struct atm_vcc *vcc, long arg);
49 int (*mpoad_attach)(struct atm_vcc *vcc, int arg); /* attach mpoa daemon */
50 int (*vcc_attach)(struct atm_vcc *vcc, long arg); /* attach shortcut vcc */
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/atm/
H A Datmtcp.c15 extern int atm_init_aal5(struct atm_vcc *vcc); /* "raw" AAL5 transport */
22 struct atm_vcc *vcc; /* control VCC; NULL if detached */ member in struct:atmtcp_dev_data
40 static int atmtcp_send_control(struct atm_vcc *vcc,int type, argument
50 out_vcc = PRIV(vcc->dev) ? PRIV(vcc->dev)->vcc : NULL;
55 out_vcc = PRIV(vcc->dev) ? PRIV(vcc->dev)->vcc : NULL;
65 memset(&new_msg->vcc,
88 struct atm_vcc *vcc = *(struct atm_vcc **) &msg->vcc; local
117 atmtcp_v_open(struct atm_vcc *vcc,short vpi,int vci) argument
141 atmtcp_v_close(struct atm_vcc *vcc) argument
157 struct atm_vcc *vcc; local
173 atmtcp_v_send(struct atm_vcc *vcc,struct sk_buff *skb) argument
228 atmtcp_c_close(struct atm_vcc *vcc) argument
247 atmtcp_c_send(struct atm_vcc *vcc,struct sk_buff *skb) argument
354 atmtcp_attach(struct atm_vcc *vcc,int itf) argument
[all...]
H A Deni.c313 static void rx_ident_err(struct atm_vcc *vcc) argument
319 dev = vcc->dev;
325 eni_vcc = ENI_VCC(vcc);
328 printk(KERN_ALERT " VCI %d, rxing %d, words %ld\n",vcc->vci,
344 static int do_rx_dma(struct atm_vcc *vcc,struct sk_buff *skb, argument
355 eni_dev = ENI_DEV(vcc->dev);
356 eni_vcc = ENI_VCC(vcc);
364 "mis-aligned RX data (0x%lx)\n",vcc->dev->number,
365 vcc->vci,(unsigned long) paddr);
368 ATM_SKB(skb)->vcc
491 discard(struct atm_vcc *vcc,unsigned long size) argument
509 rx_aal0(struct atm_vcc *vcc) argument
546 rx_aal5(struct atm_vcc *vcc) argument
615 rx_vcc(struct atm_vcc *vcc) argument
681 struct atm_vcc *vcc; local
726 struct atm_vcc *vcc; local
777 open_rx_first(struct atm_vcc *vcc) argument
806 open_rx_second(struct atm_vcc *vcc) argument
837 close_rx(struct atm_vcc *vcc) argument
1026 struct atm_vcc *vcc; local
1179 struct atm_vcc *vcc; local
1257 reserve_or_set_tx(struct atm_vcc *vcc,struct atm_trafprm *txtp, int set_rsv,int set_shp) argument
1344 open_tx_first(struct atm_vcc *vcc) argument
1353 open_tx_second(struct atm_vcc *vcc) argument
1359 close_tx(struct atm_vcc *vcc) argument
1826 eni_close(struct atm_vcc *vcc) argument
1842 get_ci(struct atm_vcc *vcc,short *vpi,int *vci) argument
1879 eni_open(struct atm_vcc *vcc,short vpi,int vci) argument
1928 eni_change_qos(struct atm_vcc *vcc,struct atm_qos *qos,int flgs) argument
2008 eni_getsockopt(struct atm_vcc *vcc,int level,int optname, void *optval,int optlen) argument
2015 eni_setsockopt(struct atm_vcc *vcc,int level,int optname, void *optval,int optlen) argument
2022 eni_send(struct atm_vcc *vcc,struct sk_buff *skb) argument
2058 eni_sg_send(struct atm_vcc *vcc,unsigned long start, unsigned long size) argument
2084 struct atm_vcc *vcc; local
[all...]
H A Dzatm.c316 static void zatm_feedback(struct atm_vcc *vcc,struct sk_buff *skb, argument
324 pool = &ZATM_DEV(vcc->dev)->pool_info[ZATM_VCC(vcc)->pool];
528 struct atm_vcc *vcc; local
559 vcc = zatm_dev->rx_map[chan];
560 if (skb == zatm_dev->last_free[ZATM_VCC(vcc)->pool])
561 zatm_dev->last_free[ZATM_VCC(vcc)->pool] = NULL;
568 vcc = NULL;
600 if (vcc) atomic_inc(&vcc
616 open_rx_first(struct atm_vcc *vcc) argument
669 open_rx_second(struct atm_vcc *vcc) argument
692 close_rx(struct atm_vcc *vcc) argument
769 struct atm_vcc *vcc; local
819 dequeue_tx(struct atm_vcc *vcc) argument
968 close_tx(struct atm_vcc *vcc) argument
1019 open_tx_first(struct atm_vcc *vcc) argument
1078 open_tx_second(struct atm_vcc *vcc) argument
1465 zatm_close(struct atm_vcc *vcc) argument
1481 zatm_open(struct atm_vcc *vcc,short vpi,int vci) argument
1530 zatm_change_qos(struct atm_vcc *vcc,struct atm_qos *qos,int flags) argument
1630 zatm_getsockopt(struct atm_vcc *vcc,int level,int optname, void *optval,int optlen) argument
1637 zatm_setsockopt(struct atm_vcc *vcc,int level,int optname, void *optval,int optlen) argument
1646 zatm_send(struct atm_vcc *vcc,struct sk_buff *skb) argument
[all...]
H A Dfore200e.c943 DPRINTK(3, "TX COMPLETED: entry = %p, vcc = %p, skb = %p\n", entry, entry->vcc, entry->skb);
954 if (entry->vcc->pop)
955 entry->vcc->pop(entry->vcc, entry->skb);
961 atomic_inc(&entry->vcc->stats->tx_err);
963 atomic_inc(&entry->vcc->stats->tx);
1022 struct atm_vcc* vcc; local
1024 for (vcc = fore200e->atm_dev->vccs; vcc; vc
1037 struct atm_vcc* vcc; local
1207 fore200e_select_scheme(struct atm_vcc* vcc) argument
1223 fore200e_activate_vcin(struct fore200e* fore200e, int activate, struct atm_vcc* vcc, int mtu) argument
1286 fore200e_walk_vccs(struct atm_vcc *vcc, short *vpi, int *vci) argument
1337 fore200e_open(struct atm_vcc *vcc, short vpi, int vci) argument
1418 fore200e_close(struct atm_vcc* vcc) argument
1441 fore200e_send(struct atm_vcc *vcc, struct sk_buff *skb) argument
1681 fore200e_getsockopt(struct atm_vcc* vcc, int level, int optname, void* optval, int optlen) argument
1693 fore200e_setsockopt(struct atm_vcc* vcc, int level, int optname, void* optval, int optlen) argument
1846 fore200e_change_qos(struct atm_vcc* vcc,struct atm_qos* qos, int flags) argument
2764 struct atm_vcc *vcc; local
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/net/
H A Datmclip.h18 #define CLIP_VCC(vcc) ((struct clip_vcc *) ((vcc)->user_back))
23 struct atm_vcc *vcc; /* VCC descriptor */ member in struct:clip_vcc
30 void (*old_push)(struct atm_vcc *vcc,struct sk_buff *skb);
32 void (*old_pop)(struct atm_vcc *vcc,struct sk_buff *skb);
62 int clip_mkip(struct atm_vcc *vcc,int timeout);
63 int clip_setentry(struct atm_vcc *vcc,u32 ip);
64 int clip_encap(struct atm_vcc *vcc,int mode);
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/net/
H A Datmclip.h18 #define CLIP_VCC(vcc) ((struct clip_vcc *) ((vcc)->user_back))
23 struct atm_vcc *vcc; /* VCC descriptor */ member in struct:clip_vcc
30 void (*old_push)(struct atm_vcc *vcc,struct sk_buff *skb);
32 void (*old_pop)(struct atm_vcc *vcc,struct sk_buff *skb);
62 int clip_mkip(struct atm_vcc *vcc,int timeout);
63 int clip_setentry(struct atm_vcc *vcc,u32 ip);
64 int clip_encap(struct atm_vcc *vcc,int mode);
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/pcmcia/
H A Dsa1100_pfs168.c51 switch (conf->vcc) {
69 if (conf->vpp == conf->vcc)
83 switch (conf->vcc) {
90 __FUNCTION__, conf->vcc / 10);
95 conf->vcc);
99 if (conf->vpp != conf->vcc && conf->vpp != 0) {
H A Dsa1100_badge4.c51 * defaults with a pcmv setup argument: pcmv=<pcm vcc>,<pcm vpp>,<cf
52 * vcc>. E.g. pcmv=33,120,50 indicates 3.3V PCM Vcc, 12.0V PCM Vpp,
103 if ((conf->vcc != 0) &&
104 (conf->vcc != badge4_pcmvcc)) {
106 badge4_pcmvcc, conf->vcc);
118 if ((conf->vcc != 0) &&
119 (conf->vcc != badge4_cfvcc)) {
121 badge4_cfvcc, conf->vcc);
137 need5V = ((conf->vcc == 50) || (conf->vpp == 50));
H A Dsa1100_jornada720.c52 printk("%s(): config socket %d vcc %d vpp %d\n", __FUNCTION__,
53 conf->sock, conf->vcc, conf->vpp);
59 switch (conf->vcc) {
70 switch (conf->vcc) {
79 if (conf->vpp != conf->vcc && conf->vpp != 0) {
H A Dsa1100_neponset.c63 switch (conf->vcc) {
74 if (conf->vpp == conf->vcc)
89 switch (conf->vcc) {
96 if (conf->vpp != conf->vcc && conf->vpp != 0) {
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/
H A Datmdev.h295 void (*push)(struct atm_vcc *vcc,struct sk_buff *skb);
296 void (*pop)(struct atm_vcc *vcc,struct sk_buff *skb); /* optional */
297 struct sk_buff *(*alloc_tx)(struct atm_vcc *vcc,unsigned int size);
301 int (*push_oam)(struct atm_vcc *vcc,void *cell);
302 int (*send)(struct atm_vcc *vcc,struct sk_buff *skb);
315 void (*callback)(struct atm_vcc *vcc);
374 int (*open)(struct atm_vcc *vcc,short vpi,int vci);
375 void (*close)(struct atm_vcc *vcc);
377 int (*getsockopt)(struct atm_vcc *vcc,int level,int optname,
379 int (*setsockopt)(struct atm_vcc *vcc,in
406 struct atm_vcc *vcc; /* ATM VCC */ member in struct:atm_skb_data
432 atm_force_charge(struct atm_vcc *vcc,int truesize) argument
438 atm_return(struct atm_vcc *vcc,int truesize) argument
444 atm_may_send(struct atm_vcc *vcc,unsigned int size) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/
H A Datmdev.h295 void (*push)(struct atm_vcc *vcc,struct sk_buff *skb);
296 void (*pop)(struct atm_vcc *vcc,struct sk_buff *skb); /* optional */
297 struct sk_buff *(*alloc_tx)(struct atm_vcc *vcc,unsigned int size);
301 int (*push_oam)(struct atm_vcc *vcc,void *cell);
302 int (*send)(struct atm_vcc *vcc,struct sk_buff *skb);
315 void (*callback)(struct atm_vcc *vcc);
374 int (*open)(struct atm_vcc *vcc,short vpi,int vci);
375 void (*close)(struct atm_vcc *vcc);
377 int (*getsockopt)(struct atm_vcc *vcc,int level,int optname,
379 int (*setsockopt)(struct atm_vcc *vcc,in
406 struct atm_vcc *vcc; /* ATM VCC */ member in struct:atm_skb_data
432 atm_force_charge(struct atm_vcc *vcc,int truesize) argument
438 atm_return(struct atm_vcc *vcc,int truesize) argument
444 atm_may_send(struct atm_vcc *vcc,unsigned int size) argument
[all...]

Completed in 364 milliseconds

1234