/freebsd/contrib/tcpdump/ |
H A D | parsenfsfh.c | 133 else if ((GET_U_1(fhp) == 0) && (GET_U_1(fhp + 1) == 0)) { in Parse_fh() 136 if ((GET_U_1(fhp + 2) == 0) && (GET_U_1(fhp + 3) == 0)) { in Parse_fh() 145 if ((GET_U_1(fhp + 4) != 0) && (GET_U_1(fhp + 5) == 0) && in Parse_fh() 146 (GET_U_1(fhp + 8) == 12) && (GET_U_1(fhp + 9) == 0)) { in Parse_fh() 152 if ((GET_U_1(fhp + 4) == 0) && (GET_U_1(fhp + 5) == 8) && (GET_U_1(fhp + 6) == 0) && in Parse_fh() 153 (GET_U_1(fhp + 7) == 0)) { in Parse_fh() 168 if ((GET_U_1(fhp + 2) == 0) && (GET_U_1(fhp + 3) == 0)) { in Parse_fh() 175 if ((GET_U_1(fhp + 6) == 0) && (GET_U_1(fhp + 7) == 0)) { in Parse_fh() 179 else if ((len >= 24/4) && (GET_U_1(fhp + 21) == 0) && (GET_U_1(fhp + 23) == 0)) { in Parse_fh() 184 if (GET_U_1(fhp + 9) == 10) in Parse_fh() [all …]
|
H A D | print-lldp.c | 620 GET_U_1(ptr) >> 4, GET_U_1(ptr) & 0x0f, in print_ets_priority_assignment_table() 621 GET_U_1(ptr + 1) >> 4, GET_U_1(ptr + 1) & 0x0f, in print_ets_priority_assignment_table() 622 GET_U_1(ptr + 2) >> 4, GET_U_1(ptr + 2) & 0x0f, in print_ets_priority_assignment_table() 623 GET_U_1(ptr + 3) >> 4, GET_U_1(ptr + 3) & 0x0f); in print_ets_priority_assignment_table() 633 GET_U_1(ptr), GET_U_1(ptr + 1), GET_U_1(ptr + 2), in print_tc_bandwidth_table() 634 GET_U_1(ptr + 3), GET_U_1(ptr + 4), GET_U_1(ptr + 5), in print_tc_bandwidth_table() 635 GET_U_1(ptr + 6), GET_U_1(ptr + 7)); in print_tc_bandwidth_table() 645 GET_U_1(ptr), GET_U_1(ptr + 1), GET_U_1(ptr + 2), in print_tsa_assignment_table() 646 GET_U_1(ptr + 3), GET_U_1(ptr + 4), GET_U_1(ptr + 5), in print_tsa_assignment_table() 647 GET_U_1(ptr + 6), GET_U_1(ptr + 7)); in print_tsa_assignment_table() [all …]
|
H A D | print-fr.c | 104 if ((GET_U_1(p) & FR_EA_BIT)) in parse_q922_header() 110 *dlci = ((GET_U_1(p) & 0xFC) << 2) | ((GET_U_1(p + 1) & 0xF0) >> 4); in parse_q922_header() 112 *flags = ((GET_U_1(p) & 0x02) << 24) | /* CR flag */ in parse_q922_header() 113 ((GET_U_1(p + 1) & 0x0e) << 16); /* FECN,BECN,DE flags */ in parse_q922_header() 115 if (GET_U_1(p + 1) & FR_EA_BIT) in parse_q922_header() 123 if ((GET_U_1(p) & FR_EA_BIT) == 0) { in parse_q922_header() 124 *dlci = (*dlci << 7) | (GET_U_1(p) >> 1); in parse_q922_header() 132 if ((GET_U_1(p) & FR_EA_BIT) == 0) in parse_q922_header() 135 *flags = *flags | (GET_U_1(p) & 0x02); /* SDLC flag */ in parse_q922_header() 137 *dlci = (*dlci << 6) | (GET_U_1(p) >> 2); in parse_q922_header() [all …]
|
H A D | print-babel.c | 62 if(GET_U_1(cp) != 42) { in babel_print() 66 ND_PRINT(" %u", GET_U_1(cp + 1)); in babel_print() 69 switch(GET_U_1(cp + 1)) { in babel_print() 130 GET_U_1(id), GET_U_1(id + 1), GET_U_1(id + 2), in format_id() 131 GET_U_1(id + 3), GET_U_1(id + 4), GET_U_1(id + 5), in format_id() 132 GET_U_1(id + 6), GET_U_1(id + 7)); in format_id() 305 subtype = GET_U_1(cp); in subtlvs_print() 315 sublen = GET_U_1(cp); in subtlvs_print() 334 tok2str(diversity_str, "%u", GET_U_1(cp))); in subtlvs_print() 395 if((type = GET_U_1(message)) == MESSAGE_PAD1) { in babel_print_v2_tlvs() [all …]
|
H A D | print-aodv.c | 182 switch (GET_U_1(ep->type)) { in aodv_extension() 188 if (GET_U_1(ep->length) < 4) { in aodv_extension() 190 GET_U_1(ep->length)); in aodv_extension() 198 ND_PRINT("\n\text %u %u", GET_U_1(ep->type), in aodv_extension() 199 GET_U_1(ep->length)); in aodv_extension() 219 GET_U_1(ap->rreq_type) & RREQ_JOIN ? "[J]" : "", in aodv_rreq() 220 GET_U_1(ap->rreq_type) & RREQ_REPAIR ? "[R]" : "", in aodv_rreq() 221 GET_U_1(ap->rreq_type) & RREQ_GRAT ? "[G]" : "", in aodv_rreq() 222 GET_U_1(ap->rreq_type) & RREQ_DEST ? "[D]" : "", in aodv_rreq() 223 GET_U_1(ap->rreq_type) & RREQ_UNKNOWN ? "[U] " : " ", in aodv_rreq() [all …]
|
H A D | print-atalk.c | 115 switch (GET_U_1(lp->type)) { in llap_print() 128 ataddr_string(ndo, 0, GET_U_1(lp->src)), in llap_print() 129 ddpskt_string(ndo, GET_U_1(sdp->srcSkt))); in llap_print() 131 ataddr_string(ndo, 0, GET_U_1(lp->dst)), in llap_print() 132 ddpskt_string(ndo, GET_U_1(sdp->dstSkt))); in llap_print() 136 ddp_print(ndo, bp, length, GET_U_1(sdp->type), 0, in llap_print() 137 GET_U_1(lp->src), GET_U_1(sdp->srcSkt)); in llap_print() 152 ataddr_string(ndo, snet, GET_U_1(dp->srcNode)), in llap_print() 153 ddpskt_string(ndo, GET_U_1(dp->srcSkt))); in llap_print() 155 ataddr_string(ndo, GET_BE_U_2(dp->dstNet), GET_U_1(dp->dstNode)), in llap_print() [all …]
|
H A D | print-ip6opts.c | 49 if (GET_U_1(bp + i) == IP6OPT_PAD1) in ip6_sopt_print() 53 optlen = GET_U_1(bp + i + 1) + 2; in ip6_sopt_print() 60 switch (GET_U_1(bp + i)) { in ip6_sopt_print() 73 ND_PRINT(", sopt_type %u: trunc)", GET_U_1(bp + i)); in ip6_sopt_print() 76 ND_PRINT(", sopt_type 0x%02x: len=%u", GET_U_1(bp + i), in ip6_sopt_print() 77 GET_U_1(bp + i + 1)); in ip6_sopt_print() 99 if (GET_U_1(bp + i) == IP6OPT_PAD1) in ip6_opt_process() 103 optlen = GET_U_1(bp + i + 1) + 2; in ip6_opt_process() 110 switch (GET_U_1(bp + i)) { in ip6_opt_process() 128 if (GET_U_1(bp + i + 1) != IP6OPT_RTALERT_LEN - 2) { in ip6_opt_process() [all …]
|
H A D | print-zep.c | 107 if (GET_U_1(bp) != 'E' || GET_U_1(bp + 1) != 'X') { in zep_print() 109 fn_print_char(ndo, GET_U_1(bp)); in zep_print() 110 fn_print_char(ndo, GET_U_1(bp + 1)); in zep_print() 116 version = GET_U_1(bp + 2); in zep_print() 123 GET_U_1(bp + 3), GET_BE_U_2(bp + 4)); in zep_print() 124 if (GET_U_1(bp + 6)) in zep_print() 127 ND_PRINT("LQI %u, ", GET_U_1(bp + 7)); in zep_print() 128 inner_len = GET_U_1(bp + 15); in zep_print() 135 if (GET_U_1(bp + 3) == 2) { in zep_print() 147 GET_U_1(bp + 3), GET_U_1(bp + 4), in zep_print() [all …]
|
H A D | print-aoe.c | 149 bittok2str(aoev1_aflag_bitmap_str, "none", GET_U_1(cp))); in aoev1_issue_print() 153 ND_PRINT(", Err/Feature: %u", GET_U_1(cp)); in aoev1_issue_print() 157 ND_PRINT(", Sector Count: %u", GET_U_1(cp)); in aoev1_issue_print() 161 ND_PRINT(", Cmd/Status: %u", GET_U_1(cp)); in aoev1_issue_print() 165 ND_PRINT("\n\tlba0: %u", GET_U_1(cp)); in aoev1_issue_print() 169 ND_PRINT(", lba1: %u", GET_U_1(cp)); in aoev1_issue_print() 173 ND_PRINT(", lba2: %u", GET_U_1(cp)); in aoev1_issue_print() 177 ND_PRINT(", lba3: %u", GET_U_1(cp)); in aoev1_issue_print() 181 ND_PRINT(", lba4: %u", GET_U_1(cp)); in aoev1_issue_print() 185 ND_PRINT(", lba5: %u", GET_U_1(cp)); in aoev1_issue_print() [all …]
|
H A D | print-stp.c | 92 GET_U_1(p), GET_U_1(p + 1), GET_U_1(p + 2), in stp_print_bridge_id() 93 GET_U_1(p + 3), GET_U_1(p + 4), GET_U_1(p + 5), in stp_print_bridge_id() 94 GET_U_1(p + 6), GET_U_1(p + 7)); in stp_print_bridge_id() 105 bpdu_flags = GET_U_1(stp_bpdu->flags); in stp_print_config_bpdu() 130 if (GET_U_1(stp_bpdu->protocol_version) == STP_PROTO_RAPID) { in stp_print_config_bpdu() 244 bpdu_flags = GET_U_1(stp_bpdu->flags); in stp_print_mstp_bpdu() 293 GET_U_1(ptr + MST_BPDU_CIST_REMAIN_HOPS_OFFSET)); in stp_print_mstp_bpdu() 306 bittok2str(stp_bpdu_flag_values, "none", GET_U_1(ptr + offset)), in stp_print_mstp_bpdu() 308 RSTP_EXTRACT_PORT_ROLE(GET_U_1(ptr + offset)))); in stp_print_mstp_bpdu() 314 GET_U_1(ptr + offset + MST_BPDU_MSTI_BRIDGE_PRIO_OFFSET) >> 4, in stp_print_mstp_bpdu() [all …]
|
H A D | print-ppp.c | 432 code = GET_U_1(tptr); in handle_ctrl_proto() 438 GET_U_1(tptr), /* ID */ in handle_ctrl_proto() 600 opt = GET_U_1(p); in print_lcp_config_options() 601 len = GET_U_1(p + 1); in print_lcp_config_options() 629 ND_PRINT(", kind: 0x%02x", GET_U_1(p + 5)); in print_lcp_config_options() 632 ND_PRINT("%02x", GET_U_1(p + 6 + i)); in print_lcp_config_options() 661 tok2str(authalg_values, "Unknown Auth Alg %u", GET_U_1(p + 4))); in print_lcp_config_options() 706 tok2str(ppp_callback_values, "Unknown", GET_U_1(p + 2)), in print_lcp_config_options() 707 GET_U_1(p + 2)); in print_lcp_config_options() 721 switch (GET_U_1(p + 2)) { /* class */ in print_lcp_config_options() [all …]
|
H A D | print-pim.c | 166 if (ND_TTEST_LEN(bp, 30) && GET_U_1(bp + 11) == 1 && in pimv1_join_prune_print() 177 GET_IPADDR_STRING(bp + 26), GET_U_1(bp + 25) & 0x3f, in pimv1_join_prune_print() 182 (GET_U_1(bp + 24) & 0x01) ? "Sparse" : "Dense", in pimv1_join_prune_print() 183 (GET_U_1(bp + 25) & 0x80) ? " WC" : "", in pimv1_join_prune_print() 184 (GET_U_1(bp + 25) & 0x40) ? "RP" : "SPT"); in pimv1_join_prune_print() 208 ngroups = GET_U_1(bp + 3); in pimv1_join_prune_print() 244 (GET_U_1(bp) & 0x01) ? "Sparse " : "Dense ", in pimv1_join_prune_print() 245 (GET_U_1(bp + 1) & 0x80) ? "WC " : "", in pimv1_join_prune_print() 246 (GET_U_1(bp + 1) & 0x40) ? "RP " : "SPT ", in pimv1_join_prune_print() 248 GET_U_1(bp + 1) & 0x3f); in pimv1_join_prune_print() [all …]
|
H A D | print-eigrp.c | 239 if (GET_U_1(eigrp_com_header->version) != EIGRP_VERSION) { in eigrp_print() 241 GET_U_1(eigrp_com_header->version)); in eigrp_print() 248 tok2str(eigrp_opcode_values, "unknown (%u)",GET_U_1(eigrp_com_header->opcode)), in eigrp_print() 257 tok2str(eigrp_opcode_values, "unknown (%u)",GET_U_1(eigrp_com_header->opcode)), in eigrp_print() 265 GET_U_1(eigrp_com_header->version), in eigrp_print() 266 tok2str(eigrp_opcode_values, "unknown, type: %u",GET_U_1(eigrp_com_header->opcode)), in eigrp_print() 267 GET_U_1(eigrp_com_header->opcode), in eigrp_print() 325 GET_U_1(tlv_ptr.eigrp_tlv_general_parm->k1), in eigrp_print() 326 GET_U_1(tlv_ptr.eigrp_tlv_general_parm->k2), in eigrp_print() 327 GET_U_1(tlv_ptr.eigrp_tlv_general_parm->k3), in eigrp_print() [all …]
|
H A D | print-802_15_4.c | 433 y = GET_U_1(p); in ieee802_15_4_crc16() 485 byte = GET_U_1(p); in ieee802_15_4_crc32() 588 gts_spec = GET_U_1(p); in ieee802_15_4_print_gts_info() 608 GET_U_1(p + 1) & 0x7f); in ieee802_15_4_print_gts_info() 614 GET_U_1(p + 2 + i * 3 + 1) & 0x0f, in ieee802_15_4_print_gts_info() 615 (GET_U_1(p + 2 + i * 3 + 1) >> 4) & 0x0f); in ieee802_15_4_print_gts_info() 634 pas = GET_U_1(p); in ieee802_15_4_print_pending_addresses() 686 ND_PRINT("OUI = 0x%02x%02x%02x, ", GET_U_1(p), in ieee802_15_4_print_header_ie() 687 GET_U_1(p + 1), GET_U_1(p + 2)); in ieee802_15_4_print_header_ie() 690 ND_PRINT("%02x ", GET_U_1(p + i)); in ieee802_15_4_print_header_ie() [all …]
|
H A D | print-isoclns.c | 544 #define ISIS_MASK_LSP_OL_BIT(x) (GET_U_1(x)&0x4) 545 #define ISIS_MASK_LSP_ISTYPE_BITS(x) (GET_U_1(x)&0x3) 546 #define ISIS_MASK_LSP_PARTITION_BIT(x) (GET_U_1(x)&0x80) 547 #define ISIS_MASK_LSP_ATT_BITS(x) (GET_U_1(x)&0x78) 548 #define ISIS_MASK_LSP_ATT_ERROR_BIT(x) (GET_U_1(x)&0x40) 549 #define ISIS_MASK_LSP_ATT_EXPENSE_BIT(x) (GET_U_1(x)&0x20) 550 #define ISIS_MASK_LSP_ATT_DELAY_BIT(x) (GET_U_1(x)&0x10) 551 #define ISIS_MASK_LSP_ATT_DEFAULT_BIT(x) (GET_U_1(x)&0x8) 568 #define ISIS_LSP_TLV_METRIC_SUPPORTED(x) (GET_U_1(x)&0x80) 569 #define ISIS_LSP_TLV_METRIC_IE(x) (GET_U_1(x)&0x40) [all …]
|
H A D | print-eap.c | 157 type = GET_U_1(cp); in eap_print() 172 GET_U_1((cp + 1)), in eap_print() 187 subtype = GET_U_1(cp + 4); in eap_print() 224 tok2str(eap_type_values, "unknown", GET_U_1((cp + count))), in eap_print() 225 GET_U_1(cp + count)); in eap_print() 238 EAP_TTLS_VERSION(GET_U_1((cp + 5)))); in eap_print() 240 bittok2str(eap_tls_flags_values, "none", GET_U_1((cp + 5))), in eap_print() 241 GET_U_1(cp + 5)); in eap_print() 243 if (EAP_TLS_EXTRACT_BIT_L(GET_U_1(cp + 5))) { in eap_print() 258 EAP_TTLS_VERSION(GET_U_1((cp + 5)))); in eap_print() [all …]
|
H A D | print-dvmrp.c | 88 type = GET_U_1(bp + 1); in dvmrp_print() 118 major_version = GET_U_1(bp + 3); in dvmrp_print() 119 minor_version = GET_U_1(bp + 2); in dvmrp_print() 158 mask = (uint32_t)0xff << 24 | GET_U_1(bp) << 16 | in print_report() 159 GET_U_1(bp + 1) << 8 | GET_U_1(bp + 2); in print_report() 161 if (GET_U_1(bp)) in print_report() 163 if (GET_U_1(bp + 1)) in print_report() 165 if (GET_U_1(bp + 2)) in print_report() 178 origin = origin << 8 | GET_U_1(bp); in print_report() 184 metric = GET_U_1(bp); in print_report() [all …]
|
H A D | print-dccp.c | 76 #define DCCPH_CCVAL(dh) ((GET_U_1((dh)->dccph_ccval_cscov) >> 4) & 0xF) 77 #define DCCPH_CSCOV(dh) (GET_U_1((dh)->dccph_ccval_cscov) & 0xF) 79 #define DCCPH_X(dh) (GET_U_1((dh)->dccph_xtr) & 1) 80 #define DCCPH_TYPE(dh) ((GET_U_1((dh)->dccph_xtr) >> 1) & 0xF) 196 cov = (GET_U_1(dh->dccph_doff) + DCCPH_CSCOV(dh) - 1) * sizeof(uint32_t); in dccp_csum_coverage() 309 hlen = GET_U_1(dh->dccph_doff) * 4; in dccp_print() 449 dccp_reset_code(GET_U_1(dhr->dccph_reset_code))); in dccp_print() 535 if (GET_U_1(option) >= 32) { in dccp_print_option() 536 optlen = GET_U_1(option + 1); in dccp_print_option() 538 if (GET_U_1(option) >= 128) in dccp_print_option() [all …]
|
H A D | print-icmp6.c | 764 ND_PRINT("%02x", GET_U_1(q)); in print_lladdr() 807 dio_type = GET_U_1(opt->rpl_dio_type); in rpl_printopts() 814 optlen = GET_U_1(opt->rpl_dio_len)+RPL_GENOPTION_LEN; in rpl_printopts() 845 GET_U_1(dio->rpl_dtsn), in rpl_dio_print() 846 GET_U_1(dio->rpl_instanceid), in rpl_dio_print() 848 RPL_DIO_GROUNDED(GET_U_1(dio->rpl_mopprf)) ? "grounded,":"", in rpl_dio_print() 850 RPL_DIO_MOP(GET_U_1(dio->rpl_mopprf))), in rpl_dio_print() 851 RPL_DIO_PRF(GET_U_1(dio->rpl_mopprf))); in rpl_dio_print() 876 rpl_flags = GET_U_1(dao->rpl_flags); in rpl_dao_print() 888 GET_U_1(dao->rpl_daoseq), in rpl_dao_print() [all …]
|
H A D | print-egp.c | 159 intgw = GET_U_1(egp->egp_intgw); in egpnr_print() 160 extgw = GET_U_1(egp->egp_extgw); in egpnr_print() 171 addr = GET_U_1(cp); in egpnr_print() 175 addr = (addr << 8) | GET_U_1(cp); in egpnr_print() 179 addr = (addr << 8) | GET_U_1(cp); in egpnr_print() 187 distances = GET_U_1(cp); in egpnr_print() 199 ND_PRINT("%sd%u:", comma, GET_U_1(cp)); in egpnr_print() 202 networks = GET_U_1(cp); in egpnr_print() 209 addr = ((uint32_t) GET_U_1(cp)) << 24; in egpnr_print() 215 addr |= ((uint32_t) GET_U_1(cp)) << 16; in egpnr_print() [all …]
|
H A D | print-lmp.c | 370 subobj_type = GET_U_1(obj_tptr + offset); in lmp_print_data_link_subobjs() 371 subobj_len = GET_U_1(obj_tptr + offset + 1); in lmp_print_data_link_subobjs() 395 GET_U_1(obj_tptr + offset + 2)), in lmp_print_data_link_subobjs() 396 GET_U_1(obj_tptr + offset + 2)); in lmp_print_data_link_subobjs() 400 GET_U_1(obj_tptr + offset + 3)), in lmp_print_data_link_subobjs() 401 GET_U_1(obj_tptr + offset + 3)); in lmp_print_data_link_subobjs() 460 tok2str(lmp_msg_type_values, "unknown (%u)",GET_U_1(lmp_com_header->msg_type)), in lmp_print() 471 tok2str(lmp_msg_type_values, "unknown, type: %u",GET_U_1(lmp_com_header->msg_type)), in lmp_print() 472 bittok2str(lmp_header_flag_values,"none",GET_U_1(lmp_com_header->flags)), in lmp_print() 490 lmp_obj_ctype=GET_U_1(lmp_obj_header->ctype)&0x7f; in lmp_print() [all …]
|
H A D | print-radius.c | 105 ND_PRINT("%02X", GET_U_1(ptr_data)); \ 778 if (GET_U_1(data) && (GET_U_1(data) <= 0x1F)) in print_attr_string() 779 ND_PRINT("Tag[%u] ", GET_U_1(data)); in print_attr_string() 794 if (GET_U_1(data) <= 0x1F) { in print_attr_string() 797 if (GET_U_1(data)) in print_attr_string() 798 ND_PRINT("Tag[%u] ", GET_U_1(data)); in print_attr_string() 809 tok2str(rfc4675_tagged,"Unknown tag",GET_U_1(data)), in print_attr_string() 810 GET_U_1(data)); in print_attr_string() 821 for (i=0; i < length && GET_U_1(data); i++, data++) in print_attr_string() 822 ND_PRINT("%c", ND_ASCII_ISPRINT(GET_U_1(data)) ? GET_U_1(data) : '.'); in print_attr_string() [all …]
|
H A D | print-bgp.c | 115 (((flags) & 0x10) ? GET_BE_U_2(p) : GET_U_1(p)) 589 plen = GET_U_1(pptr); in decode_prefix4() 619 plen = GET_U_1(pptr); /* get prefix length */ in decode_labeled_prefix4() 650 ((GET_U_1(pptr + 3) & 1) == 0) ? "(BOGUS: Bottom of Stack NOT set!)" : "(bottom)" ); in decode_labeled_prefix4() 720 addr_length = GET_U_1(pptr); in bgp_vpn_sg_print() 734 addr_length = GET_U_1(pptr); in bgp_vpn_sg_print() 770 GET_U_1(pptr + 4), GET_U_1(pptr + 5), in bgp_vpn_rd_print() 771 GET_U_1(pptr + 6), GET_U_1(pptr + 7)); in bgp_vpn_rd_print() 777 GET_U_1(pptr + 2), GET_U_1(pptr + 3), in bgp_vpn_rd_print() 778 GET_U_1(pptr + 4), GET_U_1(pptr + 5), in bgp_vpn_rd_print() [all …]
|
H A D | print-hsrp.c | 101 version = GET_U_1(hp->hsrp_version); in hsrp_print() 107 tok2strary(op_code_str, "unknown (%u)", GET_U_1(hp->hsrp_op_code))); in hsrp_print() 110 tok2str(states, "Unknown (%u)", GET_U_1(hp->hsrp_state))); in hsrp_print() 111 ND_PRINT("group=%u ", GET_U_1(hp->hsrp_group)); in hsrp_print() 112 if (GET_U_1(hp->hsrp_reserved) != 0) { in hsrp_print() 113 ND_PRINT("[reserved=%u!] ", GET_U_1(hp->hsrp_reserved)); in hsrp_print() 118 unsigned_relts_print(ndo, GET_U_1(hp->hsrp_hellotime)); in hsrp_print() 120 unsigned_relts_print(ndo, GET_U_1(hp->hsrp_holdtime)); in hsrp_print() 121 ND_PRINT(" priority=%u", GET_U_1(hp->hsrp_priority)); in hsrp_print()
|
H A D | print-cdp.c | 82 val = GET_U_1(cp); in cdp_print_power() 113 u_char c = GET_U_1(cp + i); in cdp_print_version() 133 ND_PRINT("%s", GET_U_1(cp) ? "full": "half"); in cdp_print_duplex() 155 ND_PRINT("app %u, vlan %u", GET_U_1(cp), GET_BE_U_2(cp + 1)); in cdp_print_ata186() 169 ND_PRINT("0x%02x", GET_U_1(cp)); in cdp_print_uint8x() 176 ND_PRINT("0x%02x", GET_U_1(cp)); in cdp_print_phys_loc() 245 GET_U_1(tptr + CDP_HEADER_VERSION_OFFSET), in cdp_print() 246 GET_U_1(tptr + CDP_HEADER_TTL_OFFSET)); in cdp_print() 361 pt = GET_U_1(p); /* type of "protocol" field */ in cdp_print_addr() 362 pl = GET_U_1(p + 1); /* length of "protocol" field */ in cdp_print_addr() [all …]
|