Home
last modified time | relevance | path

Searched refs:EXTRACT_16BITS (Results 1 – 25 of 101) sorted by relevance

12345

/external/tcpdump/
Dprint-l2tp.c287 ND_PRINT((ndo, "%u", EXTRACT_16BITS(dat))); in print_16bits_val()
309 EXTRACT_16BITS(ptr)))); in l2tp_msgtype_print()
322 ND_PRINT((ndo, "%u", EXTRACT_16BITS(ptr))); in l2tp_result_code_print()
333 ND_PRINT((ndo, "/%u", EXTRACT_16BITS(ptr))); in l2tp_result_code_print()
351 ND_PRINT((ndo, "%u.%u", (EXTRACT_16BITS(dat) >> 8), in l2tp_proto_ver_print()
352 (EXTRACT_16BITS(dat) & 0xff))); in l2tp_proto_ver_print()
456 "AuthType-#%u", EXTRACT_16BITS(ptr)))); in l2tp_proxy_auth_type_print()
468 ND_PRINT((ndo, "%u", EXTRACT_16BITS(ptr) & L2TP_PROXY_AUTH_ID_MASK)); in l2tp_proxy_auth_id_print()
488 val_h = EXTRACT_16BITS(ptr); ptr++; length -= 2; in l2tp_call_errors_print()
489 val_l = EXTRACT_16BITS(ptr); ptr++; length -= 2; in l2tp_call_errors_print()
[all …]
Dprint-lwres.c219 l = EXTRACT_16BITS(p); in lwres_printnamelen()
240 l = EXTRACT_16BITS(p); in lwres_printbinlen()
261 l = EXTRACT_16BITS(&ap->length); in lwres_printaddr()
306 v = EXTRACT_16BITS(&np->version); in lwres_print()
314 response = EXTRACT_16BITS(&np->pktflags) & LWRES_LWPACKETFLAG_RESPONSE; in lwres_print()
322 v = EXTRACT_16BITS(&np->pktflags); in lwres_print()
333 ND_PRINT((ndo, " authtype:0x%x", EXTRACT_16BITS(&np->authtype))); in lwres_print()
334 ND_PRINT((ndo, " authlen:%u", EXTRACT_16BITS(&np->authlength))); in lwres_print()
363 l = EXTRACT_16BITS(&gabn->namelen); in lwres_print()
420 EXTRACT_16BITS(&grbn->rdtype)))); in lwres_print()
[all …]
Dprint-ldp.c254 tlv_len=EXTRACT_16BITS(ldp_tlv_header->length); in ldp_tlv_print()
260 tlv_type=LDP_MASK_TLV_TYPE(EXTRACT_16BITS(ldp_tlv_header->type)); in ldp_tlv_print()
269 LDP_MASK_U_BIT(EXTRACT_16BITS(&ldp_tlv_header->type)) ? "continue processing" : "ignore", in ldp_tlv_print()
270 LDP_MASK_F_BIT(EXTRACT_16BITS(&ldp_tlv_header->type)) ? "do" : "don't")); in ldp_tlv_print()
279 EXTRACT_16BITS(tptr), in ldp_tlv_print()
280 (EXTRACT_16BITS(tptr+2)&0x8000) ? "Targeted" : "Link", in ldp_tlv_print()
281 (EXTRACT_16BITS(tptr+2)&0x4000) ? ", Request for targeted Hellos" : "")); in ldp_tlv_print()
299 af = EXTRACT_16BITS(tptr); in ldp_tlv_print()
330 EXTRACT_16BITS(tptr), EXTRACT_16BITS(tptr+2), in ldp_tlv_print()
331 (EXTRACT_16BITS(tptr+6)&0x8000) ? "On Demand" : "Unsolicited", in ldp_tlv_print()
[all …]
Dprint-stp.c112 EXTRACT_16BITS(&stp_bpdu->port_id), length)); in stp_print_config_bpdu()
122 (float)EXTRACT_16BITS(&stp_bpdu->message_age) / STP_TIME_BASE, in stp_print_config_bpdu()
123 (float)EXTRACT_16BITS(&stp_bpdu->max_age) / STP_TIME_BASE, in stp_print_config_bpdu()
124 (float)EXTRACT_16BITS(&stp_bpdu->hello_time) / STP_TIME_BASE, in stp_print_config_bpdu()
125 (float)EXTRACT_16BITS(&stp_bpdu->forward_delay) / STP_TIME_BASE)); in stp_print_config_bpdu()
274 ND_PRINT((ndo, "CIST port-id %04x,", EXTRACT_16BITS(&stp_bpdu->port_id))); in stp_print_mstp_bpdu()
279 (float)EXTRACT_16BITS(&stp_bpdu->message_age) / STP_TIME_BASE, in stp_print_mstp_bpdu()
280 (float)EXTRACT_16BITS(&stp_bpdu->max_age) / STP_TIME_BASE, in stp_print_mstp_bpdu()
281 (float)EXTRACT_16BITS(&stp_bpdu->hello_time) / STP_TIME_BASE, in stp_print_mstp_bpdu()
282 (float)EXTRACT_16BITS(&stp_bpdu->forward_delay) / STP_TIME_BASE)); in stp_print_mstp_bpdu()
[all …]
Dprint-forces.c160 #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) in tlv_valid()
423 if (EXTRACT_16BITS(&tlv->length) > rlen) in tlv_valid()
425 if (rlen < F_ALN_LEN(EXTRACT_16BITS(&tlv->length))) in tlv_valid()
698 type = EXTRACT_16BITS(&tlv->type); in fdatatlv_print()
779 type = EXTRACT_16BITS(&tlv->type); in sdatatlv_print()
810 type = EXTRACT_16BITS(&kdtlv->type); in pkeyitlv_print()
[all …]
Dprint-rsvp.c504 parameter_length = EXTRACT_16BITS(tptr+2)<<2; /* convert wordcount to bytecount */ in rsvp_intserv_print()
687 rsvp_obj_len=EXTRACT_16BITS(rsvp_obj_header->length); in rsvp_obj_print()
745 EXTRACT_16BITS(obj_tptr + 6))); in rsvp_obj_print()
759 EXTRACT_16BITS(obj_tptr + sizeof(struct in6_addr) + 2))); in rsvp_obj_print()
770 EXTRACT_16BITS(obj_tptr+18), in rsvp_obj_print()
782 EXTRACT_16BITS(obj_tptr+6), in rsvp_obj_print()
793 EXTRACT_16BITS(obj_tptr+6), in rsvp_obj_print()
805 EXTRACT_16BITS(obj_tptr+6), in rsvp_obj_print()
930 EXTRACT_16BITS(obj_tptr + 6))); in rsvp_obj_print()
940 EXTRACT_16BITS(obj_tptr + 18))); in rsvp_obj_print()
[all …]
Dprint-ipx.c82 EXTRACT_16BITS(&ipx->srcSkt))); in ipx_print()
86 EXTRACT_16BITS(&ipx->dstSkt))); in ipx_print()
90 length = EXTRACT_16BITS(&ipx->length); in ipx_print()
114 dstSkt = EXTRACT_16BITS(&ipx->dstSkt); in ipx_decode()
155 command = EXTRACT_16BITS(ipx); in ipx_sap_print()
168 ND_PRINT((ndo, " %s", ipxsap_string(ndo, htons(EXTRACT_16BITS(&ipx[0]))))); in ipx_sap_print()
180 ND_PRINT((ndo, " %s '", ipxsap_string(ndo, htons(EXTRACT_16BITS(&ipx[0]))))); in ipx_sap_print()
207 command = EXTRACT_16BITS(ipx); in ipx_rip_print()
217 EXTRACT_16BITS(&ipx[2]), EXTRACT_16BITS(&ipx[3]))); in ipx_rip_print()
225 EXTRACT_16BITS(&ipx[2]), EXTRACT_16BITS(&ipx[3]))); in ipx_rip_print()
Dprint-domain.c335 i = EXTRACT_16BITS(cp); in ns_qprint()
339 i = EXTRACT_16BITS(cp); in ns_qprint()
376 typ = EXTRACT_16BITS(cp); in ns_rprint()
379 i = EXTRACT_16BITS(cp); in ns_rprint()
395 opt_flags = EXTRACT_16BITS(cp); in ns_rprint()
409 len = EXTRACT_16BITS(cp); in ns_rprint()
464 ND_PRINT((ndo, " %d", EXTRACT_16BITS(cp))); in ns_rprint()
483 ND_PRINT((ndo, ":%d %d %d", EXTRACT_16BITS(cp + 4), in ns_rprint()
484 EXTRACT_16BITS(cp), EXTRACT_16BITS(cp + 2))); in ns_rprint()
553 ND_PRINT((ndo, " fudge=%u", EXTRACT_16BITS(cp))); in ns_rprint()
[all …]
Dprint-cnfp.c171 ver = EXTRACT_16BITS(&nh->version); in cnfp_v1_print()
207 EXTRACT_16BITS(&nr->srcport))); in cnfp_v1_print()
210 EXTRACT_16BITS(&nr->dstport))); in cnfp_v1_print()
260 ver = EXTRACT_16BITS(&nh->version); in cnfp_v5_print()
298 EXTRACT_16BITS(&nr->src_as)); in cnfp_v5_print()
300 EXTRACT_16BITS(&nr->srcport))); in cnfp_v5_print()
304 EXTRACT_16BITS(&nr->dst_as)); in cnfp_v5_print()
306 EXTRACT_16BITS(&nr->dstport))); in cnfp_v5_print()
356 ver = EXTRACT_16BITS(&nh->version); in cnfp_v6_print()
394 EXTRACT_16BITS(&nr->src_as)); in cnfp_v6_print()
[all …]
Dprint-frag6.c49 EXTRACT_16BITS(&dp->ip6f_offlg) & IP6F_OFF_MASK, in frag6_print()
50 sizeof(struct ip6_hdr) + EXTRACT_16BITS(&ip6->ip6_plen) - in frag6_print()
54 EXTRACT_16BITS(&dp->ip6f_offlg) & IP6F_OFF_MASK, in frag6_print()
55 sizeof(struct ip6_hdr) + EXTRACT_16BITS(&ip6->ip6_plen) - in frag6_print()
60 if ((EXTRACT_16BITS(&dp->ip6f_offlg) & IP6F_OFF_MASK) != 0) in frag6_print()
Dprint-lspping.c533 if (EXTRACT_16BITS(&lspping_com_header->version[0]) != LSPPING_VERSION) { in lspping_print()
535 EXTRACT_16BITS(&lspping_com_header->version[0]))); in lspping_print()
542 EXTRACT_16BITS(&lspping_com_header->version[0]), in lspping_print()
554 EXTRACT_16BITS(&lspping_com_header->version[0]), in lspping_print()
611 lspping_tlv_type=EXTRACT_16BITS(lspping_tlv_header->type); in lspping_print()
612 lspping_tlv_len=EXTRACT_16BITS(lspping_tlv_header->length); in lspping_print()
652 lspping_subtlv_type=EXTRACT_16BITS(lspping_subtlv_header->type); in lspping_print()
653 lspping_subtlv_len=EXTRACT_16BITS(lspping_subtlv_header->length); in lspping_print()
743EXTRACT_16BITS(subtlv_ptr.lspping_tlv_targetfec_subtlv_rsvp_ipv4->lsp_id), in lspping_print()
744EXTRACT_16BITS(subtlv_ptr.lspping_tlv_targetfec_subtlv_rsvp_ipv4->tunnel_id), in lspping_print()
[all …]
Dprint-mpcp.c144 opcode = EXTRACT_16BITS(mpcp.common_header->opcode); in mpcp_print()
176 EXTRACT_16BITS(mpcp.grant->duration))); in mpcp_print()
181 ND_PRINT((ndo, "\n\tSync-Time %u ticks", EXTRACT_16BITS(tptr))); in mpcp_print()
205 EXTRACT_16BITS(tptr))); in mpcp_print()
227 EXTRACT_16BITS(mpcp.reg->assigned_port), in mpcp_print()
229 EXTRACT_16BITS(mpcp.reg->sync_time), in mpcp_print()
238 EXTRACT_16BITS(mpcp.reg_ack->echoed_assigned_port), in mpcp_print()
240 EXTRACT_16BITS(mpcp.reg_ack->echoed_sync_time))); in mpcp_print()
Dprint-pim.c151 ((njoin = EXTRACT_16BITS(&bp[20])) + EXTRACT_16BITS(&bp[22])) == 1) { in pimv1_join_prune_print()
155 hold = EXTRACT_16BITS(&bp[6]); in pimv1_join_prune_print()
186 unsigned_relts_print(ndo, EXTRACT_16BITS(&bp[2])); in pimv1_join_prune_print()
219 njoin = EXTRACT_16BITS(&bp[0]); in pimv1_join_prune_print()
220 nprune = EXTRACT_16BITS(&bp[2]); in pimv1_join_prune_print()
281 unsigned_relts_print(ndo, EXTRACT_16BITS(&bp[10])); in pimv1_print()
303 unsigned_relts_print(ndo, EXTRACT_16BITS(&bp[22])); in pimv1_print()
374 hold = EXTRACT_16BITS(&bp[2]); in cisco_autorp_print()
376 unsigned_relts_print(ndo, EXTRACT_16BITS(&bp[2])); in cisco_autorp_print()
712 ND_PRINT((ndo, ", cksum 0x%04x ", EXTRACT_16BITS(&pim->pim_cksum))); in pimv2_print()
[all …]
Dprint-ospf.c196 tlv_type = EXTRACT_16BITS(tptr); in ospf_print_grace_lsa()
197 tlv_length = EXTRACT_16BITS(tptr+2); in ospf_print_grace_lsa()
283 tlv_type = EXTRACT_16BITS(tptr); in ospf_print_te_lsa()
284 tlv_length = EXTRACT_16BITS(tptr+2); in ospf_print_te_lsa()
313 subtlv_type = EXTRACT_16BITS(tptr); in ospf_print_te_lsa()
314 subtlv_length = EXTRACT_16BITS(tptr+2); in ospf_print_te_lsa()
519 ls_length = EXTRACT_16BITS(&lshp->ls_length); in ospf_print_lshdr()
530 EXTRACT_16BITS(&lshp->ls_age), in ospf_print_lshdr()
599 EXTRACT_16BITS(&tos->metrics.tos_metric))); in ospf_print_tos_metrics()
643 j = EXTRACT_16BITS(&lsap->lsa_un.un_rla.rla_count); in ospf_print_lsa()
[all …]
Dprint-openflow-1.0.c1153 ND_PRINT((ndo, "\n\t port_no %s", tok2str(ofpp_str, "%u", EXTRACT_16BITS(cp)))); in of10_phy_ports_print()
1231 property = EXTRACT_16BITS(cp); in of10_queue_props_print()
1236 plen = EXTRACT_16BITS(cp); in of10_queue_props_print()
1267 rate = EXTRACT_16BITS(cp); in of10_queue_props_print()
1309 desclen = EXTRACT_16BITS(cp); in of10_queues_print()
1359 ND_PRINT((ndo, "%smatch in_port %s", pfx, tok2str(ofpp_str, "%u", EXTRACT_16BITS(cp)))); in of10_match_print()
1374 ND_PRINT((ndo, "%smatch dl_vlan %s", pfx, vlan_str(EXTRACT_16BITS(cp)))); in of10_match_print()
1386 dl_type = EXTRACT_16BITS(cp); in of10_match_print()
1425 ND_PRINT((ndo, "%smatch %s %u", pfx, field_name, EXTRACT_16BITS(cp))); in of10_match_print()
1434 ND_PRINT((ndo, "%smatch %s %u", pfx, field_name, EXTRACT_16BITS(cp))); in of10_match_print()
[all …]
Dprint-babel.c353 bodylen = EXTRACT_16BITS(cp + 2); in babel_print_v2()
394 nonce = EXTRACT_16BITS(message + 4); in babel_print_v2()
395 interval = EXTRACT_16BITS(message + 6); in babel_print_v2()
408 nonce = EXTRACT_16BITS(message + 2); in babel_print_v2()
421 seqno = EXTRACT_16BITS(message + 4); in babel_print_v2()
422 interval = EXTRACT_16BITS(message + 6); in babel_print_v2()
440 txcost = EXTRACT_16BITS(message + 4); in babel_print_v2()
441 interval = EXTRACT_16BITS(message + 6); in babel_print_v2()
503 interval = EXTRACT_16BITS(message + 6); in babel_print_v2()
504 seqno = EXTRACT_16BITS(message + 8); in babel_print_v2()
[all …]
Dprint-token.c77 #define BROADCAST(trp) ((EXTRACT_16BITS(&(trp)->token_rcf) & 0xE000) >> 13)
78 #define RIF_LENGTH(trp) ((EXTRACT_16BITS(&(trp)->token_rcf) & 0x1f00) >> 8)
79 #define DIRECTION(trp) ((EXTRACT_16BITS(&(trp)->token_rcf) & 0x0080) >> 7)
80 #define LARGEST_FRAME(trp) ((EXTRACT_16BITS(&(trp)->token_rcf) & 0x0070) >> 4)
81 #define RING_NUMBER(trp, x) ((EXTRACT_16BITS(&(trp)->token_rseg[x]) & 0xfff0) >> 4)
82 #define BRIDGE_NUMBER(trp, x) ((EXTRACT_16BITS(&(trp)->token_rseg[x]) & 0x000f))
196 ND_PRINT((ndo, "rt = %x", EXTRACT_16BITS(&trp->token_rcf))); in token_print()
199 ND_PRINT((ndo, ":%x", EXTRACT_16BITS(&trp->token_rseg[seg]))); in token_print()
Dprint-eigrp.c263 EXTRACT_16BITS(&eigrp_com_header->checksum), in eigrp_print()
279 eigrp_tlv_len=EXTRACT_16BITS(&eigrp_tlv_header->length); in eigrp_print()
280 eigrp_tlv_type=EXTRACT_16BITS(&eigrp_tlv_header->type); in eigrp_print()
318 EXTRACT_16BITS(tlv_ptr.eigrp_tlv_general_parm->holdtime), in eigrp_print()
426 EXTRACT_16BITS(&tlv_ptr.eigrp_tlv_at_cable_setup->cable_start), in eigrp_print()
427 EXTRACT_16BITS(&tlv_ptr.eigrp_tlv_at_cable_setup->cable_end), in eigrp_print()
440 EXTRACT_16BITS(&tlv_ptr.eigrp_tlv_at_int->cable_start), in eigrp_print()
441 EXTRACT_16BITS(&tlv_ptr.eigrp_tlv_at_int->cable_end))); in eigrp_print()
447 EXTRACT_16BITS(&tlv_ptr.eigrp_tlv_at_int->nexthop), in eigrp_print()
448 EXTRACT_16BITS(&tlv_ptr.eigrp_tlv_at_int->nexthop[2]))); in eigrp_print()
[all …]
Dprint-atalk.c147 snet = EXTRACT_16BITS(&dp->srcNet); in llap_print()
151 ataddr_string(ndo, EXTRACT_16BITS(&dp->dstNet), dp->dstNode), in llap_print()
197 snet = EXTRACT_16BITS(&dp->srcNet); in atalk_print()
201 ataddr_string(ndo, EXTRACT_16BITS(&dp->dstNet), dp->dstNode), in atalk_print()
228 if (EXTRACT_16BITS(&ap->htype) == 1 && in aarp_print()
229 EXTRACT_16BITS(&ap->ptype) == ETHERTYPE_ATALK && in aarp_print()
231 switch (EXTRACT_16BITS(&ap->op)) { in aarp_print()
246 length, EXTRACT_16BITS(&ap->op), EXTRACT_16BITS(&ap->htype), in aarp_print()
247 EXTRACT_16BITS(&ap->ptype), ap->halen, ap->palen)); in aarp_print()
301 EXTRACT_16BITS(&ap->transID))); in atp_print()
[all …]
Dprint-sctp.c518 sourcePort = EXTRACT_16BITS(&sctpPktHdr->source); in sctp_print()
519 destPort = EXTRACT_16BITS(&sctpPktHdr->destination); in sctp_print()
572 chunkLength = EXTRACT_16BITS(&chunkDescPtr->chunkLength); in sctp_print()
635 ND_PRINT((ndo, "[SID: %u] ", EXTRACT_16BITS(&dataHdrPtr->streamId))); in sctp_print()
636 ND_PRINT((ndo, "[SSEQ %u] ", EXTRACT_16BITS(&dataHdrPtr->sequence))); in sctp_print()
689 ND_PRINT((ndo, "[OS: %u] ", EXTRACT_16BITS(&init->NumPreopenStreams))); in sctp_print()
690 ND_PRINT((ndo, "[MIS: %u] ", EXTRACT_16BITS(&init->MaxInboundStreams))); in sctp_print()
717 ND_PRINT((ndo, "[OS: %u] ", EXTRACT_16BITS(&init->NumPreopenStreams))); in sctp_print()
718 ND_PRINT((ndo, "[MIS: %u] ", EXTRACT_16BITS(&init->MaxInboundStreams))); in sctp_print()
748 ND_PRINT((ndo, "[#gap acks %u] ", EXTRACT_16BITS(&sack->numberOfdesc))); in sctp_print()
[all …]
Dprint-sll.c139 ND_PRINT((ndo, "%3s ",tok2str(sll_pkttype_values,"?",EXTRACT_16BITS(&sllp->sll_pkttype)))); in sll_print()
146 if (EXTRACT_16BITS(&sllp->sll_halen) == 6) in sll_print()
150 ether_type = EXTRACT_16BITS(&sllp->sll_protocol); in sll_print()
228 ether_type = EXTRACT_16BITS(&sllp->sll_protocol); in sll_if_print()
282 uint16_t tag = EXTRACT_16BITS(p); in sll_if_print()
287 ether_type = EXTRACT_16BITS(p + 2); in sll_if_print()
Dprint-ppp.c447 len = EXTRACT_16BITS(tptr); in handle_ctrl_proto()
522 tok2str(ppptype2str,"unknown", EXTRACT_16BITS(tptr)), in handle_ctrl_proto()
523 EXTRACT_16BITS(tptr))); in handle_ctrl_proto()
634 ND_PRINT((ndo, ": %u", EXTRACT_16BITS(p + 2))); in print_lcp_config_options()
650 …ND_PRINT((ndo, ": %s", tok2str(ppptype2str, "Unknown Auth Proto (0x04x)", EXTRACT_16BITS(p + 2)))); in print_lcp_config_options()
652 switch (EXTRACT_16BITS(p+2)) { in print_lcp_config_options()
672 if (EXTRACT_16BITS(p+2) == PPP_LQM) in print_lcp_config_options()
695 ND_PRINT((ndo, ": 0x%04x", EXTRACT_16BITS(p + 2))); in print_lcp_config_options()
714 ND_PRINT((ndo, ": %u", EXTRACT_16BITS(p + 2))); in print_lcp_config_options()
824 (EXTRACT_16BITS(p))&0x0fff, /* only support 12-Bit sequence space for now */ in handle_mlppp()
[all …]
Dprint-mobility.c155 EXTRACT_16BITS(&bp[i+2]) << 2)); in mobility_opt_print()
173 EXTRACT_16BITS(&bp[i+2]), in mobility_opt_print()
174 EXTRACT_16BITS(&bp[i+4]))); in mobility_opt_print()
261 ND_PRINT((ndo, " nonce id=0x%x", EXTRACT_16BITS(&mh->ip6m_data16[0]))); in mobility_print()
282 ND_PRINT((ndo, " seq#=%u", EXTRACT_16BITS(&mh->ip6m_data16[0]))); in mobility_print()
302 ND_PRINT((ndo, " lifetime=%u", EXTRACT_16BITS(&bp[hlen]) << 2)); in mobility_print()
314 ND_PRINT((ndo, " seq#=%u", EXTRACT_16BITS(&bp[hlen]))); in mobility_print()
318 ND_PRINT((ndo, " lifetime=%u", EXTRACT_16BITS(&bp[hlen]) << 2)); in mobility_print()
Dprint-isoclns.c864 EXTRACT_16BITS(clnp_header->segment_length), in clnp_print()
865 EXTRACT_16BITS(clnp_header->cksum))); in clnp_print()
867 osi_print_cksum(ndo, optr, EXTRACT_16BITS(clnp_header->cksum), 7, in clnp_print()
887 EXTRACT_16BITS(clnp_segment_header->data_unit_id), in clnp_print()
888 EXTRACT_16BITS(clnp_segment_header->segment_offset), in clnp_print()
889 EXTRACT_16BITS(clnp_segment_header->total_length))); in clnp_print()
1152 ND_PRINT((ndo, ", checksum: 0x%04x", EXTRACT_16BITS(esis_header->cksum))); in esis_print()
1154 osi_print_cksum(ndo, pptr, EXTRACT_16BITS(esis_header->cksum), 7, li); in esis_print()
1157 EXTRACT_16BITS(esis_header->holdtime), li)); in esis_print()
1330 ND_PRINT((ndo, "%us", EXTRACT_16BITS(tptr))); in esis_print()
[all …]
Dprint-gre.c95 vers = EXTRACT_16BITS(bp) & GRE_VERS_MASK; in gre_print()
122 flags = EXTRACT_16BITS(bp); in gre_print_0()
133 prot = EXTRACT_16BITS(bp); in gre_print_0()
142 ND_PRINT((ndo, ", sum 0x%x", EXTRACT_16BITS(bp))); in gre_print_0()
149 ND_PRINT((ndo, ", off 0x%x", EXTRACT_16BITS(bp))); in gre_print_0()
181 af = EXTRACT_16BITS(bp); in gre_print_0()
249 flags = EXTRACT_16BITS(bp); in gre_print_1()
260 prot = EXTRACT_16BITS(bp); in gre_print_1()
415 EXTRACT_16BITS(bp))); in gre_sre_asn_print()

12345