/freebsd-9.3-release/contrib/tcpdump/ |
H A D | print-sunatm.c | 77 u_short vci; local 108 vci = EXTRACT_16BITS(&p[VCI_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); 300 switch (vci) { 360 u_int16_t vpi, vci, cksum, cksum_shouldbe, idx; local 374 vci = (cell_header>>4)&0xffff; 378 printf("%s, vpi %u, vci %u, payload [ %s ], clp %u, length %u", 379 tok2str(oam_f_values, "OAM F5", vci), 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 115 if (ifp == cpcb->npcb_ifp && vci == cpcb->npcb_vci && 141 cpcb->npcb_vci = vci; 158 db_printf("if=%s, vci=%d, vpi=%d, IP=0x%x, sock=%p, "
|
H A D | natm.c | 218 op.param.vci = npcb->npcb_vci; 256 cl.vci = npcb->npcb_vci;
|
/freebsd-9.3-release/sys/net/ |
H A D | if_atm.h | 126 uint16_t vci; member in struct:atmio_vcc 200 uint16_t vci; member in struct:atmio_closevcc 269 uint16_t vci; member in struct:atmev_flow_control 280 uint16_t vci; member in struct:atmev_vcc_changed 286 uint16_t vci; member in struct:atmev_acr_changed 306 _arg.vci = (VCI); \ 315 _arg.vci = (VCI); \ 333 _arg.vci = (VCI); \
|
/freebsd-9.3-release/sys/dev/hatm/ |
H A D | if_hatm_ioctl.c | 102 arg->param.vci, arg->param.flags)); 105 (arg->param.vci & ~HE_VCI_MASK) || 106 (arg->param.vci == 0)) 108 cid = HE_CID(arg->param.vpi, arg->param.vci); 192 vcc->param.vci, 1); 223 DBG(sc, VCC, ("Close VCC: %u.%u", arg->vpi, arg->vci)); 226 (arg->vci & ~HE_VCI_MASK) || 227 (arg->vci == 0)) 229 cid = HE_CID(arg->vpi, arg->vci);
|
H A D | if_hatm_rx.c | 87 u_int vpi, vci; local 236 vci = HE_VCI(cid); 240 ATM_PH_SETVCI(&aph, vci);
|
H A D | if_hatm_tx.c | 236 u_int vpi, vci; member in struct:load_txbuf_arg 281 arg->vpi, arg->vci, 1); 382 arg.vci = ATM_PH_VCI(aph); 392 if ((arg.vpi & ~HE_VPI_MASK) || (arg.vci & ~HE_VCI_MASK) || 393 (arg.vci == 0)) { 398 cid = HE_CID(arg.vpi, arg.vci);
|
/freebsd-9.3-release/sys/netgraph/atm/ |
H A D | ng_atm.h | 104 { "vci", &ng_parse_uint16_type }, \ 133 uint16_t vci; /* VCI to open */ member in struct:ngm_atm_cpcs_init 157 { "vci", &ng_parse_uint16_type }, \ 220 uint16_t vci; member in struct:ngm_atm_vcc_change 227 { "vci", &ng_parse_uint16_type }, \ 235 uint16_t vci; member in struct:ngm_atm_acr_change 242 { "vci", &ng_parse_uint16_type }, \
|
H A D | ng_atm.c | 93 uint16_t vci; /* VCI of this hook, 0 if none */ member in struct:ngvcc 494 if (vcc->vci == 0) { 512 ATM_PH_SETVCI(aph, vcc->vci); 551 if (vcc->vci == ev->vci && vcc->vpi == ev->vpi) 582 chg->vci = ev->vci; 616 if (vcc->vci == ev->vci && vcc->vpi == ev->vpi) 628 acr->vci 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 | 169 unsigned vci) 184 sock.snatm_vci = vci; 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); 168 atm_CreateDevice(struct physical *p, const char *iface, unsigned vpi, unsigned vci) argument
|
/freebsd-9.3-release/sys/dev/patm/ |
H A D | if_patm_ioctl.c | 86 arg->param.vci, arg->param.flags); 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); 134 if (arg->param.vci == 0 && 204 vcc->vcc.vci, 1); 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); 280 vcc->vcc.vci, [all...] |
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); 218 vcc->vcc.vci); 431 u_int vpi, vci, cid; local 448 vci = ((cell[1] & 0xf) << 12) | (cell[2] << 4) | ((cell[3] & 0xf0) >> 4); 449 cid = PATM_CID(sc, vpi, vci); 522 ATM_PH_SETVCI(&aph, vcc->vcc.vci);
|
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 311 vci = ATM_PH_VCI(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, 750 vcc->vcc.vci, cps); 1150 vcc->vcc.vpi, vcc->vcc.vci, (int)qptr - (int)last);
|
/freebsd-9.3-release/sys/netinet/ |
H A D | if_atm.c | 158 GET2BYTE(op.param.vci, addr, alen); 170 GET2BYTE(op.param.vci, addr, alen); 226 npcb = npcb_add(NULL, rt->rt_ifp, op.param.vci, op.param.vpi); 296 cl.vci = *addr++ << 8; 297 cl.vci |= *addr++;
|
/freebsd-9.3-release/sys/dev/en/ |
H A D | midway.c | 505 u_int vci; member in struct:txarg 587 sc->vccs[tx->vci]->txspeed, 592 tmp = MID_TBD_MK2(tx->vci, 0, 0); 727 MBUF_GET_TX(tx.m, tx.vci, tx.flags, tx.datalen, pad, map); 778 sc->vccs[tx.vci]->opackets++; 779 sc->vccs[tx.vci]->obytes += tx.datalen; 963 u_int vci; /* the VCI we are transmitting on */ local 979 vci = ATM_PH_VCI(ap); 981 if (ATM_PH_VPI(ap) != 0 || vci >= MID_N_VC || 982 (vc = sc->vccs[vci]) 1761 uint32_t vci; local [all...] |
/freebsd-9.3-release/sbin/atm/atmconfig/ |
H A D | natm.c | 65 u_int vpi, vci; member in struct:natm_route 146 r->vci = GET2(); 535 u_int vpi, vci; local 582 vci = parse_num(argv[2], "VCI", 0xffff); 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/dev/fatm/ |
H A D | if_fatm.c | 1484 u_int vci, vpi, pt; local 1534 vci = (h >> 4 ) & 0xffff; 1540 if (!VC_OK(sc, vpi, vci)) 1542 else if ((vc = sc->vccs[vci]) == NULL || 1543 !(sc->vccs[vci]->vflags & FATM_VCC_OPEN)) { 1548 DBG(sc, RCV, ("RCV: vc=%u.%u pt=%u mlen=%d %s", vpi, vci, 1563 ATM_PH_SETVCI(&aph, vci); 2002 vc->param.vci, 0, 0)); 2042 u_int mlen, vpi, vci; local 2080 vci 2121 fatm_start_vcc(struct fatm_softc *sc, u_int vpi, u_int vci, uint32_t cmd, u_int mtu, void (*func)(struct fatm_softc *, struct cmdqueue *)) argument 2193 u_int vci; local 2363 u_int vci; local [all...] |
/freebsd-9.3-release/sys/contrib/ngatm/netnatm/sig/ |
H A D | sig_reset.c | 294 u->u.restart_ack.connid.vci == uni->connid_start.vci))) 518 u->u.restart.connid.vci == c->connid.vci))) { 670 uni->connid_respond.vci);
|
H A D | unimkmsg.h | 98 (IE).u.vpci.vci = VCI; \
|
/freebsd-9.3-release/contrib/libpcap/ |
H A D | pcap-dag.c | 76 unsigned short vci; /* VCI */ member in struct:sunatm_hdr 423 sunatm->vci = htons((rawatm >> 4) & 0xffff); 426 ((sunatm->vpi == 0 && sunatm->vci == htons(5)) ? 6 : 427 ((sunatm->vpi == 0 && sunatm->vci == htons(16)) ? 5 :
|
/freebsd-9.3-release/sys/contrib/ngatm/netnatm/msg/ |
H A D | unistruct.h | 732 uint16_t vci; member in struct:uni_ie_cause::__anon6273::__anon6278 768 u_int vci : 16; member in struct:uni_ie_connid 1345 u_int vci:16; member in struct:uni_ie_calling_soft 1353 u_int vci:16; member in struct:uni_ie_called_soft
|
/freebsd-9.3-release/usr.sbin/bsnmpd/modules/snmp_atm/ |
H A D | atm_sys.c | 146 ((arg->vci & 0xffff) << 8) | (arg->state & 1)));
|