HomeSort by relevance Sort by last modified time
    Searched refs:EXTRACT_16BITS (Results 1 - 25 of 96) sorted by null

1 2 3 4

  /external/tcpdump/
print-frag6.c 49 EXTRACT_16BITS(&dp->ip6f_offlg) & IP6F_OFF_MASK,
50 sizeof(struct ip6_hdr) + EXTRACT_16BITS(&ip6->ip6_plen) -
54 EXTRACT_16BITS(&dp->ip6f_offlg) & IP6F_OFF_MASK,
55 sizeof(struct ip6_hdr) + EXTRACT_16BITS(&ip6->ip6_plen) -
60 if ((EXTRACT_16BITS(&dp->ip6f_offlg) & IP6F_OFF_MASK) != 0)
print-ipx.c 82 EXTRACT_16BITS(&ipx->srcSkt)));
86 EXTRACT_16BITS(&ipx->dstSkt)));
90 length = EXTRACT_16BITS(&ipx->length);
114 dstSkt = EXTRACT_16BITS(&ipx->dstSkt);
155 command = EXTRACT_16BITS(ipx);
168 ND_PRINT((ndo, " %s", ipxsap_string(htons(EXTRACT_16BITS(&ipx[0])))));
180 ND_PRINT((ndo, " %s '", ipxsap_string(htons(EXTRACT_16BITS(&ipx[0])))));
207 command = EXTRACT_16BITS(ipx);
217 EXTRACT_16BITS(&ipx[2]), EXTRACT_16BITS(&ipx[3])))
    [all...]
print-l2tp.c 286 ND_PRINT((ndo, "%u", EXTRACT_16BITS(dat)));
304 EXTRACT_16BITS(ptr))));
312 ND_PRINT((ndo, "%u", EXTRACT_16BITS(ptr))); ptr++; /* Result Code */
314 ND_PRINT((ndo, "/%u", EXTRACT_16BITS(ptr))); ptr++;
325 ND_PRINT((ndo, "%u.%u", (EXTRACT_16BITS(dat) >> 8),
326 (EXTRACT_16BITS(dat) & 0xff)));
404 "AuthType-#%u", EXTRACT_16BITS(ptr))));
412 ND_PRINT((ndo, "%u", EXTRACT_16BITS(ptr) & L2TP_PROXY_AUTH_ID_MASK));
423 val_h = EXTRACT_16BITS(ptr); ptr++;
424 val_l = EXTRACT_16BITS(ptr); ptr++
    [all...]
print-lwres.c 218 l = EXTRACT_16BITS(p);
239 l = EXTRACT_16BITS(p);
260 l = EXTRACT_16BITS(&ap->length);
307 v = EXTRACT_16BITS(&np->version);
315 response = EXTRACT_16BITS(&np->pktflags) & LWRES_LWPACKETFLAG_RESPONSE;
323 v = EXTRACT_16BITS(&np->pktflags);
334 ND_PRINT((ndo, " authtype:0x%x", EXTRACT_16BITS(&np->authtype)));
335 ND_PRINT((ndo, " authlen:%u", EXTRACT_16BITS(&np->authlength)));
364 l = EXTRACT_16BITS(&gabn->namelen);
421 EXTRACT_16BITS(&grbn->rdtype))))
    [all...]
print-stp.c 108 EXTRACT_16BITS(&stp_bpdu->port_id), length));
117 (float)EXTRACT_16BITS(&stp_bpdu->message_age) / STP_TIME_BASE,
118 (float)EXTRACT_16BITS(&stp_bpdu->max_age) / STP_TIME_BASE,
119 (float)EXTRACT_16BITS(&stp_bpdu->hello_time) / STP_TIME_BASE,
120 (float)EXTRACT_16BITS(&stp_bpdu->forward_delay) / STP_TIME_BASE));
262 ND_PRINT((ndo, "CIST port-id %04x, ", EXTRACT_16BITS(&stp_bpdu->port_id)));
266 (float)EXTRACT_16BITS(&stp_bpdu->message_age) / STP_TIME_BASE,
267 (float)EXTRACT_16BITS(&stp_bpdu->max_age) / STP_TIME_BASE,
268 (float)EXTRACT_16BITS(&stp_bpdu->hello_time) / STP_TIME_BASE,
269 (float)EXTRACT_16BITS(&stp_bpdu->forward_delay) / STP_TIME_BASE))
    [all...]
print-ldp.c 253 tlv_len=EXTRACT_16BITS(ldp_tlv_header->length);
259 tlv_type=LDP_MASK_TLV_TYPE(EXTRACT_16BITS(ldp_tlv_header->type));
268 LDP_MASK_U_BIT(EXTRACT_16BITS(&ldp_tlv_header->type)) ? "continue processing" : "ignore",
269 LDP_MASK_F_BIT(EXTRACT_16BITS(&ldp_tlv_header->type)) ? "do" : "don't"));
278 EXTRACT_16BITS(tptr),
279 (EXTRACT_16BITS(tptr+2)&0x8000) ? "Targeted" : "Link",
280 (EXTRACT_16BITS(tptr+2)&0x4000) ? ", Request for targeted Hellos" : ""));
300 af = EXTRACT_16BITS(tptr);
333 EXTRACT_16BITS(tptr), EXTRACT_16BITS(tptr+2)
    [all...]
print-sll.c 138 ND_PRINT((ndo, "%3s ",tok2str(sll_pkttype_values,"?",EXTRACT_16BITS(&sllp->sll_pkttype))));
145 if (EXTRACT_16BITS(&sllp->sll_halen) == 6)
149 ether_type = EXTRACT_16BITS(&sllp->sll_protocol);
225 ether_type = EXTRACT_16BITS(&sllp->sll_protocol);
281 uint16_t tag = EXTRACT_16BITS(p);
286 ether_type = EXTRACT_16BITS(p + 2);
print-lmp.c 396 tlen=EXTRACT_16BITS(lmp_com_header->length);
412 lmp_obj_len=EXTRACT_16BITS(lmp_obj_header->length);
516 EXTRACT_16BITS(obj_tptr),
517 EXTRACT_16BITS(obj_tptr+2)));
542 EXTRACT_16BITS(obj_tptr)>>8)));
567 EXTRACT_16BITS(obj_tptr)>>8)));
582 subobj_type = EXTRACT_16BITS(obj_tptr+offset)>>8;
583 subobj_len = EXTRACT_16BITS(obj_tptr+offset)&0x00FF;
595 EXTRACT_16BITS(obj_tptr+offset+2)>>8),
596 EXTRACT_16BITS(obj_tptr+offset+2)>>8))
    [all...]
print-mpcp.c 145 opcode = EXTRACT_16BITS(mpcp.common_header->opcode);
177 EXTRACT_16BITS(mpcp.grant->duration)));
182 ND_PRINT((ndo, "\n\tSync-Time %u ticks", EXTRACT_16BITS(tptr)));
206 EXTRACT_16BITS(tptr)));
228 EXTRACT_16BITS(mpcp.reg->assigned_port),
230 EXTRACT_16BITS(mpcp.reg->sync_time),
239 EXTRACT_16BITS(mpcp.reg_ack->echoed_assigned_port),
241 EXTRACT_16BITS(mpcp.reg_ack->echoed_sync_time)));
print-rsvp.c 500 parameter_length = EXTRACT_16BITS(tptr+2)<<2; /* convert wordcount to bytecount */
664 rsvp_obj_len=EXTRACT_16BITS(rsvp_obj_header->length);
722 EXTRACT_16BITS(obj_tptr + 6)));
737 EXTRACT_16BITS(obj_tptr + sizeof(struct in6_addr) + 2)));
748 EXTRACT_16BITS(obj_tptr+18),
760 EXTRACT_16BITS(obj_tptr+6),
772 EXTRACT_16BITS(obj_tptr+6),
    [all...]
print-lane.c 71 ND_PRINT((ndo, "lecid:%x ", EXTRACT_16BITS(bp)));
93 if (EXTRACT_16BITS(&lec->lec_header) == 0xff00) {
99 tok2str(lecop2str, "opcode-#%u", EXTRACT_16BITS(&lec->lec_opcode))));
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);
609 lspping_subtlv_type=EXTRACT_16BITS(lspping_subtlv_header->type);
610 lspping_subtlv_len=EXTRACT_16BITS(lspping_subtlv_header->length);
670 EXTRACT_16BITS(subtlv_ptr.lspping_tlv_targetfec_subtlv_rsvp_ipv4->lsp_id),
671 EXTRACT_16BITS(subtlv_ptr.lspping_tlv_targetfec_subtlv_rsvp_ipv4->tunnel_id)
    [all...]
print-igrp.c 89 mtu = EXTRACT_16BITS(igr->igr_mtu);
116 nint = EXTRACT_16BITS(&hdr->ig_ni);
117 nsys = EXTRACT_16BITS(&hdr->ig_ns);
118 next = EXTRACT_16BITS(&hdr->ig_nx);
124 EXTRACT_16BITS(&hdr->ig_as),
print-sctp.c 537 sourcePort = EXTRACT_16BITS(&sctpPktHdr->source);
538 destPort = EXTRACT_16BITS(&sctpPktHdr->destination);
586 chunkLength = EXTRACT_16BITS(&chunkDescPtr->chunkLength);
639 ND_PRINT((ndo, "[SID: %u] ", EXTRACT_16BITS(&dataHdrPtr->streamId)));
640 ND_PRINT((ndo, "[SSEQ %u] ", EXTRACT_16BITS(&dataHdrPtr->sequence)));
651 if (EXTRACT_16BITS(&chunkDescPtr->chunkLength) <
653 ND_PRINT((ndo, "bogus chunk length %u]", EXTRACT_16BITS(&chunkDescPtr->chunkLength)));
657 payload_size = EXTRACT_16BITS(&chunkDescPtr->chunkLength) -
687 ND_PRINT((ndo, "[OS: %u] ", EXTRACT_16BITS(&init->NumPreopenStreams)));
688 ND_PRINT((ndo, "[MIS: %u] ", EXTRACT_16BITS(&init->MaxInboundStreams)))
    [all...]
print-domain.c 332 i = EXTRACT_16BITS(cp);
336 i = EXTRACT_16BITS(cp);
373 typ = EXTRACT_16BITS(cp);
376 i = EXTRACT_16BITS(cp);
392 opt_flags = EXTRACT_16BITS(cp);
406 len = EXTRACT_16BITS(cp);
461 ND_PRINT((ndo, " %d", EXTRACT_16BITS(cp)));
480 ND_PRINT((ndo, ":%d %d %d", EXTRACT_16BITS(cp + 4),
481 EXTRACT_16BITS(cp), EXTRACT_16BITS(cp + 2)))
    [all...]
print-udld.c 111 ND_PRINT((ndo, "\n\tChecksum 0x%04x (unverified)", EXTRACT_16BITS(tptr+2)));
119 type = EXTRACT_16BITS(tptr);
120 len = EXTRACT_16BITS(tptr+2);
print-forces.c 160 #define ForCES_BLN(forcesh) ((uint32_t)(EXTRACT_16BITS(&(forcesh)->fm_len) << 2))
392 #define TLV_RDAT_LEN(tlv) ((int)(EXTRACT_16BITS(&(tlv)->length) - TLV_SET_LEN(0))
394 #define GO_NXT_TLV(tlv,rlen) ((rlen) -= F_ALN_LEN(EXTRACT_16BITS(&(tlv)->length)), \
396 + F_ALN_LEN(EXTRACT_16BITS(&(tlv)->length))))
421 if (EXTRACT_16BITS(&tlv->length) < TLV_HDRL)
423 if (EXTRACT_16BITS(&tlv->length) > rlen)
425 if (rlen < F_ALN_LEN(EXTRACT_16BITS(&tlv->length)))
698 type = EXTRACT_16BITS(&tlv->type);
779 type = EXTRACT_16BITS(&tlv->type);
810 type = EXTRACT_16BITS(&kdtlv->type)
    [all...]
print-cnfp.c 170 ver = EXTRACT_16BITS(&nh->version);
206 EXTRACT_16BITS(&nr->srcport)));
209 EXTRACT_16BITS(&nr->dstport)));
260 ver = EXTRACT_16BITS(&nh->version);
298 EXTRACT_16BITS(&nr->src_as));
300 EXTRACT_16BITS(&nr->srcport)));
304 EXTRACT_16BITS(&nr->dst_as));
306 EXTRACT_16BITS(&nr->dstport)));
357 ver = EXTRACT_16BITS(&nh->version);
395 EXTRACT_16BITS(&nr->src_as))
    [all...]
print-gre.c 94 vers = EXTRACT_16BITS(bp) & GRE_VERS_MASK;
116 flags = EXTRACT_16BITS(bp);
126 prot = EXTRACT_16BITS(bp);
134 ND_PRINT((ndo, ", sum 0x%x", EXTRACT_16BITS(bp)));
140 ND_PRINT((ndo, ", off 0x%x", EXTRACT_16BITS(bp)));
169 af = EXTRACT_16BITS(bp);
236 flags = EXTRACT_16BITS(bp);
246 prot = EXTRACT_16BITS(bp);
390 EXTRACT_16BITS(bp)));
print-eigrp.c 255 EXTRACT_16BITS(&eigrp_com_header->checksum),
271 eigrp_tlv_len=EXTRACT_16BITS(&eigrp_tlv_header->length);
272 eigrp_tlv_type=EXTRACT_16BITS(&eigrp_tlv_header->type);
300 EXTRACT_16BITS(tlv_ptr.eigrp_tlv_general_parm->holdtime),
388 EXTRACT_16BITS(&tlv_ptr.eigrp_tlv_at_cable_setup->cable_start),
389 EXTRACT_16BITS(&tlv_ptr.eigrp_tlv_at_cable_setup->cable_end),
397 EXTRACT_16BITS(&tlv_ptr.eigrp_tlv_at_int->cable_start),
398 EXTRACT_16BITS(&tlv_ptr.eigrp_tlv_at_int->cable_end)));
404 EXTRACT_16BITS(&tlv_ptr.eigrp_tlv_at_int->nexthop),
405 EXTRACT_16BITS(&tlv_ptr.eigrp_tlv_at_int->nexthop[2])))
    [all...]
print-ap1394.c 63 firewire_type = EXTRACT_16BITS(&fp->firewire_type);
102 ether_type = EXTRACT_16BITS(&fp->firewire_type);
print-dtp.c 75 type = EXTRACT_16BITS(tptr);
76 len = EXTRACT_16BITS(tptr+2);
print-mobile.c 80 proto = EXTRACT_16BITS(&mob->proto);
81 crc = EXTRACT_16BITS(&mob->hcheck);
print-mobility.c 143 EXTRACT_16BITS(&bp[i+2]) << 2));
158 EXTRACT_16BITS(&bp[i+2]),
159 EXTRACT_16BITS(&bp[i+4])));
250 ND_PRINT((ndo, " nonce id=0x%x", EXTRACT_16BITS(&mh->ip6m_data16[0])));
272 ND_PRINT((ndo, " seq#=%u", EXTRACT_16BITS(&mh->ip6m_data16[0])));
291 ND_PRINT((ndo, " lifetime=%u", EXTRACT_16BITS(&bp[hlen]) << 2));
303 ND_PRINT((ndo, " seq#=%u", EXTRACT_16BITS(&bp[hlen])));
307 ND_PRINT((ndo, " lifetime=%u", EXTRACT_16BITS(&bp[hlen]) << 2));
print-msdp.c 40 len = EXTRACT_16BITS(sp + 1);
47 len = EXTRACT_16BITS(sp + 1);

Completed in 351 milliseconds

1 2 3 4