| /freebsd-9-stable/sys/net/ |
| D | if_atm.h | 125 uint16_t vpi; member 199 uint16_t vpi; member 268 uint16_t vpi; /* channel that is changed */ member 279 uint16_t vpi; /* channel that is changed */ member 285 uint16_t vpi; /* channel that is changed */ member 305 _arg.vpi = (VPI); \ 314 _arg.vpi = (VPI); \ 332 _arg.vpi = (VPI); \
|
| /freebsd-9-stable/sys/netgraph/atm/ |
| D | ng_atm.c | 92 uint16_t vpi; /* VPI of this hook */ member 511 ATM_PH_VPI(aph) = vcc->vpi; in ng_atm_rcvdata() 551 if (vcc->vci == ev->vci && vcc->vpi == ev->vpi) in ng_atm_event_func() 583 chg->vpi = ev->vpi; in ng_atm_event_func() 616 if (vcc->vci == ev->vci && vcc->vpi == ev->vpi) in ng_atm_event_func() 629 acr->vpi = ev->vpi; in ng_atm_event_func() 699 if (arg->vpi > 0xff) in ng_atm_cpcs_init() 701 data.param.vpi = arg->vpi; in ng_atm_cpcs_init() 704 if (arg->vci == 0 && (arg->vpi != 0 || !(arg->flags & ATMIO_FLAG_NOTX))) in ng_atm_cpcs_init() 794 vcc->vpi = data.param.vpi; in ng_atm_cpcs_init() [all …]
|
| D | ng_atm.h | 134 uint16_t vpi; /* VPI to open */ member 221 uint8_t vpi; member 236 uint8_t vpi; member
|
| /freebsd-9-stable/sys/dev/patm/ |
| D | if_patm_ioctl.c | 85 patm_debug(sc, VCC, "Open VCC: %u.%u flags=%#x", arg->param.vpi, in patm_open_vcc() 88 if (!LEGAL_VPI(sc, arg->param.vpi) || !LEGAL_VCI(sc, arg->param.vci)) in patm_open_vcc() 90 if (arg->param.vci == 0 && (arg->param.vpi != 0 || in patm_open_vcc() 94 cid = PATM_CID(sc, arg->param.vpi, arg->param.vci); in patm_open_vcc() 203 ATMEV_SEND_VCC_CHANGED(IFP2IFATM(sc->ifp), vcc->vcc.vpi, in patm_load_vc() 220 patm_debug(sc, VCC, "Close VCC: %u.%u", arg->vpi, arg->vci); in patm_close_vcc() 222 if (!LEGAL_VPI(sc, arg->vpi) || !LEGAL_VCI(sc, arg->vci)) in patm_close_vcc() 224 cid = PATM_CID(sc, arg->vpi, arg->vci); in patm_close_vcc() 279 ATMEV_SEND_VCC_CHANGED(IFP2IFATM(sc->ifp), vcc->vcc.vpi, in patm_vcc_closed()
|
| D | if_patm_rx.c | 110 patm_debug(sc, VCC, "%u.%u RX opening", vcc->vcc.vpi, vcc->vcc.vci); in patm_rx_vcc_open() 145 patm_debug(sc, VCC, "%u.%u RX closing", vcc->vcc.vpi, vcc->vcc.vci); in patm_rx_vcc_close() 185 vcc->vcc.vpi, vcc->vcc.vci); in patm_rx_vcc_closed() 217 patm_debug(sc, VCC, "%u.%u RX closed", vcc->vcc.vpi, in patm_rx() 431 u_int vpi, vci, cid; in patm_rx_raw() local 447 vpi = ((cell[0] & 0xf) << 4) | ((cell[1] & 0xf0) >> 4); in patm_rx_raw() 449 cid = PATM_CID(sc, vpi, vci); in patm_rx_raw() 521 ATM_PH_VPI(&aph) = vcc->vcc.vpi; in patm_rx_raw()
|
| D | if_patm_tx.c | 270 patm_debug(sc, VCC, "%u.%u TX closed", vcc->vcc.vpi, vcc->vcc.vci); in patm_tx_vcc_closed() 288 u_int vpi, vci, cid; in patm_start() local 312 vpi = ATM_PH_VPI(aph); in patm_start() 323 if (!LEGAL_VPI(sc, vpi) || !LEGAL_VCI(sc, vci) || vci == 0) { in patm_start() 328 cid = PATM_CID(sc, vpi, vci); in patm_start() 529 a.hdr = IDT_TBD_HDR(a.vcc->vcc.vpi, a.vcc->vcc.vci, in patm_launch() 749 ATMEV_SEND_ACR_CHANGED(IFP2IFATM(sc->ifp), vcc->vcc.vpi, in patm_tx() 1150 vcc->vcc.vpi, vcc->vcc.vci, (int)qptr - (int)last); in patm_tst_alloc()
|
| /freebsd-9-stable/usr.sbin/ppp/ |
| D | atm.c | 168 atm_CreateDevice(struct physical *p, const char *iface, unsigned vpi, in atm_CreateDevice() argument 183 sock.snatm_vpi = vpi; in atm_CreateDevice() 187 iface, vpi, vci); in atm_CreateDevice() 216 unsigned vci, vpi; in atm_Create() local 219 &vpi, &vci) != 3) { in atm_Create() 225 dev = atm_CreateDevice(p, iface, vpi, vci); in atm_Create()
|
| /freebsd-9-stable/sys/dev/hatm/ |
| D | if_hatm_ioctl.c | 101 DBG(sc, VCC, ("Open VCC: %u.%u flags=%#x", arg->param.vpi, in hatm_open_vcc() 104 if ((arg->param.vpi & ~HE_VPI_MASK) || in hatm_open_vcc() 108 cid = HE_CID(arg->param.vpi, arg->param.vci); in hatm_open_vcc() 191 ATMEV_SEND_VCC_CHANGED(IFP2IFATM(sc->ifp), vcc->param.vpi, in hatm_load_vc() 223 DBG(sc, VCC, ("Close VCC: %u.%u", arg->vpi, arg->vci)); in hatm_close_vcc() 225 if((arg->vpi & ~HE_VPI_MASK) || in hatm_close_vcc() 229 cid = HE_CID(arg->vpi, arg->vci); in hatm_close_vcc()
|
| D | if_hatm_rx.c | 87 u_int vpi, vci; in hatm_rx() local 235 vpi = HE_VPI(cid); in hatm_rx() 239 ATM_PH_VPI(&aph) = vpi; in hatm_rx()
|
| D | if_hatm_tx.c | 236 u_int vpi, vci; member 281 arg->vpi, arg->vci, 1); in hatm_load_txbuf() 383 arg.vpi = ATM_PH_VPI(aph); in hatm_start() 392 if ((arg.vpi & ~HE_VPI_MASK) || (arg.vci & ~HE_VCI_MASK) || in hatm_start() 398 cid = HE_CID(arg.vpi, arg.vci); in hatm_start()
|
| /freebsd-9-stable/contrib/tcpdump/ |
| D | print-atm.c | 293 atm_print(u_int vpi, u_int vci, u_int traftype, const u_char *p, u_int length, in atm_print() argument 297 printf("VPI:%u VCI:%u ", vpi, vci); in atm_print() 299 if (vpi == 0) { in atm_print() 360 u_int16_t vpi, vci, cksum, cksum_shouldbe, idx; in oam_print() local 373 vpi = (cell_header>>20)&0xff; in oam_print() 380 vpi, vci, in oam_print()
|
| D | print-sunatm.c | 78 u_char vpi; in sunatm_if_print() local 109 vpi = p[VPI_POS]; in sunatm_if_print() 114 atm_print(vpi, vci, traftype, p, length, caplen); in sunatm_if_print()
|
| /freebsd-9-stable/sys/netnatm/ |
| D | natm_pcb.c | 105 npcb_add(struct natmpcb *npcb, struct ifnet *ifp, u_int16_t vci, u_int8_t vpi) in npcb_add() argument 116 vpi == cpcb->npcb_vpi) in npcb_add() 142 cpcb->npcb_vpi = vpi; in npcb_add()
|
| D | natm.c | 217 op.param.vpi = npcb->npcb_vpi; in natm_usr_connect() 255 cl.vpi = npcb->npcb_vpi; in natm_usr_disconnect()
|
| /freebsd-9-stable/sbin/atm/atmconfig/ |
| D | natm.c | 65 u_int vpi, vci; member 144 r->vpi = GET1(); in store_route() 535 u_int vpi, vci; in natm_delete() local 581 vpi = parse_num(argv[1], "VPI", 0xff); in natm_delete() 585 if (r->aif == aif && r->vpi == vpi && r->vci == vci) in natm_delete() 589 vpi, vci); in natm_delete() 657 printf("%-12s%-4u%-6u%-9s%-4s", r->aif->ifname, r->vpi, r->vci, in natm_show()
|
| D | atmconfig.help | 179 atmconfig [common-options] natm add <dest> <device> <vpi> <vci> 184 atmconfig [common-options] natm del <device> <vpi> <vci> 192 <vpi> <vci> <encaps> [<traffic> [<params> ...]] 210 or: atmconfig [common-options] natm delete [-printonly] <device> <vpi> <vci> 215 by the destination address or by the <device><vpi><vci> triple.
|
| D | diag.c | 906 v->vpi, v->vci); in print_channel() 935 v->vpi, v->vci); in print_traffic() 972 v->vpi, v->vci); in print_abr()
|
| /freebsd-9-stable/sys/netinet/ |
| D | if_atm.c | 157 GET1BYTE(op.param.vpi, addr, alen); in atm_rtrequest() 169 GET1BYTE(op.param.vpi, addr, alen); in atm_rtrequest() 226 npcb = npcb_add(NULL, rt->rt_ifp, op.param.vci, op.param.vpi); in atm_rtrequest() 295 cl.vpi = *addr++; in atm_rtrequest()
|
| /freebsd-9-stable/sys/dev/fatm/ |
| D | if_fatm.c | 1484 u_int vci, vpi, pt; in fatm_intr_drain_rx() local 1533 vpi = (h >> 20) & 0xff; in fatm_intr_drain_rx() 1540 if (!VC_OK(sc, vpi, vci)) in fatm_intr_drain_rx() 1548 DBG(sc, RCV, ("RCV: vc=%u.%u pt=%u mlen=%d %s", vpi, vci, in fatm_intr_drain_rx() 1562 ATM_PH_VPI(&aph) = vpi; in fatm_intr_drain_rx() 2001 H_SETDESC(tpd->atm_header, TDX_MKHDR(vc->param.vpi, in fatm_tx() 2042 u_int mlen, vpi, vci; in fatm_start() local 2081 vpi = ATM_PH_VPI(&aph); in fatm_start() 2092 if (!VC_OK(sc, vpi, vci) || (vc = sc->vccs[vci]) == NULL || in fatm_start() 2121 fatm_start_vcc(struct fatm_softc *sc, u_int vpi, u_int vci, uint32_t cmd, in fatm_start_vcc() argument [all …]
|
| /freebsd-9-stable/contrib/libpcap/ |
| D | pcap-dag.c | 75 unsigned char vpi; /* VPI */ member 424 sunatm->vpi = (rawatm >> 20) & 0x00ff; in dag_read() 426 ((sunatm->vpi == 0 && sunatm->vci == htons(5)) ? 6 : in dag_read() 427 ((sunatm->vpi == 0 && sunatm->vci == htons(16)) ? 5 : in dag_read()
|
| D | scanner.l | 299 vpi return VPI;
|
| /freebsd-9-stable/usr.sbin/bsnmpd/modules/snmp_atm/ |
| D | atm_sys.c | 145 (uintptr_t)(((arg->vpi & 0xff) << 24) | in handle_atm_message()
|
| /freebsd-9-stable/sys/contrib/ngatm/netnatm/msg/ |
| D | unistruct.h | 1344 u_int vpi:12; member 1352 u_int vpi:12; member
|
| D | uni_ie.c | 6073 uni_print_entry(cx, "vpi", "%d", ie->vpi); in DEF_IE_PRINT() 6094 uni_print_entry(cx, "vpi", "%d", ie->vpi); in DEF_IE_PRINT() 6105 if(ie->vpi >= 1 << 12) in DEF_IE_CHECK() 6125 if(ie->vpi >= 1 << 12) in DEF_IE_CHECK() 6145 APP_16BIT(msg, ie->vpi); in DEF_IE_ENCODE() 6164 APP_16BIT(msg, ie->vpi); in DEF_IE_ENCODE() 6192 ie->vpi = *msg->b_rptr++ << 8; in DEF_IE_DECODE() 6193 ie->vpi |= *msg->b_rptr++; in DEF_IE_DECODE() 6238 ie->vpi = *msg->b_rptr++ << 8; in DEF_IE_DECODE() 6239 ie->vpi |= *msg->b_rptr++; in DEF_IE_DECODE()
|
| /freebsd-9-stable/sys/dev/en/ |
| D | midway.c | 1176 op->param.vpi, op->param.vci, op->param.flags)); in en_open_vcc() 1178 if (op->param.vpi != 0 || op->param.vci >= MID_N_VC) in en_open_vcc() 1260 DBG(sc, IOCTL, ("disable vpi=%d, vci=%d", cl->vpi, cl->vci)); in en_close_vcc() 1262 if (cl->vpi != 0 || cl->vci >= MID_N_VC) in en_close_vcc()
|