Home
last modified time | relevance | path

Searched refs:GET_U_1 (Results 1 – 25 of 138) sorted by relevance

123456

/dragonfly/contrib/tcpdump/
H A Dparsenfsfh.c134 else if ((GET_U_1(fhp) == 0) && (GET_U_1(fhp + 1) == 0)) { in Parse_fh()
137 if ((GET_U_1(fhp + 2) == 0) && (GET_U_1(fhp + 3) == 0)) { in Parse_fh()
147 if ((GET_U_1(fhp + 4) != 0) && (GET_U_1(fhp + 5) == 0) && in Parse_fh()
148 (GET_U_1(fhp + 8) == 12) && (GET_U_1(fhp + 9) == 0)) { in Parse_fh()
155 if ((GET_U_1(fhp + 4) == 0) && (GET_U_1(fhp + 5) == 8) && (GET_U_1(fhp + 6) == 0) && in Parse_fh()
173 if ((GET_U_1(fhp + 2) == 0) && (GET_U_1(fhp + 3) == 0)) { in Parse_fh()
180 if ((GET_U_1(fhp + 6) == 0) && (GET_U_1(fhp + 7) == 0)) { in Parse_fh()
200 if ((GET_U_1(fhp + 8) == 12) && (GET_U_1(fhp + 9) == 0)) { in Parse_fh()
203 else if ((GET_U_1(fhp + 8) == 0) && (GET_U_1(fhp + 9) == 10)) { in Parse_fh()
205 if ((GET_U_1(fhp + 7) == 0) && (GET_U_1(fhp + 6) == 0) && in Parse_fh()
[all …]
H A Dprint-lldp.c622 GET_U_1(ptr) >> 4, GET_U_1(ptr) & 0x0f, in print_ets_priority_assignment_table()
623 GET_U_1(ptr + 1) >> 4, GET_U_1(ptr + 1) & 0x0f, in print_ets_priority_assignment_table()
624 GET_U_1(ptr + 2) >> 4, GET_U_1(ptr + 2) & 0x0f, in print_ets_priority_assignment_table()
625 GET_U_1(ptr + 3) >> 4, GET_U_1(ptr + 3) & 0x0f); in print_ets_priority_assignment_table()
635 GET_U_1(ptr), GET_U_1(ptr + 1), GET_U_1(ptr + 2), in print_tc_bandwidth_table()
636 GET_U_1(ptr + 3), GET_U_1(ptr + 4), GET_U_1(ptr + 5), in print_tc_bandwidth_table()
637 GET_U_1(ptr + 6), GET_U_1(ptr + 7)); in print_tc_bandwidth_table()
647 GET_U_1(ptr), GET_U_1(ptr + 1), GET_U_1(ptr + 2), in print_tsa_assignment_table()
648 GET_U_1(ptr + 3), GET_U_1(ptr + 4), GET_U_1(ptr + 5), in print_tsa_assignment_table()
649 GET_U_1(ptr + 6), GET_U_1(ptr + 7)); in print_tsa_assignment_table()
[all …]
H A Dprint-fr.c112 *dlci = ((GET_U_1(p) & 0xFC) << 2) | ((GET_U_1(p + 1) & 0xF0) >> 4); in parse_q922_header()
474 if ((GET_U_1(p) & MFR_BEC_MASK) == MFR_CTRL_FRAME && GET_U_1(p + 1) == 0) { in mfr_print()
574 sequence_num = (GET_U_1(p)&0x1e)<<7 | GET_U_1(p + 1); in mfr_print()
626 sequence_num = (GET_U_1(p)&0x1e)<<7 | GET_U_1(p + 1); in frf15_print()
863 msgtype = GET_U_1(p); in q933_print()
879 iecode = GET_U_1(p); in q933_print()
979 iecode = GET_U_1(p); in q933_print()
1119 ND_PRINT("TX Seq: %3d, RX Seq: %3d", GET_U_1(p), GET_U_1(p + 1)); in fr_q933_print_ie_codeset_0_5()
1132 ((GET_U_1(p + 1) & 0x80) || !(GET_U_1(p + 2) & 0x80))) || in fr_q933_print_ie_codeset_0_5()
1134 ((GET_U_1(p + 1) & 0x80) || (GET_U_1(p + 2) & 0x80) || in fr_q933_print_ie_codeset_0_5()
[all …]
H A Dprint-babel.c64 if(GET_U_1(cp) != 42) { in babel_print()
71 switch(GET_U_1(cp + 1)) { in babel_print()
132 GET_U_1(id), GET_U_1(id + 1), GET_U_1(id + 2), in format_id()
133 GET_U_1(id + 3), GET_U_1(id + 4), GET_U_1(id + 5), in format_id()
134 GET_U_1(id + 6), GET_U_1(id + 7)); in format_id()
307 subtype = GET_U_1(cp); in subtlvs_print()
317 sublen = GET_U_1(cp); in subtlvs_print()
405 len = GET_U_1(message + 1); in babel_print_v2_tlvs()
544 plen = GET_U_1(message + 4) + (GET_U_1(message + 2) == 1 ? 96 : 0); in babel_print_v2_tlvs()
583 plen = GET_U_1(message + 3) + (GET_U_1(message + 2) == 1 ? 96 : 0); in babel_print_v2_tlvs()
[all …]
H A Dprint-aodv.c184 switch (GET_U_1(ep->type)) { in aodv_extension()
190 if (GET_U_1(ep->length) < 4) { in aodv_extension()
192 GET_U_1(ep->length)); in aodv_extension()
201 GET_U_1(ep->length)); in aodv_extension()
226 GET_U_1(ap->rreq_hops), in aodv_rreq()
255 GET_U_1(ap->rrep_hops), in aodv_rrep()
315 GET_U_1(ap->rreq_hops), in aodv_v6_rreq()
344 GET_U_1(ap->rrep_hops), in aodv_v6_rrep()
404 GET_U_1(ap->rreq_hops), in aodv_v6_draft_01_rreq()
433 GET_U_1(ap->rrep_hops), in aodv_v6_draft_01_rrep()
[all …]
H A Dprint-atalk.c117 switch (GET_U_1(lp->type)) { in llap_print()
139 GET_U_1(lp->src), GET_U_1(sdp->srcSkt)); in llap_print()
163 GET_U_1(dp->srcNode), GET_U_1(dp->srcSkt)); in llap_print()
174 GET_U_1(lp->src), GET_U_1(lp->dst), GET_U_1(lp->type), in llap_print()
215 GET_U_1(dp->srcNode), GET_U_1(dp->srcSkt)); in atalk_print()
241 GET_U_1(ap->halen) == MAC_ADDR_LEN && GET_U_1(ap->palen) == 4) in aarp_print()
258 GET_BE_U_2(ap->ptype), GET_U_1(ap->halen), GET_U_1(ap->palen)); in aarp_print()
453 GET_U_1(np->id)); in nbp_print()
473 GET_U_1(tp->node)), in nbp_print()
474 GET_U_1(tp->skt)); in nbp_print()
[all …]
H A Dprint-ip6opts.c51 if (GET_U_1(bp + i) == IP6OPT_PAD1) in ip6_sopt_print()
55 optlen = GET_U_1(bp + i + 1) + 2; in ip6_sopt_print()
62 switch (GET_U_1(bp + i)) { in ip6_sopt_print()
79 GET_U_1(bp + i + 1)); in ip6_sopt_print()
101 if (GET_U_1(bp + i) == IP6OPT_PAD1) in ip6_opt_process()
105 optlen = GET_U_1(bp + i + 1) + 2; in ip6_opt_process()
112 switch (GET_U_1(bp + i)) { in ip6_opt_process()
201 ND_PRINT("(type %u: trunc)", GET_U_1(bp + i)); in ip6_opt_process()
206 GET_U_1(bp + i + 1)); in ip6_opt_process()
226 hbhlen = (GET_U_1(dp->ip6h_len) + 1) << 3; in hbhopt_process()
[all …]
H A Dprint-ppp.c430 code = GET_U_1(tptr); in handle_ctrl_proto()
598 opt = GET_U_1(p); in print_lcp_config_options()
845 code = GET_U_1(p); in handle_chap()
916 code = GET_U_1(p); in handle_pap()
1015 opt = GET_U_1(p); in print_ipcp_config_options()
1153 opt = GET_U_1(p); in print_ip6cp_config_options()
1213 opt = GET_U_1(p); in print_ccp_config_options()
1249 GET_U_1(p + 3)); in print_ccp_config_options()
1309 opt = GET_U_1(p); in print_bacp_config_options()
1384 c = GET_U_1(s); in ppp_hdlc()
[all …]
H A Dprint-aoe.c167 ND_PRINT("\n\tlba0: %u", GET_U_1(cp)); in aoev1_issue_print()
171 ND_PRINT(", lba1: %u", GET_U_1(cp)); in aoev1_issue_print()
175 ND_PRINT(", lba2: %u", GET_U_1(cp)); in aoev1_issue_print()
179 ND_PRINT(", lba3: %u", GET_U_1(cp)); in aoev1_issue_print()
183 ND_PRINT(", lba4: %u", GET_U_1(cp)); in aoev1_issue_print()
187 ND_PRINT(", lba5: %u", GET_U_1(cp)); in aoev1_issue_print()
269 dircount = GET_U_1(cp); in aoev1_mac_print()
311 nmacs = GET_U_1(cp); in aoev1_reserve_print()
341 flags = GET_U_1(cp) & 0x0F; in aoev1_print()
362 command = GET_U_1(cp); in aoev1_print()
[all …]
H A Dprint-stp.c94 GET_U_1(p), GET_U_1(p + 1), GET_U_1(p + 2), in stp_print_bridge_id()
95 GET_U_1(p + 3), GET_U_1(p + 4), GET_U_1(p + 5), in stp_print_bridge_id()
96 GET_U_1(p + 6), GET_U_1(p + 7)); in stp_print_bridge_id()
107 bpdu_flags = GET_U_1(stp_bpdu->flags); in stp_print_config_bpdu()
132 if (GET_U_1(stp_bpdu->protocol_version) == STP_PROTO_RAPID) { in stp_print_config_bpdu()
246 bpdu_flags = GET_U_1(stp_bpdu->flags); in stp_print_mstp_bpdu()
295 GET_U_1(ptr + MST_BPDU_CIST_REMAIN_HOPS_OFFSET)); in stp_print_mstp_bpdu()
355 GET_U_1(ptr + offset + SPB_BPDU_AGREEMENT_OFFSET)>>6, in stp_print_spb_bpdu()
395 protocol_version = GET_U_1(stp_bpdu->protocol_version); in stp_print()
409 bpdu_type = GET_U_1(stp_bpdu->bpdu_type); in stp_print()
[all …]
H A Dprint-zep.c112 if (GET_U_1(bp) != 'E' || GET_U_1(bp + 1) != 'X') { in zep_print()
114 fn_print_char(ndo, GET_U_1(bp)); in zep_print()
115 fn_print_char(ndo, GET_U_1(bp + 1)); in zep_print()
121 version = GET_U_1(bp + 2); in zep_print()
127 GET_U_1(bp + 3), GET_BE_U_2(bp + 4)); in zep_print()
128 if (GET_U_1(bp + 6)) in zep_print()
132 inner_len = GET_U_1(bp + 15); in zep_print()
139 if (GET_U_1(bp + 3) == 2) { in zep_print()
149 GET_U_1(bp + 3), GET_U_1(bp + 4), in zep_print()
151 if (GET_U_1(bp + 7)) in zep_print()
[all …]
H A Dprint-pim.c210 ngroups = GET_U_1(bp + 3); in pimv1_join_prune_print()
268 type = GET_U_1(bp + 1); in pimv1_print()
360 type = GET_U_1(bp); in cisco_autorp_print()
373 numrps = GET_U_1(bp + 1); in cisco_autorp_print()
420 if (GET_U_1(bp) & 0xfc) in cisco_autorp_print()
426 nentries = GET_U_1(bp); in cisco_autorp_print()
562 switch (GET_U_1(bp)) { in pimv2_addr_print()
574 if (GET_U_1(bp + 1) != 0) in pimv2_addr_print()
637 GET_U_1(bp) & 0xf8); in pimv2_addr_print()
1117 if (GET_U_1(bp) & 0x80) in pimv2_print()
[all …]
H A Dprint-eigrp.c241 if (GET_U_1(eigrp_com_header->version) != EIGRP_VERSION) { in eigrp_print()
243 GET_U_1(eigrp_com_header->version)); in eigrp_print()
267 GET_U_1(eigrp_com_header->version), in eigrp_print()
269 GET_U_1(eigrp_com_header->opcode), in eigrp_print()
327 GET_U_1(tlv_ptr.eigrp_tlv_general_parm->k1), in eigrp_print()
381 GET_U_1(tlv_ptr.eigrp_tlv_ip_int->load)); in eigrp_print()
414 GET_U_1(tlv_ptr.eigrp_tlv_ip_ext->flags), in eigrp_print()
424 GET_U_1(tlv_ptr.eigrp_tlv_ip_ext->load)); in eigrp_print()
466 GET_U_1(tlv_ptr.eigrp_tlv_at_int->load)); in eigrp_print()
492 GET_U_1(tlv_ptr.eigrp_tlv_at_ext->flags), in eigrp_print()
[all …]
H A Dprint-802_15_4.c435 y = GET_U_1(p); in ieee802_15_4_crc16()
487 byte = GET_U_1(p); in ieee802_15_4_crc32()
636 pas = GET_U_1(p); in ieee802_15_4_print_pending_addresses()
689 GET_U_1(p + 1), GET_U_1(p + 2)); in ieee802_15_4_print_header_ie()
716 GET_U_1(p), in ieee802_15_4_print_header_ie()
1016 GET_U_1(p), in ieee802_15_4_print_mlme_ie()
1150 GET_U_1(p), in ieee802_15_4_print_mlme_ie()
1165 GET_U_1(p), in ieee802_15_4_print_mlme_ie()
1458 GET_U_1(p), in ieee802_15_4_print_payload_ie_list()
1476 GET_U_1(p)); in ieee802_15_4_print_payload_ie_list()
[all …]
H A Dprint-isoclns.c742 GET_U_1(p)); in isoclns_print()
744 switch (GET_U_1(p)) { in isoclns_print()
1256 dstl = GET_U_1(pptr); in esis_print()
1274 snpal = GET_U_1(pptr); in esis_print()
1290 netal = GET_U_1(pptr); in esis_print()
2370 subt = GET_U_1(tptr); in isis_print_router_cap_subtlv()
2371 subl = GET_U_1(tptr+1); in isis_print_router_cap_subtlv()
2395 flags = GET_U_1(tptr); in isis_print_router_cap_subtlv()
2861 tlv_type = GET_U_1(pptr); in isis_print()
2883 alen = GET_U_1(tptr); in isis_print()
[all …]
H A Dprint-eap.c157 type = GET_U_1(cp); in eap_print()
165 GET_U_1((cp + 1)), in eap_print()
172 subtype = GET_U_1(cp + 4); in eap_print()
203 GET_U_1(cp + count)); in eap_print()
215 GET_U_1(cp + 5)); in eap_print()
217 if (EAP_TLS_EXTRACT_BIT_L(GET_U_1(cp + 5))) { in eap_print()
224 EAP_TTLS_VERSION(GET_U_1((cp + 5)))); in eap_print()
227 GET_U_1(cp + 5)); in eap_print()
240 GET_U_1(cp + 5)); in eap_print()
269 eap_type = GET_U_1(eap->type); in eapol_print()
[all …]
H A Dprint-dvmrp.c90 type = GET_U_1(bp + 1); in dvmrp_print()
161 GET_U_1(bp + 1) << 8 | GET_U_1(bp + 2); in print_report()
163 if (GET_U_1(bp)) in print_report()
165 if (GET_U_1(bp + 1)) in print_report()
167 if (GET_U_1(bp + 2)) in print_report()
248 metric = GET_U_1(bp); in print_neighbors()
250 thresh = GET_U_1(bp); in print_neighbors()
252 ncount = GET_U_1(bp); in print_neighbors()
292 metric = GET_U_1(bp); in print_neighbors2()
294 thresh = GET_U_1(bp); in print_neighbors2()
[all …]
H A Dprint-icmp6.c776 ND_PRINT("%02x", GET_U_1(q)); in print_lladdr()
1349 nh = GET_U_1(ip6->ip6_nxt); in get_upperlayer()
1373 nh = GET_U_1(hbh->ip6h_nxt); in get_upperlayer()
1384 nh = GET_U_1(fragh->ip6f_nxt); in get_upperlayer()
1392 nh = GET_U_1(ah->ah_nxt); in get_upperlayer()
1644 if (GET_U_1(bp + 24) & 0x08) { in mldv2_query_print()
1647 if (GET_U_1(bp + 24) & 0x07) { in mldv2_query_print()
1650 if (GET_U_1(bp + 25) < 128) { in mldv2_query_print()
1651 qqi = GET_U_1(bp + 25); in mldv2_query_print()
1683 i = GET_U_1(cp); in dnsname_print()
[all …]
H A Dprint-dccp.c537 if (GET_U_1(option) >= 32) { in dccp_print_option()
538 optlen = GET_U_1(option + 1); in dccp_print_option()
540 if (GET_U_1(option) >= 128) in dccp_print_option()
542 GET_U_1(option)); in dccp_print_option()
552 if (GET_U_1(option) >= 128) in dccp_print_option()
554 GET_U_1(option)); in dccp_print_option()
562 if (GET_U_1(option) >= 128) { in dccp_print_option()
577 switch (GET_U_1(option)) { in dccp_print_option()
591 GET_U_1(option + 3 + i)); in dccp_print_option()
599 GET_U_1(option + 2 + i)); in dccp_print_option()
[all …]
H A Dprint-lmp.c667 GET_U_1(obj_tptr))); in lmp_print()
685 GET_U_1(obj_tptr))); in lmp_print()
703 GET_U_1(obj_tptr))); in lmp_print()
728 GET_U_1(obj_tptr))); in lmp_print()
748 GET_U_1(obj_tptr))); in lmp_print()
768 GET_U_1(obj_tptr))); in lmp_print()
1014 GET_U_1(obj_tptr))); in lmp_print()
1039 GET_U_1(obj_tptr + 1)), in lmp_print()
1040 GET_U_1(obj_tptr + 1)); in lmp_print()
1047 GET_U_1(obj_tptr + 1)), in lmp_print()
[all …]
H A Dprint-bgp.c593 plen = GET_U_1(pptr); in decode_prefix4()
774 GET_U_1(pptr + 4), GET_U_1(pptr + 5), in bgp_vpn_rd_print()
775 GET_U_1(pptr + 6), GET_U_1(pptr + 7)); in bgp_vpn_rd_print()
781 GET_U_1(pptr + 2), GET_U_1(pptr + 3), in bgp_vpn_rd_print()
782 GET_U_1(pptr + 4), GET_U_1(pptr + 5), in bgp_vpn_rd_print()
791 GET_U_1(pptr + 3), GET_U_1(pptr + 4), in bgp_vpn_rd_print()
1373 plen = GET_U_1(pd); in decode_prefix6()
1561 if (GET_U_1(tptr) < BGP_AS_SEG_TYPE_MIN || GET_U_1(tptr) > BGP_AS_SEG_TYPE_MAX) { in bgp_attr_get_as_size()
2060 nhlen = GET_U_1(tptr); in bgp_attr_print()
2212 snpa = GET_U_1(tptr); in bgp_attr_print()
[all …]
H A Dprint-egp.c161 intgw = GET_U_1(egp->egp_intgw); in egpnr_print()
162 extgw = GET_U_1(egp->egp_extgw); in egpnr_print()
173 addr = GET_U_1(cp); in egpnr_print()
177 addr = (addr << 8) | GET_U_1(cp); in egpnr_print()
189 distances = GET_U_1(cp); in egpnr_print()
204 networks = GET_U_1(cp); in egpnr_print()
276 type = GET_U_1(egp->egp_type); in egp_print()
277 code = GET_U_1(egp->egp_code); in egp_print()
278 status = GET_U_1(egp->egp_status); in egp_print()
368 GET_U_1(egp->egp_intgw), in egp_print()
[all …]
H A Dprint-radius.c781 if (GET_U_1(data) && (GET_U_1(data) <= 0x1F)) in print_attr_string()
826 ND_PRINT("%c", ND_ASCII_ISPRINT(GET_U_1(data)) ? GET_U_1(data) : '.'); in print_attr_string()
883 ND_PRINT("%c", ND_ASCII_ISPRINT(GET_U_1(data)) ? GET_U_1(data) : '.'); in print_vendor_attr()
920 if (!GET_U_1(data)) in print_attr_num()
984 if (GET_U_1(data)) in print_attr_num()
1077 if (GET_U_1(data + 1) > 128) in print_attr_netmask6()
1108 if (GET_U_1(data) > 128) in print_attr_mip6_home_link_prefix()
1163 code = GET_U_1(data); in print_attr_location_information()
1166 entity = GET_U_1(data); in print_attr_location_information()
1358 if (GET_U_1(data)) in print_attr_strange()
[all …]
H A Dprint-rsvp.c523 parameter_id = GET_U_1(tptr); in rsvp_intserv_print()
530 GET_U_1(tptr + 1)); in rsvp_intserv_print()
931 GET_U_1(obj_tptr)); in rsvp_obj_print()
1064 GET_U_1(obj_tptr)); in rsvp_obj_print()
1070 GET_U_1(obj_tptr + 1), in rsvp_obj_print()
1091 length = GET_U_1(obj_tptr + 1); in rsvp_obj_print()
1117 prefix_length = GET_U_1(obj_tptr + 6); in rsvp_obj_print()
1227 GET_U_1(obj_tptr), in rsvp_obj_print()
1228 GET_U_1(obj_tptr + 1), in rsvp_obj_print()
1742 GET_U_1(obj_tptr), in rsvp_obj_print()
[all …]
H A Dprint-ospf.c233 GET_U_1(tptr)); in ospf_grace_lsa_print()
389 GET_U_1(tptr)); in ospf_te_lsa_print()
446 GET_U_1(tptr)); in ospf_te_lsa_print()
541 ls_type = GET_U_1(lshp->ls_type); in ospf_print_lshdr()
644 switch (GET_U_1(lsap->ls_hdr.ls_type)) { in ospf_print_lsa()
683 GET_U_1(rlp->un_tos.link.link_type)); in ospf_print_lsa()
897 switch (GET_U_1(op->ospf_type)) { in ospf_decode_lls()
978 switch (GET_U_1(op->ospf_type)) { in ospf_decode_v2()
1150 GET_U_1(op->ospf_authdata + 2), in ospf_print()
1151 GET_U_1(op->ospf_authdata + 3), in ospf_print()
[all …]

123456