/freebsd-9.3-release/contrib/tcpdump/ |
H A D | print-sunatm.c | 78 u_char vpi; local 109 vpi = p[VPI_POS]; 114 atm_print(vpi, vci, traftype, p, length, caplen);
|
H A D | print-atm.c | 293 atm_print(u_int vpi, u_int vci, u_int traftype, const u_char *p, u_int length, argument 297 printf("VPI:%u VCI:%u ", vpi, vci); 299 if (vpi == 0) { 360 u_int16_t vpi, vci, cksum, cksum_shouldbe, idx; local 373 vpi = (cell_header>>20)&0xff; 378 printf("%s, vpi %u, vci %u, payload [ %s ], clp %u, length %u", 380 vpi, vci,
|
/freebsd-9.3-release/sys/netnatm/ |
H A D | natm_pcb.c | 105 npcb_add(struct natmpcb *npcb, struct ifnet *ifp, u_int16_t vci, u_int8_t vpi) argument 116 vpi == cpcb->npcb_vpi) 142 cpcb->npcb_vpi = vpi; 158 db_printf("if=%s, vci=%d, vpi=%d, IP=0x%x, sock=%p, "
|
H A D | natm.c | 217 op.param.vpi = npcb->npcb_vpi; 255 cl.vpi = npcb->npcb_vpi;
|
/freebsd-9.3-release/sys/net/ |
H A D | if_atm.h | 125 uint16_t vpi; member in struct:atmio_vcc 199 uint16_t vpi; member in struct:atmio_closevcc 268 uint16_t vpi; /* channel that is changed */ member in struct:atmev_flow_control 279 uint16_t vpi; /* channel that is changed */ member in struct:atmev_vcc_changed 285 uint16_t vpi; /* channel that is changed */ member in struct:atmev_acr_changed 305 _arg.vpi = (VPI); \ 314 _arg.vpi = (VPI); \ 332 _arg.vpi = (VPI); \
|
/freebsd-9.3-release/sys/netgraph/atm/ |
H A D | ng_atm.h | 103 { "vpi", &ng_parse_uint16_type }, \ 134 uint16_t vpi; /* VPI to open */ member in struct:ngm_atm_cpcs_init 158 { "vpi", &ng_parse_uint16_type }, \ 221 uint8_t vpi; member in struct:ngm_atm_vcc_change 228 { "vpi", &ng_parse_uint8_type }, \ 236 uint8_t vpi; member in struct:ngm_atm_acr_change 243 { "vpi", &ng_parse_uint8_type }, \
|
H A D | ng_atm.c | 92 uint16_t vpi; /* VPI of this hook */ member in struct:ngvcc 511 ATM_PH_VPI(aph) = vcc->vpi; 551 if (vcc->vci == ev->vci && vcc->vpi == ev->vpi) 583 chg->vpi = ev->vpi; 616 if (vcc->vci == ev->vci && vcc->vpi == ev->vpi) 629 acr->vpi = ev->vpi; 805 cpcs_term(const struct priv *priv, u_int vpi, u_int vci) argument [all...] |
/freebsd-9.3-release/usr.sbin/ppp/ |
H A D | atm.c | 168 atm_CreateDevice(struct physical *p, const char *iface, unsigned vpi, argument 183 sock.snatm_vpi = vpi; 187 iface, vpi, vci); 216 unsigned vci, vpi; local 219 &vpi, &vci) != 3) { 221 "PPPoA:if:vpi.vci expected\n", p->name.full); 225 dev = atm_CreateDevice(p, iface, vpi, vci);
|
/freebsd-9.3-release/sys/dev/hatm/ |
H A D | if_hatm_ioctl.c | 101 DBG(sc, VCC, ("Open VCC: %u.%u flags=%#x", arg->param.vpi, 104 if ((arg->param.vpi & ~HE_VPI_MASK) || 108 cid = HE_CID(arg->param.vpi, arg->param.vci); 191 ATMEV_SEND_VCC_CHANGED(IFP2IFATM(sc->ifp), vcc->param.vpi, 223 DBG(sc, VCC, ("Close VCC: %u.%u", arg->vpi, arg->vci)); 225 if((arg->vpi & ~HE_VPI_MASK) || 229 cid = HE_CID(arg->vpi, arg->vci);
|
H A D | if_hatm_rx.c | 87 u_int vpi, vci; local 235 vpi = HE_VPI(cid); 239 ATM_PH_VPI(&aph) = vpi;
|
H A D | if_hatm_tx.c | 236 u_int vpi, vci; member in struct:load_txbuf_arg 281 arg->vpi, arg->vci, 1); 383 arg.vpi = ATM_PH_VPI(aph); 392 if ((arg.vpi & ~HE_VPI_MASK) || (arg.vci & ~HE_VCI_MASK) || 398 cid = HE_CID(arg.vpi, arg.vci);
|
/freebsd-9.3-release/sys/dev/patm/ |
H A D | if_patm_ioctl.c | 85 patm_debug(sc, VCC, "Open VCC: %u.%u flags=%#x", arg->param.vpi, 88 if (!LEGAL_VPI(sc, arg->param.vpi) || !LEGAL_VCI(sc, arg->param.vci)) 90 if (arg->param.vci == 0 && (arg->param.vpi != 0 || 94 cid = PATM_CID(sc, arg->param.vpi, arg->param.vci); 203 ATMEV_SEND_VCC_CHANGED(IFP2IFATM(sc->ifp), vcc->vcc.vpi, 220 patm_debug(sc, VCC, "Close VCC: %u.%u", arg->vpi, arg->vci); 222 if (!LEGAL_VPI(sc, arg->vpi) || !LEGAL_VCI(sc, arg->vci)) 224 cid = PATM_CID(sc, arg->vpi, arg->vci); 279 ATMEV_SEND_VCC_CHANGED(IFP2IFATM(sc->ifp), vcc->vcc.vpi,
|
H A D | if_patm_rx.c | 110 patm_debug(sc, VCC, "%u.%u RX opening", vcc->vcc.vpi, vcc->vcc.vci); 145 patm_debug(sc, VCC, "%u.%u RX closing", vcc->vcc.vpi, vcc->vcc.vci); 185 vcc->vcc.vpi, vcc->vcc.vci); 217 patm_debug(sc, VCC, "%u.%u RX closed", vcc->vcc.vpi, 431 u_int vpi, vci, cid; local 447 vpi = ((cell[0] & 0xf) << 4) | ((cell[1] & 0xf0) >> 4); 449 cid = PATM_CID(sc, vpi, vci); 521 ATM_PH_VPI(&aph) = vcc->vcc.vpi;
|
H A D | if_patm_tx.c | 270 patm_debug(sc, VCC, "%u.%u TX closed", vcc->vcc.vpi, vcc->vcc.vci); 288 u_int vpi, vci, cid; local 312 vpi = ATM_PH_VPI(aph); 323 if (!LEGAL_VPI(sc, vpi) || !LEGAL_VCI(sc, vci) || vci == 0) { 328 cid = PATM_CID(sc, vpi, vci); 529 a.hdr = IDT_TBD_HDR(a.vcc->vcc.vpi, a.vcc->vcc.vci, 749 ATMEV_SEND_ACR_CHANGED(IFP2IFATM(sc->ifp), vcc->vcc.vpi, 1150 vcc->vcc.vpi, vcc->vcc.vci, (int)qptr - (int)last);
|
/freebsd-9.3-release/sbin/atm/atmconfig/ |
H A D | natm.c | 65 u_int vpi, vci; member in struct:natm_route 144 r->vpi = GET1(); 535 u_int vpi, vci; local 581 vpi = parse_num(argv[1], "VPI", 0xff); 585 if (r->aif == aif && r->vpi == vpi && r->vci == vci) 589 vpi, vci); 657 printf("%-12s%-4u%-6u%-9s%-4s", r->aif->ifname, r->vpi, r->vci,
|
H A 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.
|
H A D | diag.c | 906 v->vpi, v->vci); 935 v->vpi, v->vci); 972 v->vpi, v->vci);
|
/freebsd-9.3-release/sys/netinet/ |
H A D | if_atm.c | 157 GET1BYTE(op.param.vpi, addr, alen); 169 GET1BYTE(op.param.vpi, addr, alen); 226 npcb = npcb_add(NULL, rt->rt_ifp, op.param.vci, op.param.vpi); 295 cl.vpi = *addr++;
|
/freebsd-9.3-release/contrib/libpcap/ |
H A D | pcap-dag.c | 75 unsigned char vpi; /* VPI */ member in struct:sunatm_hdr 424 sunatm->vpi = (rawatm >> 20) & 0x00ff; 426 ((sunatm->vpi == 0 && sunatm->vci == htons(5)) ? 6 : 427 ((sunatm->vpi == 0 && sunatm->vci == htons(16)) ? 5 :
|
H A D | scanner.l | 299 vpi return VPI;
|
/freebsd-9.3-release/usr.sbin/bsnmpd/modules/snmp_atm/ |
H A D | atm_sys.c | 145 (uintptr_t)(((arg->vpi & 0xff) << 24) |
|
/freebsd-9.3-release/sys/dev/fatm/ |
H A D | if_fatm.c | 1484 u_int vci, vpi, pt; local 1533 vpi = (h >> 20) & 0xff; 1540 if (!VC_OK(sc, vpi, vci)) 1548 DBG(sc, RCV, ("RCV: vc=%u.%u pt=%u mlen=%d %s", vpi, vci, 1562 ATM_PH_VPI(&aph) = vpi; 2001 H_SETDESC(tpd->atm_header, TDX_MKHDR(vc->param.vpi, 2042 u_int mlen, vpi, vci; local 2081 vpi = ATM_PH_VPI(&aph); 2092 if (!VC_OK(sc, vpi, vci) || (vc = sc->vccs[vci]) == NULL || 2121 fatm_start_vcc(struct fatm_softc *sc, u_int vpi, u_in argument [all...] |
/freebsd-9.3-release/sys/contrib/ngatm/netnatm/msg/ |
H A D | unistruct.h | 1344 u_int vpi:12; member in struct:uni_ie_calling_soft 1352 u_int vpi:12; member in struct:uni_ie_called_soft
|
H A D | uni_ie.c | 6073 uni_print_entry(cx, "vpi", "%d", ie->vpi); 6094 uni_print_entry(cx, "vpi", "%d", ie->vpi); 6105 if(ie->vpi >= 1 << 12) 6125 if(ie->vpi >= 1 << 12) 6145 APP_16BIT(msg, ie->vpi); 6164 APP_16BIT(msg, ie->vpi); 6192 ie->vpi = *msg->b_rptr++ << 8; 6193 ie->vpi | [all...] |
/freebsd-9.3-release/sys/dev/en/ |
H A D | midway.c | 984 DBG(sc, TX, ("output vpi=%u, vci=%u -- drop", 1175 DBG(sc, IOCTL, ("enable vpi=%d, vci=%d, flags=%#x", 1176 op->param.vpi, op->param.vci, op->param.flags)); 1178 if (op->param.vpi != 0 || op->param.vci >= MID_N_VC) 1260 DBG(sc, IOCTL, ("disable vpi=%d, vci=%d", cl->vpi, cl->vci)); 1262 if (cl->vpi != 0 || cl->vci >= MID_N_VC)
|