/asus-wl-520gu-7.0.1.45/src/linux/linux/net/atm/ |
H A D | atm_misc.c | 46 static int check_ci(struct atm_vcc *vcc,short vpi,int vci) argument 51 if (test_bit(ATM_VF_ADDR,&walk->flags) && walk->vpi == vpi && 64 int atm_find_ci(struct atm_vcc *vcc,short *vpi,int *vci) argument 71 if (*vpi != ATM_VPI_ANY && *vci != ATM_VCI_ANY) 72 return check_ci(vcc,*vpi,*vci); 74 if (*vpi != ATM_VPI_ANY) p = *vpi; 83 *vpi = p; 93 *vpi [all...] |
H A D | pvc.c | 48 if (vcc->vpi != ATM_VPI_UNSPEC) addr->sap_addr.vpi = vcc->vpi; 51 return atm_connect(sock,addr->sap_addr.itf,addr->sap_addr.vpi, 74 addr->sap_addr.vpi = vcc->vpi;
|
H A D | common.h | 15 int atm_connect(struct socket *sock,int itf,short vpi,int vci); 27 int atm_connect_vcc(struct atm_vcc *vcc,int itf,short vpi,int vci);
|
H A D | signaling.c | 113 if (session_vcc->vpi || session_vcc->vci) break; 115 session_vcc->vpi = msg->pvc.sap_addr.vpi; 117 if (session_vcc->vpi || session_vcc->vci)
|
H A D | common.c | 125 vcc->vpi = vcc->vci = 0; /* no VCI/VPI yet */ 214 static int atm_do_connect_dev(struct atm_vcc *vcc,struct atm_dev *dev,int vpi, argument 219 if ((vpi != ATM_VPI_UNSPEC && vpi != ATM_VPI_ANY && 220 vpi >> dev->ci_range.vpi_bits) || (vci != ATM_VCI_UNSPEC && 253 DPRINTK("VCC %d.%d, AAL %d\n",vpi,vci,vcc->qos.aal); 260 error = dev->ops->open(vcc,vpi,vci); 271 static int atm_do_connect(struct atm_vcc *vcc,int itf,int vpi,int vci) argument 281 return_val = atm_do_connect_dev(vcc,dev,vpi,vci); 289 int atm_connect_vcc(struct atm_vcc *vcc,int itf,short vpi,in argument 327 atm_connect(struct socket *sock,int itf,short vpi,int vci) argument [all...] |
H A D | raw.c | 45 * Note that if vpi/vci are _ANY or _UNSPEC the below will 50 ((vcc->vpi << ATM_HDR_VPI_SHIFT) | (vcc->vci << ATM_HDR_VCI_SHIFT)))
|
H A D | proc.c | 154 clip_vcc->vcc->vpi,clip_vcc->vcc->vci); 176 vcc->dev->number,vcc->vpi,vcc->vci, 211 else here += sprintf(here,"%3d %3d %5d ",vcc->dev->number,vcc->vpi, 238 else sprintf(buf,"%3d %3d %5d ",vcc->dev->number,vcc->vpi, 289 offset+=sprintf(buf+offset, "%3d %3d ", entry->vcc->vpi, 295 entry->recv_vcc->vpi, entry->recv_vcc->vci);
|
H A D | mpoa_proc.c | 123 length += sprintf((char *)page + length," %-3d %-3d",in_entry->shortcut->vpi,in_entry->shortcut->vci); 141 length += sprintf((char *)page + length," %-3d %-3d",eg_entry->shortcut->vpi,eg_entry->shortcut->vci);
|
H A D | lec.c | 331 printk("%s:sending to vpi:%d vci:%d\n", dev->name, 332 send_vcc->vpi, send_vcc->vci); 343 DPRINTK("%s:sending to vpi:%d vci:%d\n", dev->name, 344 send_vcc->vpi, send_vcc->vci); 649 printk("%s: lec_push vcc vpi:%d vci:%d\n", dev->name, 650 vcc->vpi, vcc->vci); 1218 "Vcc vpi:%d vci:%d, Recv_vcc vpi:%d vci:%d Last_used:%lx, Timestamp:%lx, No_tries:%d ", 1219 rulla->vcc?rulla->vcc->vpi:0, 1221 rulla->recv_vcc?rulla->recv_vcc->vpi [all...] |
H A D | svc.c | 227 if (!(error = atm_connect(sock,vcc->itf,vcc->vpi,vcc->vci))) 303 msg->pvc.sap_addr.vpi,msg->pvc.sap_addr.vci);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/atm/ |
H A D | atmtcp.c | 90 vcc->vpi = msg->addr.sap_addr.vpi; 117 static int atmtcp_v_open(struct atm_vcc *vcc,short vpi,int vci) argument 124 msg.hdr.vpi = htons(vpi); 125 msg.addr.sap_addr.vpi = vpi; 128 error = atm_find_ci(vcc,&msg.addr.sap_addr.vpi,&msg.addr.sap_addr.vci); 130 if (vpi == ATM_VPI_UNSPEC || vci == ATM_VCI_UNSPEC) return 0; 147 msg.addr.sap_addr.vpi [all...] |
H A D | fore200e.c | 1026 if (vcc->vpi == rpd->atm_header.vpi && vcc->vci == rpd->atm_header.vci) 1050 fore200e->atm_dev->number, rpd->atm_header.vpi, rpd->atm_header.vci); 1060 (rpd->atm_header.vpi << ATM_HDR_VPI_SHIFT) | 1111 vcc->itf, vcc->vpi, vcc->vci); 1161 fore200e->atm_dev->number, entry->rpd->atm_header.vpi, entry->rpd->atm_header.vci); 1215 vcc->itf, vcc->vpi, vcc->vci, scheme == BUFFER_SCHEME_ONE ? "first" : "second"); 1249 vpvc.vpi = vcc->vpi; 1274 activate ? "open" : "close", vcc->vpi, vc 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 [all...] |
H A D | idt77252.c | 125 static int idt77252_open(struct atm_vcc *vcc, short vpi, int vci); 776 card->name, vc->tx_vcc->vpi, vc->tx_vcc->vci); 898 tbd->word_4 = (vcc->vpi << SAR_TBD_VPI_SHIFT) | 1014 u32 header, vpi, vci; local 1036 vpi = (header >> 16) & 0x00ff; 1040 card->name, vpi, vci, skb, skb->data); 1042 if ((vpi >= (1 << card->vpibits)) || (vci != (vci & card->vcimask))) { 1044 card->name, vpi, vci); 1049 vc = card->vcs[VPCI2VC(card, vpi, vci)]; 1052 card->name, vpi, vc 1265 unsigned int vpi, vci, pti; local 1412 unsigned int vpi, vci; local 2398 idt77252_find_vcc(struct atm_vcc *vcc, short *vpi, int *vci) argument 2432 idt77252_open(struct atm_vcc *vcc, short vpi, int vci) argument 2946 int vpi, vci; local 2991 int vpi, vci; local [all...] |
H A D | horizon.c | 139 only the vpi vs vci bit allocation can be specified at insmod. 515 static inline int channel_to_vpivci (const u16 channel, short * vpi, int * vci) { argument 519 *vpi = channel >> vci_bits; 525 static inline int vpivci_to_channel (u16 * channel, const short vpi, const int vci) { argument 527 if (0 <= vpi && vpi < 1<<vpi_bits && 0 <= vci && vci < 1<<vci_bits) { 528 *channel = vpi<<vci_bits | vci; 2058 static int hrz_open (struct atm_vcc * atm_vcc, short vpi, int vci) { argument 2069 PRINTD (DBG_FLOW|DBG_VCC, "hrz_open %x %x", vpi, vci); 2073 if (vpi [all...] |
H A D | firestream.c | 812 static int fs_open(struct atm_vcc *atm_vcc, short vpi, int vci) argument 832 error = atm_find_ci(atm_vcc, &vpi, &vci); 838 atm_vcc->vpi = vpi; 840 if (vci != ATM_VPI_UNSPEC && vpi != ATM_VCI_UNSPEC) 848 atm_vcc->dev->number, atm_vcc->vpi, atm_vcc->vci); 890 vcc->channo = (vpi << FS155_VCI_BITS) | (vci); 939 tc->atm_hdr = (vpi << 20) | (vci << 4); 1038 (vpi << 16) | vci, 0 );
|
H A D | zatm.c | 705 if (vcc->vpi != ATM_VPI_UNSPEC && vcc->vci != ATM_VCI_UNSPEC) { 1093 uPD98401_TXVC_SHP_SHIFT) | (vcc->vpi << uPD98401_TXVC_VPI_SHIFT) | 1481 static int zatm_open(struct atm_vcc *vcc,short vpi,int vci) argument 1490 error = atm_find_ci(vcc,&vpi,&vci); 1492 vcc->vpi = vpi; 1494 if (vci != ATM_VPI_UNSPEC && vpi != ATM_VCI_UNSPEC) 1497 DPRINTK(DEV_LABEL "(itf %d): open %d.%d\n",vcc->dev->number,vcc->vpi, 1516 if (vci == ATM_VPI_UNSPEC || vpi == ATM_VCI_UNSPEC) return 0;
|
H A D | nicstar.c | 224 static int ns_open(struct atm_vcc *vcc, short vpi, int vci); 1449 static int ns_open(struct atm_vcc *vcc, short vpi, int vci) argument 1466 PRINTK("nicstar%d: opening vpi.vci %d.%d \n", card->index, (int) vpi, vci); 1473 if ((error = atm_find_ci(vcc, &vpi, &vci))) 1478 vc = &(card->vcmap[vpi << card->vcibits | vci]); 1479 vcc->vpi = vpi; 1628 ns_write_sram(card, NS_RCT + (vpi << card->vcibits | vci) * 1649 PRINTK("nicstar%d: closing vpi 2198 u32 vpi, vci; local [all...] |
H A D | eni.c | 847 if (vcc->vpi != ATM_VPI_UNSPEC && vcc->vci != ATM_VCI_UNSPEC) { 1842 static int get_ci(struct atm_vcc *vcc,short *vpi,int *vci) argument 1846 if (*vpi == ATM_VPI_ANY) *vpi = 0; 1879 static int eni_open(struct atm_vcc *vcc,short vpi,int vci) argument 1889 error = get_ci(vcc,&vpi,&vci); 1891 vcc->vpi = vpi; 1893 if (vci != ATM_VPI_UNSPEC && vpi != ATM_VCI_UNSPEC) 1897 DPRINTK(DEV_LABEL "(itf %d): open %d.%d\n",vcc->dev->number,vcc->vpi, [all...] |
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/ |
H A D | atm_tcp.h | 23 uint16_t vpi; member in struct:atmtcp_hdr
|
H A D | atm.h | 178 short vpi; /* VPI (only 8 bits at UNI) */ member in struct:sockaddr_atmpvc::__anon11042 224 return addr.sap_addr.itf || addr.sap_addr.vpi || addr.sap_addr.vci;
|
H A D | atmdev.h | 286 short vpi; /* VPI and VCI (types must be equal */ member in struct:atm_vcc 374 int (*open)(struct atm_vcc *vcc,short vpi,int vci); 453 int atm_find_ci(struct atm_vcc *vcc,short *vpi,int *vci);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/ |
H A D | atm_tcp.h | 23 uint16_t vpi; member in struct:atmtcp_hdr
|
H A D | atm.h | 178 short vpi; /* VPI (only 8 bits at UNI) */ member in struct:sockaddr_atmpvc::__anon6626 224 return addr.sap_addr.itf || addr.sap_addr.vpi || addr.sap_addr.vci;
|
H A D | atmdev.h | 286 short vpi; /* VPI and VCI (types must be equal */ member in struct:atm_vcc 374 int (*open)(struct atm_vcc *vcc,short vpi,int vci); 453 int atm_find_ci(struct atm_vcc *vcc,short *vpi,int *vci);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/usb/ |
H A D | speedtch.c | 184 /* vpi/vci lookup */ 186 short vpi; member in struct:udsl_vcc_data 265 static int udsl_atm_open (struct atm_vcc *vcc, short vpi, int vci); 301 static inline struct udsl_vcc_data *udsl_find_vcc (struct udsl_instance_data *instance, short vpi, int vci) argument 306 if ((vcc->vci == vci) && (vcc->vpi == vpi)) 322 short vpi; local 325 vpi = ((source [0] & 0x0f) << 4) | (source [1] >> 4); 329 vdbg ("udsl_extract_cells: vpi %hd, vci %d, pti %d", vpi, vc 867 udsl_atm_open(struct atm_vcc *vcc, short vpi, int vci) argument [all...] |