/external/tcpdump/ |
print-token.c | 76 #define BROADCAST(trp) ((EXTRACT_16BITS(&(trp)->token_rcf) & 0xE000) >> 13) 77 #define RIF_LENGTH(trp) ((EXTRACT_16BITS(&(trp)->token_rcf) & 0x1f00) >> 8) 78 #define DIRECTION(trp) ((EXTRACT_16BITS(&(trp)->token_rcf) & 0x0080) >> 7) 79 #define LARGEST_FRAME(trp) ((EXTRACT_16BITS(&(trp)->token_rcf) & 0x0070) >> 4) 80 #define RING_NUMBER(trp, x) ((EXTRACT_16BITS(&(trp)->token_rseg[x]) & 0xfff0) >> 4) 81 #define BRIDGE_NUMBER(trp, x) ((EXTRACT_16BITS(&(trp)->token_rseg[x]) & 0x000f)) 195 ND_PRINT((ndo, "rt = %x", EXTRACT_16BITS(&trp->token_rcf))); 198 ND_PRINT((ndo, ":%x", EXTRACT_16BITS(&trp->token_rseg[seg])));
|
print-babel.c | 356 bodylen = EXTRACT_16BITS(cp + 2); 397 nonce = EXTRACT_16BITS(message + 4); 398 interval = EXTRACT_16BITS(message + 6); 411 nonce = EXTRACT_16BITS(message + 2); 424 seqno = EXTRACT_16BITS(message + 4); 425 interval = EXTRACT_16BITS(message + 6); 443 txcost = EXTRACT_16BITS(message + 4); 444 interval = EXTRACT_16BITS(message + 6); 506 interval = EXTRACT_16BITS(message + 6); 507 seqno = EXTRACT_16BITS(message + 8) [all...] |
print-ospf.c | 195 tlv_type = EXTRACT_16BITS(tptr); 196 tlv_length = EXTRACT_16BITS(tptr+2); 282 tlv_type = EXTRACT_16BITS(tptr); 283 tlv_length = EXTRACT_16BITS(tptr+2); 312 subtlv_type = EXTRACT_16BITS(tptr); 313 subtlv_length = EXTRACT_16BITS(tptr+2); 457 ls_length = EXTRACT_16BITS(&lshp->ls_length); 468 EXTRACT_16BITS(&lshp->ls_age), 536 EXTRACT_16BITS(&tos->metrics.tos_metric))); 577 j = EXTRACT_16BITS(&lsap->lsa_un.un_rla.rla_count) [all...] |
print-atalk.c | 129 snet = EXTRACT_16BITS(&dp->srcNet); 133 ataddr_string(ndo, EXTRACT_16BITS(&dp->dstNet), dp->dstNode), 175 snet = EXTRACT_16BITS(&dp->srcNet); 179 ataddr_string(ndo, EXTRACT_16BITS(&dp->dstNet), dp->dstNode), 197 if (EXTRACT_16BITS(&ap->htype) == 1 && 198 EXTRACT_16BITS(&ap->ptype) == ETHERTYPE_ATALK && 200 switch (EXTRACT_16BITS(&ap->op)) { 215 length, EXTRACT_16BITS(&ap->op), EXTRACT_16BITS(&ap->htype), 216 EXTRACT_16BITS(&ap->ptype), ap->halen, ap->palen)) [all...] |
print-egp.c | 227 EXTRACT_16BITS(&egp->egp_as), 228 EXTRACT_16BITS(&egp->egp_sequence), 264 EXTRACT_16BITS(&egp->egp_hello), 265 EXTRACT_16BITS(&egp->egp_poll))); 346 if (EXTRACT_16BITS(&egp->egp_reason) <= EGPR_UVERSION) 347 ND_PRINT((ndo, " %s", egp_reasons[EXTRACT_16BITS(&egp->egp_reason)])); 349 ND_PRINT((ndo, " [reason %d]", EXTRACT_16BITS(&egp->egp_reason)));
|
print-rip.c | 102 family = EXTRACT_16BITS(&ni->rip_family); 108 if (EXTRACT_16BITS(&ni->rip_tag) || 132 family = EXTRACT_16BITS(&ni->rip_family); 134 uint16_t auth_type = EXTRACT_16BITS(&ni->rip_tag); 143 ND_PRINT((ndo, " Packet Len %u,", EXTRACT_16BITS((uint8_t *)ni + 4))); 155 EXTRACT_16BITS(&ni->rip_tag))); 166 EXTRACT_16BITS(&ni->rip_tag),
|
print-geonet.c | 77 uint16_t dest = EXTRACT_16BITS(bp+0); 78 uint16_t src = EXTRACT_16BITS(bp+2); 128 payload_length = EXTRACT_16BITS(bp+4);
|
print-olsr.c | 288 length = min(length, EXTRACT_16BITS(ptr.common->packet_len)); 292 EXTRACT_16BITS(ptr.common->packet_seq), 319 msg_len = EXTRACT_16BITS(msgptr.v6->msg_len); 336 EXTRACT_16BITS(msgptr.v6->msg_seq), 350 msg_len = EXTRACT_16BITS(msgptr.v4->msg_len); 367 EXTRACT_16BITS(msgptr.v4->msg_seq), 400 hello_len = EXTRACT_16BITS(ptr.hello_link->len); 451 EXTRACT_16BITS(ptr.tc->ans_seq))); 545 u_int name_entries = EXTRACT_16BITS(msg_data+2); 562 EXTRACT_16BITS(msg_data) [all...] |
print-tftp.c | 122 opcode = EXTRACT_16BITS(&tp->th_opcode); 161 ND_PRINT((ndo, " block %d", EXTRACT_16BITS(&tp->th_block))); 168 EXTRACT_16BITS(&tp->th_code))));
|
print-pim.c | 148 ((njoin = EXTRACT_16BITS(&bp[20])) + EXTRACT_16BITS(&bp[22])) == 1) { 152 hold = EXTRACT_16BITS(&bp[6]); 177 relts_print(ndo, EXTRACT_16BITS(&bp[6])); 198 njoin = EXTRACT_16BITS(&bp[8]); 199 nprune = EXTRACT_16BITS(&bp[10]); 262 relts_print(ndo, EXTRACT_16BITS(&bp[10])); 284 relts_print(ndo, EXTRACT_16BITS(&bp[22])); 349 hold = EXTRACT_16BITS(&bp[2]); 351 relts_print(ndo, EXTRACT_16BITS(&bp[2])) [all...] |
print-carp.c | 75 EXTRACT_16BITS(&bp[6])));
|
print-ipcomp.c | 53 cpi = EXTRACT_16BITS(&ipcomp->comp_cpi);
|
print-pppoe.c | 109 pppoe_sessionid = EXTRACT_16BITS(pppoe_packet + 2); 110 pppoe_length = EXTRACT_16BITS(pppoe_packet + 4); 144 tag_type = EXTRACT_16BITS(p); 145 tag_len = EXTRACT_16BITS(p + 2);
|
print-rrcp.c | 109 EXTRACT_16BITS(rrcp + RRCP_AUTHKEY_OFFSET))); 119 EXTRACT_16BITS(rrcp + RRCP_CHIP_ID_OFFSET)));
|
print-symantec.c | 49 etype = EXTRACT_16BITS(&sp->ether_type); 94 ether_type = EXTRACT_16BITS(&sp->ether_type);
|
print-cdp.c | 110 ND_PRINT((ndo, ", checksum: 0x%04x (unverified), length %u", EXTRACT_16BITS(tptr+CDP_HEADER_CHECKSUM_OFFSET), length)); 115 type = EXTRACT_16BITS(tptr+CDP_TLV_TYPE_OFFSET); 116 len = EXTRACT_16BITS(tptr+CDP_TLV_LEN_OFFSET); /* object length includes the 4 bytes header length */ 197 ND_PRINT((ndo, "%d", EXTRACT_16BITS(tptr))); 211 ND_PRINT((ndo, "app %d, vlan %d", *(tptr), EXTRACT_16BITS(tptr + 1))); 304 al = EXTRACT_16BITS(&p[pl]); /* address length */
|
print-pgm.c | 197 sport = EXTRACT_16BITS(&pgm->pgm_sport); 198 dport = EXTRACT_16BITS(&pgm->pgm_dport); 229 ND_PRINT((ndo, "PGM, length %u", EXTRACT_16BITS(&pgm->pgm_length))); 248 switch (EXTRACT_16BITS(&spm->pgms_nla_afi)) { 284 EXTRACT_16BITS(&poll->pgmp_round))); 295 switch (EXTRACT_16BITS(&polr->pgmp_nla_afi)) { 331 EXTRACT_16BITS(&polr->pgmp_round), nla_buf, ivl, rnd, mask)); 377 switch (EXTRACT_16BITS(&nak->pgmn_source_afi)) { 401 switch (EXTRACT_16BITS(bp)) { 488 opts_len = EXTRACT_16BITS(bp) [all...] |
print-lldp.c | 663 EXTRACT_16BITS(tptr + 4))); 670 EXTRACT_16BITS(tptr+5), 678 ND_PRINT((ndo, "\n\t vlan id (VID): %u", EXTRACT_16BITS(tptr + 4))); 784 ND_PRINT((ndo, "Protocol ID: %d", EXTRACT_16BITS(tptr + i + 5))); [all...] |
print-slow.c | 386 EXTRACT_16BITS(tlv_ptr.lacp_tlv_actor_partner_info->sys_pri), 387 EXTRACT_16BITS(tlv_ptr.lacp_tlv_actor_partner_info->key), 388 EXTRACT_16BITS(tlv_ptr.lacp_tlv_actor_partner_info->port), 389 EXTRACT_16BITS(tlv_ptr.lacp_tlv_actor_partner_info->port_pri), 400 EXTRACT_16BITS(tlv_ptr.lacp_tlv_collector_info->max_delay))); 409 EXTRACT_16BITS(tlv_ptr.marker_tlv_marker_info->req_port), 488 EXTRACT_16BITS(&ptr.slow_oam_common_header->flags)))); 521 EXTRACT_16BITS(&tlv.slow_oam_info->revision))); 531 EXTRACT_16BITS(&tlv.slow_oam_info->oam_pdu_config) & 600 EXTRACT_16BITS(&tlv.slow_oam_link_event->time_stamp)*100 [all...] |
print-openflow-1.0.c | [all...] |
print-ppp.c | 446 len = EXTRACT_16BITS(tptr); 521 tok2str(ppptype2str,"unknown", EXTRACT_16BITS(tptr)), 522 EXTRACT_16BITS(tptr))); 633 ND_PRINT((ndo, ": %u", EXTRACT_16BITS(p + 2))); 649 ND_PRINT((ndo, ": %s", tok2str(ppptype2str, "Unknown Auth Proto (0x04x)", EXTRACT_16BITS(p + 2)))); 651 switch (EXTRACT_16BITS(p+2)) { 671 if (EXTRACT_16BITS(p+2) == PPP_LQM) 694 ND_PRINT((ndo, ": 0x%04x", EXTRACT_16BITS(p + 2))); 713 ND_PRINT((ndo, ": %u", EXTRACT_16BITS(p + 2))); 814 (EXTRACT_16BITS(p))&0x0fff, /* only support 12-Bit sequence space for now * [all...] |
print-icmp.c | 361 EXTRACT_16BITS(&dp->icmp_id), 362 EXTRACT_16BITS(&dp->icmp_seq)); 383 dport = EXTRACT_16BITS(&ouh->uh_dport); 413 mtu = EXTRACT_16BITS(&mp->nexthopmtu); 457 lifetime = EXTRACT_16BITS(&ihp->ird_lifetime); 535 EXTRACT_16BITS(&dp->icmp_id), 536 EXTRACT_16BITS(&dp->icmp_seq)); 543 EXTRACT_16BITS(&dp->icmp_id), 544 EXTRACT_16BITS(&dp->icmp_seq), 566 icmp_sum = EXTRACT_16BITS(&dp->icmp_cksum) [all...] |
print-ospf6.c | 397 EXTRACT_16BITS(&lshp->ls_age), 398 EXTRACT_16BITS(&lshp->ls_length)-(u_int)sizeof(struct lsa6_hdr))); 400 ospf6_print_ls_type(ndo, EXTRACT_16BITS(&lshp->ls_type), &lshp->ls_stateid); 437 ND_PRINT((ndo, ", metric %u", EXTRACT_16BITS(&lsapp->lsa_p_metric))); 475 length = EXTRACT_16BITS(&lsap->ls_hdr.ls_length); 488 switch (EXTRACT_16BITS(&lsap->ls_hdr.ls_type)) { 538 ND_PRINT((ndo, ", metric %d", EXTRACT_16BITS(&rlp->link_metric))); 674 EXTRACT_16BITS(&lsap->lsa_un.un_intra_ap.intra_ap_lstype), 681 prefixes = EXTRACT_16BITS(&lsap->lsa_un.un_intra_ap.intra_ap_nprefix); 743 EXTRACT_16BITS(&hellop->hello_helloint) [all...] |
print-isoclns.c | 823 EXTRACT_16BITS(clnp_header->segment_length), 824 EXTRACT_16BITS(clnp_header->cksum))); 826 osi_print_cksum(ndo, optr, EXTRACT_16BITS(clnp_header->cksum), 7, 842 EXTRACT_16BITS(clnp_segment_header->data_unit_id), 843 EXTRACT_16BITS(clnp_segment_header->segment_offset), 844 EXTRACT_16BITS(clnp_segment_header->total_length))); [all...] |
extract.h | 92 EXTRACT_16BITS(const void *p) 118 #define EXTRACT_16BITS(p) \ 142 EXTRACT_16BITS(const void *p)
|