/freebsd/contrib/tcpdump/ |
H A D | print-rx.c | 537 ND_PRINT(" [|rx] (%u)", length); in rx_print() 544 ND_PRINT(" rx %s", tok2str(rx_types, "type %u", type)); in rx_print() 551 ND_PRINT(" cid %08x call# %u", in rx_print() 555 ND_PRINT(" seq %u ser %u", in rx_print() 560 ND_PRINT(" secindex %u serviceid %hu", in rx_print() 571 ND_PRINT(" "); in rx_print() 573 ND_PRINT(","); in rx_print() 575 ND_PRINT("<%s>", rx_flags[i].s); in rx_print() 676 ND_PRINT(" (%u)", length); in rx_print() 762 ND_PRINT(" fid %u/%u/%u", n1, n2, n3); \ [all …]
|
H A D | print-802_15_4.c | 541 ND_PRINT("none"); in ieee802_15_4_print_addr() 544 ND_PRINT("%04x", GET_LE_U_2(p)); in ieee802_15_4_print_addr() 547 ND_PRINT("%s", GET_LE64ADDR_STRING(p)); in ieee802_15_4_print_addr() 564 ND_PRINT("\n\tBeacon order = %d, Superframe order = %d, ", in ieee802_15_4_print_superframe_specification() 566 ND_PRINT("Final CAP Slot = %d", in ieee802_15_4_print_superframe_specification() 568 if (CHECK_BIT(ss, 12)) { ND_PRINT(", BLE enabled"); } in ieee802_15_4_print_superframe_specification() 569 if (CHECK_BIT(ss, 14)) { ND_PRINT(", PAN Coordinator"); } in ieee802_15_4_print_superframe_specification() 570 if (CHECK_BIT(ss, 15)) { ND_PRINT(", Association Permit"); } in ieee802_15_4_print_superframe_specification() 593 ND_PRINT("\n\tGTS Descriptor Count = %d, ", gts_cnt); in ieee802_15_4_print_gts_info() 600 ND_PRINT(" [ERROR: Truncated GTS Info List]"); in ieee802_15_4_print_gts_info() [all …]
|
H A D | print-dhcp6.c | 313 ND_PRINT(" (%s", tok2str(dh6opt_str, "opt_%u", opttype)); in dhcp6opt_print() 320 ND_PRINT(" ?)"); in dhcp6opt_print() 327 ND_PRINT(" hwaddr/time type %u time %u ", in dhcp6opt_print() 331 ND_PRINT("%02x", in dhcp6opt_print() 334 ND_PRINT(")"); in dhcp6opt_print() 337 ND_PRINT(" ?)"); in dhcp6opt_print() 342 ND_PRINT(" enterprise %u ", GET_BE_U_4(tp + 2)); in dhcp6opt_print() 344 ND_PRINT("%02x", in dhcp6opt_print() 347 ND_PRINT(")"); in dhcp6opt_print() 350 ND_PRINT(" ?)"); in dhcp6opt_print() [all …]
|
H A D | print-l2tp.c | 280 ND_PRINT("%02x", GET_U_1(dat)); in print_octets() 288 ND_PRINT("%u", GET_BE_U_2(dat)); in print_16bits_val() 294 ND_PRINT("%u", GET_BE_U_4(dat)); in print_32bits_val() 304 ND_PRINT("AVP too short"); in l2tp_msgtype_print() 307 ND_PRINT("%s", tok2str(l2tp_msgtype2str, "MSGTYPE-#%u", in l2tp_msgtype_print() 316 ND_PRINT("AVP too short"); in l2tp_result_code_print() 319 ND_PRINT("%u", GET_BE_U_2(dat)); in l2tp_result_code_print() 327 ND_PRINT(" AVP too short"); in l2tp_result_code_print() 330 ND_PRINT("/%u", GET_BE_U_2(dat)); in l2tp_result_code_print() 337 ND_PRINT(" "); in l2tp_result_code_print() [all …]
|
H A D | print-lmp.c | 372 ND_PRINT("\n\t Subobject, Type: %s (%u), Length: %u", in lmp_print_data_link_subobjs() 379 ND_PRINT(" (too short)"); in lmp_print_data_link_subobjs() 383 ND_PRINT(" (not a multiple of 4)"); in lmp_print_data_link_subobjs() 387 ND_PRINT(" (goes past the end of the object)"); in lmp_print_data_link_subobjs() 392 ND_PRINT("\n\t Switching Type: %s (%u)", in lmp_print_data_link_subobjs() 397 ND_PRINT("\n\t Encoding Type: %s (%u)", in lmp_print_data_link_subobjs() 403 ND_PRINT("\n\t Min Reservable Bandwidth: %.3f Mbps", in lmp_print_data_link_subobjs() 406 ND_PRINT("\n\t Max Reservable Bandwidth: %.3f Mbps", in lmp_print_data_link_subobjs() 410 ND_PRINT("\n\t Wavelength: %u", in lmp_print_data_link_subobjs() 451 ND_PRINT("LMP version %u packet not supported", in lmp_print() [all …]
|
H A D | print-igmp.c | 116 ND_PRINT(" [invalid len %u]", len); in print_mtrace() 119 ND_PRINT("%s %u: %s to %s reply-to %s", in print_mtrace() 125 ND_PRINT(" with-ttl %u", GET_U_1(tr->tr_rttl)); in print_mtrace() 137 ND_PRINT(" [invalid len %u]", len); in print_igmpv3_report() 141 ND_PRINT(", %u group record(s)", ngroups); in print_igmpv3_report() 147 ND_PRINT(" [invalid number of groups]"); in print_igmpv3_report() 150 ND_PRINT(" [gaddr %s", GET_IPADDR_STRING(bp + group + 4)); in print_igmpv3_report() 151 ND_PRINT(" %s", tok2str(igmpv3report2str, " [v3-report-#%u]", in print_igmpv3_report() 156 ND_PRINT(" [invalid number of sources %u]", nsrcs); in print_igmpv3_report() 160 ND_PRINT(", %u source(s)", nsrcs); in print_igmpv3_report() [all …]
|
H A D | print-pim.c | 170 ND_PRINT(" RPF %s ", GET_IPADDR_STRING(bp)); in pimv1_join_prune_print() 173 ND_PRINT("Hold "); in pimv1_join_prune_print() 176 ND_PRINT("%s (%s/%u, %s", njoin ? "Join" : "Prune", in pimv1_join_prune_print() 180 ND_PRINT("/%s", GET_IPADDR_STRING(bp + 16)); in pimv1_join_prune_print() 181 ND_PRINT(") %s%s %s", in pimv1_join_prune_print() 191 ND_PRINT("\n"); in pimv1_join_prune_print() 192 ND_PRINT(" Upstream Nbr: %s", GET_IPADDR_STRING(bp)); in pimv1_join_prune_print() 198 ND_PRINT("\n"); in pimv1_join_prune_print() 199 ND_PRINT(" Hold time: "); in pimv1_join_prune_print() 218 ND_PRINT("\n\tGroup: %s", GET_IPADDR_STRING(bp)); in pimv1_join_prune_print() [all …]
|
H A D | print-bootp.c | 293 ND_PRINT("BOOTP/DHCP, %s", in bootp_print() 299 ND_PRINT(" from %s", GET_ETHERADDR_STRING(bp->bp_chaddr)); in bootp_print() 302 ND_PRINT(", length %u", length); in bootp_print() 311 ND_PRINT(", htype %u", bp_htype); in bootp_print() 315 ND_PRINT(", hlen %u", bp_hlen); in bootp_print() 319 ND_PRINT(", hops %u", GET_U_1(bp->bp_hops)); in bootp_print() 321 ND_PRINT(", xid 0x%x", GET_BE_U_4(bp->bp_xid)); in bootp_print() 323 ND_PRINT(", secs %u", GET_BE_U_2(bp->bp_secs)); in bootp_print() 325 ND_PRINT(", Flags [%s]", in bootp_print() 328 ND_PRINT(" (0x%04x)", GET_BE_U_2(bp->bp_flags)); in bootp_print() [all …]
|
H A D | print-openflow-1.0.c | 700 ND_PRINT("\n\t"); in of10_bsn_message_print() 705 ND_PRINT(" subtype %s", tok2str(bsn_subtype_str, "unknown (0x%08x)", subtype)); in of10_bsn_message_print() 722 ND_PRINT(", index %u", GET_U_1(cp)); in of10_bsn_message_print() 744 ND_PRINT(", index %u", GET_U_1(cp)); in of10_bsn_message_print() 749 ND_PRINT(", mask %s", GET_IPADDR_STRING(cp)); in of10_bsn_message_print() 766 ND_PRINT(", report_mirror_ports %s", in of10_bsn_message_print() 801 ND_PRINT(", vport_no %u", GET_BE_U_4(cp)); in of10_bsn_message_print() 818 ND_PRINT(", service %u", GET_BE_U_4(cp)); in of10_bsn_message_print() 821 ND_PRINT(", data '"); in of10_bsn_message_print() 823 ND_PRINT("'"); in of10_bsn_message_print() [all …]
|
H A D | print-babel.c | 58 ND_PRINT("babel"); in babel_print() 63 ND_PRINT(" invalid header"); in babel_print() 66 ND_PRINT(" %u", GET_U_1(cp + 1)); in babel_print() 74 ND_PRINT(" unknown version"); in babel_print() 308 ND_PRINT(" sub-pad1"); in subtlvs_print() 312 ND_PRINT(" (M)"); in subtlvs_print() 322 ND_PRINT(" sub-padn"); in subtlvs_print() 326 ND_PRINT(" sub-diversity"); in subtlvs_print() 328 ND_PRINT(" empty"); in subtlvs_print() 333 ND_PRINT("%s%s", sep, in subtlvs_print() [all …]
|
H A D | print-ospf.c | 191 ND_PRINT("\n\t Remaining LS length %u < 4", ls_length); in ospf_grace_lsa_print() 199 ND_PRINT("\n\t %s TLV (%u), length %u, value: ", in ospf_grace_lsa_print() 205 ND_PRINT("\n\t Bogus length %u > %u", tlv_length, in ospf_grace_lsa_print() 220 ND_PRINT("\n\t Bogus length %u != 4", tlv_length); in ospf_grace_lsa_print() 223 ND_PRINT("%us", GET_BE_U_4(tptr)); in ospf_grace_lsa_print() 228 ND_PRINT("\n\t Bogus length %u != 1", tlv_length); in ospf_grace_lsa_print() 231 ND_PRINT("%s (%u)", in ospf_grace_lsa_print() 238 ND_PRINT("\n\t Bogus length %u != 4", tlv_length); in ospf_grace_lsa_print() 241 ND_PRINT("%s", GET_IPADDR_STRING(tptr)); in ospf_grace_lsa_print() 278 ND_PRINT("\n\t Remaining LS length %u < 4", ls_length); in ospf_te_lsa_print() [all …]
|
H A D | print-isoclns.c | 738 ND_PRINT("OSI NLPID %s (0x%02x): ", in isoclns_print() 759 ND_PRINT("%slength: %u", ndo->ndo_eflag ? "" : ", ", length); in isoclns_print() 780 ND_PRINT("OSI NLPID 0x%02x unknown", GET_U_1(p)); in isoclns_print() 781 ND_PRINT("%slength: %u", ndo->ndo_eflag ? "" : ", ", length); in isoclns_print() 850 ND_PRINT("version %u packet not supported", in clnp_print() 856 ND_PRINT(" length indicator(%u) > PDU size (%u)!", li, length); in clnp_print() 861 ND_PRINT(" length indicator %u < min PDU size:", li); in clnp_print() 863 ND_PRINT("%02X", GET_U_1(pptr)); in clnp_print() 878 ND_PRINT("li < size of fixed part of CLNP header and addresses"); in clnp_print() 885 ND_PRINT("li < size of fixed part of CLNP header and addresses"); in clnp_print() [all …]
|
H A D | print-dccp.c | 255 ND_PRINT("(ack=%" PRIu64 ") ", ackno); in dccp_print_ack_no() 293 ND_PRINT("truncated-dccp - %zu bytes missing!", in dccp_print() 301 ND_PRINT("truncated-dccp - %u bytes missing!", in dccp_print() 312 ND_PRINT("%s.%u > %s.%u: ", in dccp_print() 316 ND_PRINT("%s.%u > %s.%u: ", in dccp_print() 324 ND_PRINT(" %u", len - hlen); in dccp_print() 326 ND_PRINT(" [bad hdr length %u - too long, > %u]", in dccp_print() 334 ND_PRINT(" (CCVal %u, CsCov %u", DCCPH_CCVAL(dh), DCCPH_CSCOV(dh)); in dccp_print() 342 ND_PRINT(", cksum 0x%04x ", dccp_sum); in dccp_print() 348 ND_PRINT("(incorrect -> 0x%04x)",in_cksum_shouldbe(dccp_sum, sum)); in dccp_print() [all …]
|
H A D | print-icmp6.c | 763 ND_PRINT(":"); in print_lladdr() 764 ND_PRINT("%02x", GET_U_1(q)); in print_lladdr() 810 ND_PRINT(" opt:pad1"); in rpl_printopts() 815 ND_PRINT(" opt:%s len:%u ", in rpl_printopts() 843 ND_PRINT(" [dagid:%s,seq:%u,instance:%u,rank:%u,%smop:%s,prf:%u]", in rpl_dio_print() 886 ND_PRINT(" [dagid:%s,seq:%u,instance:%u%s%s,flags:%02x]", in rpl_dao_print() 904 ND_PRINT(" [|length too short]"); in rpl_dao_print() 929 ND_PRINT(" [dagid:%s,seq:%u,instance:%u,status:%u]", in rpl_daoack_print() 946 ND_PRINT(" [|dao-length too short]"); in rpl_daoack_print() 958 ND_PRINT(", (SEC) [worktodo]"); in rpl_print() [all …]
|
H A D | print-lldp.c | 617 ND_PRINT("\n\t Priority Assignment Table"); in print_ets_priority_assignment_table() 618 ND_PRINT("\n\t Priority : 0 1 2 3 4 5 6 7"); in print_ets_priority_assignment_table() 619 ND_PRINT("\n\t Value : %-3d %-3d %-3d %-3d %-3d %-3d %-3d %-3d", in print_ets_priority_assignment_table() 630 ND_PRINT("\n\t TC Bandwidth Table"); in print_tc_bandwidth_table() 631 ND_PRINT("\n\t TC%% : 0 1 2 3 4 5 6 7"); in print_tc_bandwidth_table() 632 ND_PRINT("\n\t Value : %-3d %-3d %-3d %-3d %-3d %-3d %-3d %-3d", in print_tc_bandwidth_table() 642 ND_PRINT("\n\t TSA Assignment Table"); in print_tsa_assignment_table() 643 ND_PRINT("\n\t Traffic Class: 0 1 2 3 4 5 6 7"); in print_tsa_assignment_table() 644 ND_PRINT("\n\t Value : %-3d %-3d %-3d %-3d %-3d %-3d %-3d %-3d", in print_tsa_assignment_table() 668 ND_PRINT("\n\t %s Subtype (%u)", in lldp_private_8021_print() [all …]
|
H A D | print-ppp.c | 426 ND_PRINT("%s, ", typestr); in handle_ctrl_proto() 435 ND_PRINT("%s (0x%02x), id %u, length %u", in handle_ctrl_proto() 449 ND_PRINT("\n\tencoded length %u (< 4))", len); in handle_ctrl_proto() 454 ND_PRINT("\n\tencoded length %u (> packet length %u))", len, length); in handle_ctrl_proto() 459 ND_PRINT("\n\tencoded length %u (=Option(s) length %u)", len, len - 4); in handle_ctrl_proto() 472 ND_PRINT("\n\t Magic-Num 0x%08x", GET_BE_U_4(tptr)); in handle_ctrl_proto() 474 ND_PRINT(" Vendor: %s (%u)", in handle_ctrl_proto() 516 ND_PRINT(" [remaining options length %u < %u]", in handle_ctrl_proto() 536 ND_PRINT("\n\t Rejected %s Protocol (0x%04x)", in handle_ctrl_proto() 541 ND_PRINT("\n\t Rejected Packet"); in handle_ctrl_proto() [all …]
|
H A D | print-pgm.c | 167 ND_PRINT("%s > %s:", in pgm_print() 171 ND_PRINT("%s > %s:", in pgm_print() 184 ND_PRINT("%s.%s > %s.%s: ", in pgm_print() 190 ND_PRINT("%s > %s: ", in pgm_print() 195 ND_PRINT("%s.%s > %s.%s: ", in pgm_print() 201 ND_PRINT("%s > %s: ", in pgm_print() 208 ND_PRINT("PGM, length %u", GET_BE_U_2(pgm->pgm_length)); in pgm_print() 214 ND_PRINT(" 0x%02x%02x%02x%02x%02x%02x ", in pgm_print() 245 ND_PRINT("SPM seq %u trail %u lead %u nla %s", in pgm_print() 286 ND_PRINT("POLL seq %u round %u nla %s ivl %u rnd 0x%08x " in pgm_print() [all …]
|
H A D | print-ptp.c | 310 ND_PRINT(", %s", st); in print_field() 312 ND_PRINT(" 0x%x", u8_val); in print_field() 314 ND_PRINT(" %u", u8_val); in print_field() 319 ND_PRINT(", %s", st); in print_field() 321 ND_PRINT(" 0x%x", u16_val); in print_field() 323 ND_PRINT(" %u", u16_val); in print_field() 328 ND_PRINT(", %s", st); in print_field() 330 ND_PRINT(" 0x%x", u32_val); in print_field() 332 ND_PRINT(" %u", u32_val); in print_field() 337 ND_PRINT(", %s", st); in print_field() [all …]
|
H A D | print-domain.c | 126 ND_PRINT("\\[x"); in blabel_print() 128 ND_PRINT("%02x", GET_U_1(bitp)); in blabel_print() 133 ND_PRINT("%02x", tc & (0xff << (8 - b))); in blabel_print() 137 ND_PRINT("%1x", ((tc >> 4) & 0x0f) & (0x0f << (4 - b))); in blabel_print() 139 ND_PRINT("/%u]", bitlen); in blabel_print() 157 ND_PRINT("<ELT %d>", elt); in labellen() 176 ND_PRINT("<BAD LABEL TYPE>"); in labellen() 228 ND_PRINT("<BAD PTR>"); in fqdn_print() 250 ND_PRINT("<ELT %u>", elt); in fqdn_print() 256 ND_PRINT("<BAD LABEL TYPE>"); in fqdn_print() [all …]
|
H A D | print-cdp.c | 69 ND_PRINT("'"); in cdp_print_string() 71 ND_PRINT("'"); in cdp_print_string() 91 ND_PRINT("%1.2fW", val / 1000.0); in cdp_print_power() 100 ND_PRINT("(0x%08x): %s", val, in cdp_print_capability() 111 ND_PRINT("\n\t "); in cdp_print_version() 116 ND_PRINT("\n\t "); in cdp_print_version() 126 ND_PRINT("%u", GET_BE_U_2(cp)); in cdp_print_uint16() 133 ND_PRINT("%s", GET_U_1(cp) ? "full": "half"); in cdp_print_duplex() 153 ND_PRINT("unknown 0x%04x", GET_BE_U_2(cp)); in cdp_print_ata186() 155 ND_PRINT("app %u, vlan %u", GET_U_1(cp), GET_BE_U_2(cp + 1)); in cdp_print_ata186() [all …]
|
H A D | print-decnet.c | 479 ND_PRINT(" (length %u < %zu)", length, sizeof(struct shorthdr)); in decnet_print() 485 ND_PRINT(" (pktlen %u < %zu)", pktlen, sizeof(struct shorthdr)); in decnet_print() 489 ND_PRINT(" (pktlen %u > %u)", pktlen, length); in decnet_print() 501 ND_PRINT("[pad:%u] ", padlen); in decnet_print() 503 ND_PRINT(" (length %u < %u)", length, padlen + 2); in decnet_print() 515 ND_PRINT("future-version-decnet"); in decnet_print() 530 ND_PRINT(" (length %u < %zu)", length, sizeof(struct longhdr)); in decnet_print() 550 ND_PRINT("unknown message flags under mask"); in decnet_print() 555 ND_PRINT("%s > %s %u ", in decnet_print() 559 ND_PRINT("RQR "); in decnet_print() [all …]
|
H A D | print-ip.c | 60 ND_PRINT(" [bad length %u]", length); in ip_printroute() 64 ND_PRINT(" [bad length %u]", length); in ip_printroute() 67 ND_PRINT(" [bad ptr %u]", GET_U_1(cp + 2)); in ip_printroute() 71 ND_PRINT(" %s", GET_IPADDR_STRING(cp + len)); in ip_printroute() 73 ND_PRINT(","); in ip_printroute() 175 ND_PRINT("[bad length %u]", length); in ip_printts() 178 ND_PRINT(" TS{"); in ip_printts() 181 ND_PRINT("[bad length %u]", length); in ip_printts() 185 ND_PRINT("[bad ptr %u]", GET_U_1(cp + 2)); in ip_printts() 188 ND_PRINT("TSONLY"); in ip_printts() [all …]
|
H A D | print-isakmp.c | 725 ND_PRINT(" [|%s]", NPSTR(np)); \ 846 ND_PRINT("%02x", p[i] & 0xff); in hexprint() 881 ND_PRINT(" data=("); in ike_show_somedata() 883 ND_PRINT("..."); in ike_show_somedata() 887 ND_PRINT(")"); in ike_show_somedata() 914 ND_PRINT("[|attr]"); in ikev1_attrmap_print() 918 ND_PRINT("("); in ikev1_attrmap_print() 921 ND_PRINT("type=%s ", map[t].type); in ikev1_attrmap_print() 923 ND_PRINT("type=#%u ", t); in ikev1_attrmap_print() 925 ND_PRINT("value="); in ikev1_attrmap_print() [all …]
|
H A D | print-radius.c | 105 ND_PRINT("%02X", GET_U_1(ptr_data)); \ 779 ND_PRINT("Tag[%u] ", GET_U_1(data)); in print_attr_string() 781 ND_PRINT("Tag[Unused] "); in print_attr_string() 784 ND_PRINT("Salt %u ", GET_BE_U_2(data)); in print_attr_string() 798 ND_PRINT("Tag[%u] ", GET_U_1(data)); in print_attr_string() 800 ND_PRINT("Tag[Unused] "); in print_attr_string() 808 ND_PRINT("%s (0x%02x) ", in print_attr_string() 822 ND_PRINT("%c", ND_ASCII_ISPRINT(GET_U_1(data)) ? GET_U_1(data) : '.'); in print_attr_string() 848 ND_PRINT("Vendor: %s (%u)", in print_vendor_attr() 857 ND_PRINT("\n\t Vendor Attribute: %u, Length: %u (bogus, must be >= 2)", in print_vendor_attr() [all …]
|
H A D | print-pptp.c | 265 ND_PRINT(" [ERROR: reserved=%u must be zero]", \ 270 ND_PRINT(" [ERROR: reserved=%u must be zero]", \ 281 ND_PRINT(" BEARER_CAP(%s%s)", in pptp_bearer_cap_print() 297 ND_PRINT(" BEARER_TYPE(%s)", in pptp_bearer_type_print() 305 ND_PRINT(" CALL_ID(%u)", GET_BE_U_2(call_id)); in pptp_call_id_print() 312 ND_PRINT(" CALL_SER_NUM(%u)", GET_BE_U_2(call_ser)); in pptp_call_ser_print() 319 ND_PRINT(" CAUSE_CODE(%u)", GET_BE_U_2(cause_code)); in pptp_cause_code_print() 326 ND_PRINT(" CONN_SPEED(%u)", GET_BE_U_4(conn_speed)); in pptp_conn_speed_print() 344 ND_PRINT(" ERR_CODE(%u", GET_U_1(err_code)); in pptp_err_code_print() 346 ND_PRINT(":%s", in pptp_err_code_print() [all …]
|