/external/tcpdump/ |
print-frag6.c | 57 EXTRACT_16BITS(&dp->ip6f_offlg) & IP6F_OFF_MASK, 58 sizeof(struct ip6_hdr) + EXTRACT_16BITS(&ip6->ip6_plen) - 62 EXTRACT_16BITS(&dp->ip6f_offlg) & IP6F_OFF_MASK, 63 sizeof(struct ip6_hdr) + EXTRACT_16BITS(&ip6->ip6_plen) - 69 if ((EXTRACT_16BITS(&dp->ip6f_offlg) & IP6F_OFF_MASK) != 0)
|
print-l2tp.c | 257 printf("%u", EXTRACT_16BITS(dat)); 275 EXTRACT_16BITS(ptr))); 283 printf("%u", EXTRACT_16BITS(ptr)); ptr++; /* Result Code */ 285 printf("/%u", EXTRACT_16BITS(ptr)); ptr++; 296 printf("%u.%u", (EXTRACT_16BITS(dat) >> 8), 297 (EXTRACT_16BITS(dat) & 0xff)); 375 "AuthType-#%u", EXTRACT_16BITS(ptr))); 383 printf("%u", EXTRACT_16BITS(ptr) & L2TP_PROXY_AUTH_ID_MASK); 394 val_h = EXTRACT_16BITS(ptr); ptr++; 395 val_l = EXTRACT_16BITS(ptr); ptr++ [all...] |
print-lmp.c | 401 tlen=EXTRACT_16BITS(lmp_com_header->length); 418 lmp_obj_len=EXTRACT_16BITS(lmp_obj_header->length); 523 EXTRACT_16BITS(obj_tptr), 524 EXTRACT_16BITS(obj_tptr+2)); 549 EXTRACT_16BITS(obj_tptr)>>8)); 574 EXTRACT_16BITS(obj_tptr)>>8)); 589 subobj_type = EXTRACT_16BITS(obj_tptr+offset)>>8; 590 subobj_len = EXTRACT_16BITS(obj_tptr+offset)&0x00FF; 602 EXTRACT_16BITS(obj_tptr+offset+2)>>8), 603 EXTRACT_16BITS(obj_tptr+offset+2)>>8) [all...] |
print-ipx.c | 65 EXTRACT_16BITS(&ipx->srcSkt)); 69 EXTRACT_16BITS(&ipx->dstSkt)); 73 length = EXTRACT_16BITS(&ipx->length); 97 dstSkt = EXTRACT_16BITS(&ipx->dstSkt); 138 command = EXTRACT_16BITS(ipx); 151 (void)printf(" %s", ipxsap_string(htons(EXTRACT_16BITS(&ipx[0])))); 163 (void)printf(" %s '", ipxsap_string(htons(EXTRACT_16BITS(&ipx[0])))); 190 command = EXTRACT_16BITS(ipx); 200 EXTRACT_16BITS(&ipx[2]), EXTRACT_16BITS(&ipx[3])) [all...] |
print-netbios.c | 75 EXTRACT_16BITS(ipx->srcSkt)); 79 EXTRACT_16BITS(ipx->dstSkt)); 87 length = EXTRACT_16BITS(&ipx->length);
|
print-ldp.c | 256 tlv_len=EXTRACT_16BITS(ldp_tlv_header->length); 258 tlv_type=LDP_MASK_TLV_TYPE(EXTRACT_16BITS(ldp_tlv_header->type)); 267 LDP_MASK_U_BIT(EXTRACT_16BITS(&ldp_tlv_header->type)) ? "continue processing" : "ignore", 268 LDP_MASK_F_BIT(EXTRACT_16BITS(&ldp_tlv_header->type)) ? "do" : "don't"); 276 EXTRACT_16BITS(tptr), 277 (EXTRACT_16BITS(tptr+2)&0x8000) ? "Targeted" : "Link", 278 (EXTRACT_16BITS(tptr+2)&0x4000) ? ", Request for targeted Hellos" : ""); 294 af = EXTRACT_16BITS(tptr); 320 EXTRACT_16BITS(tptr), EXTRACT_16BITS(tptr+2) [all...] |
print-lwres.c | 225 l = EXTRACT_16BITS(p); 245 l = EXTRACT_16BITS(p); 265 l = EXTRACT_16BITS(&ap->length); 311 v = EXTRACT_16BITS(&np->version); 319 response = EXTRACT_16BITS(&np->pktflags) & LWRES_LWPACKETFLAG_RESPONSE; 327 v = EXTRACT_16BITS(&np->pktflags); 338 printf(" authtype:0x%x", EXTRACT_16BITS(&np->authtype)); 339 printf(" authlen:%u", EXTRACT_16BITS(&np->authlength)); 368 l = EXTRACT_16BITS(&gabn->namelen); 425 EXTRACT_16BITS(&grbn->rdtype))) [all...] |
print-sctp.c | 102 sourcePort = EXTRACT_16BITS(&sctpPktHdr->source); 103 destPort = EXTRACT_16BITS(&sctpPktHdr->destination); 143 chunkLength = EXTRACT_16BITS(&chunkDescPtr->chunkLength); 192 printf("[SID: %u] ", EXTRACT_16BITS(&dataHdrPtr->streamId)); 193 printf("[SSEQ %u] ", EXTRACT_16BITS(&dataHdrPtr->sequence)); 231 printf("[OS: %u] ", EXTRACT_16BITS(&init->NumPreopenStreams)); 232 printf("[MIS: %u] ", EXTRACT_16BITS(&init->MaxInboundStreams)); 250 printf("[OS: %u] ", EXTRACT_16BITS(&init->NumPreopenStreams)); 251 printf("[MIS: %u] ", EXTRACT_16BITS(&init->MaxInboundStreams)); 272 printf("[#gap acks %u] ", EXTRACT_16BITS(&sack->numberOfdesc)) [all...] |
print-stp.c | 112 EXTRACT_16BITS(&stp_bpdu->port_id), length); 121 (float)EXTRACT_16BITS(&stp_bpdu->message_age) / STP_TIME_BASE, 122 (float)EXTRACT_16BITS(&stp_bpdu->max_age) / STP_TIME_BASE, 123 (float)EXTRACT_16BITS(&stp_bpdu->hello_time) / STP_TIME_BASE, 124 (float)EXTRACT_16BITS(&stp_bpdu->forward_delay) / STP_TIME_BASE); 218 EXTRACT_16BITS(&stp_bpdu->port_id), length); 223 (float)EXTRACT_16BITS(&stp_bpdu->message_age) / STP_TIME_BASE, 224 (float)EXTRACT_16BITS(&stp_bpdu->max_age) / STP_TIME_BASE, 225 (float)EXTRACT_16BITS(&stp_bpdu->hello_time) / STP_TIME_BASE, 226 (float)EXTRACT_16BITS(&stp_bpdu->forward_delay) / STP_TIME_BASE) [all...] |
print-sip.c | 47 if (EXTRACT_16BITS(pptr+idx) != 0x0d0a) { /* linefeed ? */
|
print-lspping.c | 499 if (EXTRACT_16BITS(&lspping_com_header->version[0]) != LSPPING_VERSION) { 501 EXTRACT_16BITS(&lspping_com_header->version[0])); 508 EXTRACT_16BITS(&lspping_com_header->version[0]), 520 EXTRACT_16BITS(&lspping_com_header->version[0]), 574 lspping_tlv_type=EXTRACT_16BITS(lspping_tlv_header->type); 575 lspping_tlv_len=EXTRACT_16BITS(lspping_tlv_header->length); 610 lspping_subtlv_type=EXTRACT_16BITS(lspping_subtlv_header->type); 611 lspping_subtlv_len=EXTRACT_16BITS(lspping_subtlv_header->length); 671 EXTRACT_16BITS(subtlv_ptr.lspping_tlv_targetfec_subtlv_rsvp_ipv4->lsp_id), 672 EXTRACT_16BITS(subtlv_ptr.lspping_tlv_targetfec_subtlv_rsvp_ipv4->tunnel_id) [all...] |
print-igrp.c | 65 mtu = EXTRACT_16BITS(igr->igr_mtu); 92 nint = EXTRACT_16BITS(&hdr->ig_ni); 93 nsys = EXTRACT_16BITS(&hdr->ig_ns); 94 next = EXTRACT_16BITS(&hdr->ig_nx); 100 EXTRACT_16BITS(&hdr->ig_as),
|
print-lane.c | 71 EXTRACT_16BITS(&ep->le_header), 77 EXTRACT_16BITS(&ep->le_header), 106 if (EXTRACT_16BITS(&lec->lec_header) == 0xff00) { 112 tok2str(lecop2str, "opcode-#%u", EXTRACT_16BITS(&lec->lec_opcode))); 132 ether_type = EXTRACT_16BITS(&ep->h_type);
|
print-pim.c | 131 ((njoin = EXTRACT_16BITS(&bp[20])) + EXTRACT_16BITS(&bp[22])) == 1) { 135 hold = EXTRACT_16BITS(&bp[6]); 160 relts_print(EXTRACT_16BITS(&bp[6])); 183 njoin = EXTRACT_16BITS(&bp[8]); 184 nprune = EXTRACT_16BITS(&bp[10]); 246 relts_print(EXTRACT_16BITS(&bp[10])); 277 relts_print(EXTRACT_16BITS(&bp[22])); 352 hold = EXTRACT_16BITS(&bp[2]); 354 relts_print(EXTRACT_16BITS(&bp[2])) [all...] |
print-atalk.c | 138 snet = EXTRACT_16BITS(&dp->srcNet); 142 ataddr_string(EXTRACT_16BITS(&dp->dstNet), dp->dstNode), 183 snet = EXTRACT_16BITS(&dp->srcNet); 187 ataddr_string(EXTRACT_16BITS(&dp->dstNet), dp->dstNode), 204 if (EXTRACT_16BITS(&ap->htype) == 1 && 205 EXTRACT_16BITS(&ap->ptype) == ETHERTYPE_ATALK && 207 switch (EXTRACT_16BITS(&ap->op)) { 225 length, EXTRACT_16BITS(&ap->op), EXTRACT_16BITS(&ap->htype), 226 EXTRACT_16BITS(&ap->ptype), ap->halen, ap->palen) [all...] |
print-rsvp.c | 487 parameter_length = EXTRACT_16BITS(tptr+2)<<2; /* convert wordcount to bytecount */ 642 rsvp_obj_len=EXTRACT_16BITS(rsvp_obj_header->length); 700 EXTRACT_16BITS(obj_tptr+6)); 715 EXTRACT_16BITS(obj_tptr+sizeof(struct in6_addr)+2)); 726 EXTRACT_16BITS(obj_tptr+18), 739 EXTRACT_16BITS(obj_tptr+6), [all...] |
print-domain.c | 331 i = EXTRACT_16BITS(cp); 335 i = EXTRACT_16BITS(cp); 374 typ = EXTRACT_16BITS(cp); 377 i = EXTRACT_16BITS(cp); 394 opt_flags = EXTRACT_16BITS(cp); 398 len = EXTRACT_16BITS(cp); 453 printf(" %d", EXTRACT_16BITS(cp)); 472 printf(":%d %d %d", EXTRACT_16BITS(cp + 4), 473 EXTRACT_16BITS(cp), EXTRACT_16BITS(cp + 2)) [all...] |
print-rip.c | 102 family = EXTRACT_16BITS(&ni->rip_family); 108 if (EXTRACT_16BITS(&ni->rip_tag) || 127 family = EXTRACT_16BITS(&ni->rip_family); 129 if (EXTRACT_16BITS(&ni->rip_tag) == 2) { /* simple text authentication ? */ 139 EXTRACT_16BITS(&ni->rip_tag)); 150 EXTRACT_16BITS(&ni->rip_tag),
|
print-slow.c | 202 EXTRACT_16BITS(tlv_ptr.lacp_tlv_actor_partner_info->sys_pri), 203 EXTRACT_16BITS(tlv_ptr.lacp_tlv_actor_partner_info->key), 204 EXTRACT_16BITS(tlv_ptr.lacp_tlv_actor_partner_info->port), 205 EXTRACT_16BITS(tlv_ptr.lacp_tlv_actor_partner_info->port_pri), 216 EXTRACT_16BITS(tlv_ptr.lacp_tlv_collector_info->max_delay)); 225 EXTRACT_16BITS(tlv_ptr.marker_tlv_marker_info->req_port),
|
print-sll.c | 58 printf("%3s ",tok2str(sll_pkttype_values,"?",EXTRACT_16BITS(&sllp->sll_pkttype))); 65 if (EXTRACT_16BITS(&sllp->sll_halen) == 6) 69 ether_type = EXTRACT_16BITS(&sllp->sll_protocol);
|
print-tftp.c | 90 opcode = EXTRACT_16BITS(&tp->th_opcode); 137 printf(" block %d", EXTRACT_16BITS(&tp->th_block)); 144 EXTRACT_16BITS(&tp->th_code)));
|
print-gre.c | 100 vers = EXTRACT_16BITS(bp) & GRE_VERS_MASK; 124 flags = EXTRACT_16BITS(bp); 134 prot = EXTRACT_16BITS(bp); 142 printf(", sum 0x%x", EXTRACT_16BITS(bp)); 148 printf(", off 0x%x", EXTRACT_16BITS(bp)); 177 af = EXTRACT_16BITS(bp); 243 flags = EXTRACT_16BITS(bp); 253 prot = EXTRACT_16BITS(bp); 394 EXTRACT_16BITS(bp));
|
print-eigrp.c | 261 EXTRACT_16BITS(&eigrp_com_header->checksum), 277 eigrp_tlv_len=EXTRACT_16BITS(&eigrp_tlv_header->length); 278 eigrp_tlv_type=EXTRACT_16BITS(&eigrp_tlv_header->type); 306 EXTRACT_16BITS(tlv_ptr.eigrp_tlv_general_parm->holdtime), 394 EXTRACT_16BITS(&tlv_ptr.eigrp_tlv_at_cable_setup->cable_start), 395 EXTRACT_16BITS(&tlv_ptr.eigrp_tlv_at_cable_setup->cable_end), 403 EXTRACT_16BITS(&tlv_ptr.eigrp_tlv_at_int->cable_start), 404 EXTRACT_16BITS(&tlv_ptr.eigrp_tlv_at_int->cable_end)); 410 EXTRACT_16BITS(&tlv_ptr.eigrp_tlv_at_int->nexthop), 411 EXTRACT_16BITS(&tlv_ptr.eigrp_tlv_at_int->nexthop[2])) [all...] |
print-mobile.c | 86 proto = EXTRACT_16BITS(&mob->proto); 87 crc = EXTRACT_16BITS(&mob->hcheck);
|
print-mobility.c | 127 EXTRACT_16BITS(&bp[i+2]) << 2); 142 EXTRACT_16BITS(&bp[i+2]), 143 EXTRACT_16BITS(&bp[i+4])); 228 printf(" nonce id=0x%x", EXTRACT_16BITS(&mh->ip6m_data16[0])); 250 printf(" seq#=%d", EXTRACT_16BITS(&mh->ip6m_data16[0])); 269 printf(" lifetime=%d", EXTRACT_16BITS(&bp[hlen]) << 2); 281 printf(" seq#=%d", EXTRACT_16BITS(&bp[hlen])); 285 printf(" lifetime=%d", EXTRACT_16BITS(&bp[hlen]) << 2);
|