Home
last modified time | relevance | path

Searched refs:tok2str (Results 1 – 25 of 79) sorted by relevance

1234

/external/tcpdump/
Dprint-llc.c228 tok2str(llc_values, "Unknown", dsap), in llc_print()
230 tok2str(llc_ig_flag_values, "Unknown", dsap_field & LLC_IG), in llc_print()
231 tok2str(llc_values, "Unknown", ssap), in llc_print()
233 tok2str(llc_flag_values, "Unknown", ssap_field & LLC_GSAP)); in llc_print()
321 (void)printf("%s ", tok2str(llc_values, "Unknown DSAP 0x%02x", dsap)); in llc_print()
326 tok2str(llc_values, "Unknown DSAP 0x%02x", dsap)); in llc_print()
330 tok2str(llc_values, "Unknown SSAP 0x%02x", ssap), in llc_print()
331 tok2str(llc_values, "Unknown DSAP 0x%02x", dsap)); in llc_print()
335 tok2str(llc_values, "Unknown SSAP 0x%02x", ssap), in llc_print()
337 tok2str(llc_values, "Unknown DSAP 0x%02x", dsap)); in llc_print()
[all …]
Dprint-bfd.c192 tok2str(bfd_port_values, "unknown (%u)", port), in bfd_print()
201 tok2str(bfd_port_values, "unknown (%u)", port), in bfd_print()
203 tok2str(bfd_diag_values,"unknown",BFD_EXTRACT_DIAG(bfd_header->version_diag)), in bfd_print()
225 tok2str(bfd_port_values, "unknown (%u)", port), in bfd_print()
226tok2str(bfd_v1_state_values, "unknown (%u)", (bfd_header->flags & 0xc0) >> 6), in bfd_print()
235 tok2str(bfd_port_values, "unknown (%u)", port), in bfd_print()
236 tok2str(bfd_v1_state_values, "unknown (%u)", (bfd_header->flags & 0xc0) >> 6), in bfd_print()
238 tok2str(bfd_diag_values,"unknown",BFD_EXTRACT_DIAG(bfd_header->version_diag)), in bfd_print()
258 tok2str(bfd_v1_authentication_values,"Unknown",bfd_auth_header->auth_type), in bfd_print()
271 tok2str(bfd_port_values, "unknown (%u)", port), in bfd_print()
Dprint-lldp.c653 tok2str(lldp_8021_subtype_values, "unknown", subtype), in lldp_private_8021_print()
804 tok2str(lldp_evb_mode_values,"unknown",tval>>6),tval>>6); in lldp_private_8021_print()
853 tok2str(lldp_8023_subtype_values, "unknown", subtype), in lldp_private_8023_print()
868 tok2str(lldp_mau_types_values, "unknown", EXTRACT_16BITS(tptr+7)), in lldp_private_8023_print()
878 tok2str(lldp_mdi_power_pairs_values, "unknown", *(tptr+5)), in lldp_private_8023_print()
879 tok2str(lldp_mdi_power_class_values, "unknown", *(tptr+6))); in lldp_private_8023_print()
935 tok2str(lldp_tia_subtype_values, "unknown", subtype), in lldp_private_tia_print()
947 tok2str(lldp_tia_device_type_values, "unknown", *(tptr+6)), in lldp_private_tia_print()
956 tok2str(lldp_tia_application_type_values, "none", *(tptr+4)), in lldp_private_tia_print()
974 tok2str(lldp_tia_location_data_format_values, "unknown", location_format), in lldp_private_tia_print()
[all …]
Dprint-ppp.c434 typestr = tok2str(ppptype2str, "unknown ctrl-proto (0x%04x)", proto); in handle_ctrl_proto()
444 tok2str(cpcodes, "Unknown Opcode",code), in handle_ctrl_proto()
474 tok2str(oui_values,"Unknown",EXTRACT_24BITS(tptr)), in handle_ctrl_proto()
531 tok2str(ppptype2str,"unknown", EXTRACT_16BITS(tptr)), in handle_ctrl_proto()
619 tok2str(oui_values,"Unknown",EXTRACT_24BITS(p+2)), in print_lcp_config_options()
647 … printf("%s", tok2str(ppptype2str,"Unknown Auth Proto (0x04x)",EXTRACT_16BITS(p+2))); in print_lcp_config_options()
652 printf(", %s",tok2str(authalg_values,"Unknown Auth Alg %u",p[4])); in print_lcp_config_options()
694 tok2str(ppp_callback_values,"Unknown",p[2]), in print_lcp_config_options()
818 tok2str(chapcode_values,"unknown",code), in handle_chap()
897 tok2str(papcode_values,"unknown",code), in handle_pap()
[all …]
Dprint-vtp.c141 tok2str(vtp_message_type_values,"Unknown message type", type), in vtp_print()
153 tok2str(vtp_header_values,"Unknown",*(tptr+1)), in vtp_print()
250 tok2str(vtp_vlan_status,"Unknown",vtp_vlan->status), in vtp_print()
251 tok2str(vtp_vlan_type_values,"Unknown",vtp_vlan->type), in vtp_print()
275 tok2str(vtp_vlan_tlv_values, "Unknown", type), in vtp_print()
303 tok2str(vtp_stp_type_values, "Unknown", tlv_value), in vtp_print()
Dprint-rsvp.c512 tok2str(rsvp_intserv_parameter_id_values,"unknown",parameter_id), in rsvp_intserv_print()
688 tok2str(rsvp_obj_values, in rsvp_obj_print()
699 tok2str(rsvp_ctype_values, in rsvp_obj_print()
902 tok2str(rsvp_resstyle_values, in rsvp_obj_print()
987 tok2str(ethertype_values, in rsvp_obj_print()
999 tok2str(ethertype_values, in rsvp_obj_print()
1019 tok2str(ethertype_values, in rsvp_obj_print()
1036 tok2str(gmpls_encoding_values, in rsvp_obj_print()
1042 tok2str(gmpls_switch_cap_values, in rsvp_obj_print()
1046 tok2str(gmpls_payload_values, in rsvp_obj_print()
[all …]
Dprint-ospf.c213 tok2str(lsa_opaque_grace_tlv_values,"unknown",tlv_type), in ospf_print_grace_lsa()
245 tok2str(lsa_opaque_grace_tlv_reason_values, "Unknown", *tptr), in ospf_print_grace_lsa()
299 tok2str(lsa_opaque_te_tlv_values,"unknown",tlv_type), in ospf_print_te_lsa()
329 tok2str(lsa_opaque_te_link_tlv_subtlv_values,"unknown",subtlv_type), in ospf_print_te_lsa()
367 tok2str(diffserv_te_bc_values, "unknown", *tptr), in ospf_print_te_lsa()
387 tok2str(gmpls_switch_cap_values, "Unknown", *(tptr))); in ospf_print_te_lsa()
389 tok2str(gmpls_encoding_values, "Unknown", *(tptr+1))); in ospf_print_te_lsa()
399 tok2str(lsa_opaque_te_tlv_link_type_sub_tlv_values,"unknown",*tptr), in ospf_print_te_lsa()
489 tok2str(lsa_values,"unknown",lshp->ls_type), in ospf_print_lshdr()
492 tok2str(lsa_opaque_values, in ospf_print_lshdr()
[all …]
Dprint-eap.c179 tok2str(eap_frame_type_values, "unknown", eap->type), in eap_print()
187 tok2str(eap_frame_type_values, "unknown", eap->type), in eap_print()
200 tok2str(eap_code_values, "unknown", type), in eap_print()
211 tok2str(eap_type_values, "unknown", *(tptr+4)), in eap_print()
239 tok2str(eap_type_values, "unknown", *(tptr+count)), in eap_print()
275 tok2str(eap_aka_subtype_values, "unknown", *(tptr+5)), in eap_print()
Dprint-syslog.c123 tok2str(syslog_facility_values, "unknown (%u)", facility), in syslog_print()
124 tok2str(syslog_severity_values, "unknown (%u)", severity), in syslog_print()
131 tok2str(syslog_facility_values, "unknown (%u)", facility), in syslog_print()
133 tok2str(syslog_severity_values, "unknown (%u)", severity), in syslog_print()
Dprint-openflow-1.0.c682 printf("\n\t port_no %s", tok2str(ofpp_str, "%u", EXTRACT_16BITS(cp))); in of10_phy_ports_print()
760 printf("\n\t property %s", tok2str(ofpqt_str, "invalid (0x%04x)", property)); in of10_queue_props_print()
882 printf("%smatch in_port %s", pfx, tok2str(ofpp_str, "%u", EXTRACT_16BITS(cp))); in of10_match_print()
983 printf("%saction type %s", pfx, tok2str(ofpat_str, "invalid (0x%04x)", type)); in of10_actions_print()
1033 printf(", port %s", tok2str(ofpp_str, "%u", output_port)); in of10_actions_print()
1097 printf(", port %s", tok2str(ofpp_str, "%u", EXTRACT_16BITS(cp))); in of10_actions_print()
1104 printf(", queue_id %s", tok2str(ofpq_str, "%u", EXTRACT_32BITS(cp))); in of10_actions_print()
1182 printf(", command %s", tok2str(ofpfc_str, "invalid (0x%04x)", command)); in of10_flow_mod_print()
1203 printf(", buffer_id %s", tok2str(bufferid_str, "0x%08x", EXTRACT_32BITS(cp))); in of10_flow_mod_print()
1208 printf(", out_port %s", tok2str(ofpp_str, "%u", EXTRACT_16BITS(cp))); in of10_flow_mod_print()
[all …]
Dprint-cfm.c252 tok2str(af_values, "Unknown", mgmt_addr_type), in cfm_mgmt_addr_print()
323 tok2str(cfm_opcode_values, "unknown (%u)", cfm_common_header->opcode), in cfm_print()
369 tok2str(cfm_md_nameformat_values, "Unknown", in cfm_print()
404 tok2str(cfm_ma_nameformat_values, "Unknown", in cfm_print()
456 tok2str(cfm_ltr_replay_action_values, in cfm_print()
502 tok2str(cfm_tlv_values, "Unknown", cfm_tlv_type), in cfm_print()
531 tok2str(cfm_tlv_port_status_values, "Unknown", *tptr), in cfm_print()
537 tok2str(cfm_tlv_interface_status_values, "Unknown", *tptr), in cfm_print()
543 tok2str(oui_values,"Unknown", EXTRACT_24BITS(tptr)), in cfm_print()
569 tok2str(cfm_tlv_senderid_chassisid_values, in cfm_print()
Dprint-vqp.c138 tok2str(vqp_msg_type_values, "unknown (%u)",vqp_common_header->msg_type), in vqp_print()
139 tok2str(vqp_error_code_values, "unknown (%u)",vqp_common_header->error_code), in vqp_print()
149 tok2str(vqp_msg_type_values, "unknown (%u)",vqp_common_header->msg_type), in vqp_print()
150 tok2str(vqp_error_code_values, "unknown (%u)",vqp_common_header->error_code), in vqp_print()
169 tok2str(vqp_obj_values, "Unknown", vqp_obj_type), in vqp_print()
Dprint-lspping.c517 tok2str(lspping_msg_type_values, "unknown (%u)",lspping_com_header->msg_type), in lspping_print()
529 tok2str(lspping_msg_type_values, "unknown",lspping_com_header->msg_type), in lspping_print()
532 tok2str(lspping_reply_mode_values, "unknown",lspping_com_header->reply_mode), in lspping_print()
546 tok2str(lspping_return_code_values, "unknown",lspping_com_header->return_code), in lspping_print()
552 tok2str(lspping_return_code_values, "unknown",lspping_com_header->return_code), in lspping_print()
596 tok2str(lspping_tlv_values, in lspping_print()
628 tok2str(lspping_tlvtargetfec_subtlv_values, in lspping_print()
728 tok2str(l2vpn_encaps_values, in lspping_print()
743 tok2str(l2vpn_encaps_values, in lspping_print()
758 tok2str(l2vpn_encaps_values, in lspping_print()
[all …]
Dprint-lmp.c396 tok2str(lmp_msg_type_values, "unknown (%u)",lmp_com_header->msg_type), in lmp_print()
407 tok2str(lmp_msg_type_values, "unknown, type: %u",lmp_com_header->msg_type), in lmp_print()
427 tok2str(lmp_obj_values, in lmp_print()
431 tok2str(lmp_ctype_values, in lmp_print()
594 tok2str(lmp_data_link_subobj, in lmp_print()
602 tok2str(gmpls_switch_cap_values, in lmp_print()
607 tok2str(gmpls_encoding_values, in lmp_print()
652 tok2str(gmpls_encoding_values, "Unknown", *(obj_tptr+8))); in lmp_print()
714 tok2str(lmp_obj_channel_status_values, in lmp_print()
788 tok2str(lmp_sd_service_config_cpsa_link_type_values, in lmp_print()
[all …]
Dprint-slow.c298 tok2str(slow_proto_values, "unknown (%u)",slow_com_header->proto_subtype), in slow_print()
304 tok2str(slow_proto_values, "unknown (%u)",slow_com_header->proto_subtype), in slow_print()
360 tok2str(slow_tlv_values, in slow_marker_lacp_print()
488 tok2str(slow_oam_code_values, "Unknown (%u)", ptr.slow_oam_common_header->code), in slow_oam_print()
498 tok2str(slow_oam_info_type_values, "Reserved", in slow_oam_print()
527 tok2str(slow_oam_info_type_state_parser_values, "Reserved", in slow_oam_print()
529 tok2str(slow_oam_info_type_state_mux_values, "Reserved", in slow_oam_print()
537 tok2str(oui_values, "Unknown", in slow_oam_print()
572 tok2str(slow_oam_link_event_values, "Reserved", in slow_oam_print()
639 tok2str(slow_oam_loopbackctrl_cmd_values, in slow_oam_print()
Dprint-bootp.c74 tok2str(bootp_op_values, "unknown (0x%02x)", bp->bp_op)); in bootp_print()
398 cp = tok2str(xtag2str, "?xT%u", tag); in rfc1048_print()
400 cp = tok2str(tag2str, "?T%u", tag); in rfc1048_print()
431 printf("%s", tok2str(dhcp_msg_values, "Unknown (%u)", uc)); in rfc1048_print()
439 cp = tok2str(tag2str, "?Option %u", uc); in rfc1048_print()
456 cp = tok2str(xtag2str, "?xT%u", us); in rfc1048_print()
592 fputs(tok2str(nbo2str, NULL, tag), stdout); in rfc1048_print()
604 fputs(tok2str(oo2str, NULL, tag), stdout); in rfc1048_print()
654 printf("%s ", tok2str(arp2str, "hardware-type %u,", type)); in rfc1048_print()
674 tok2str(agent_suboption_values, "Unknown", subopt), in rfc1048_print()
[all …]
Dprint-isoclns.c682 tok2str(nlpid_values,"Unknown",*p), in isoclns_print()
822 tok2str(clnp_pdu_values,"unknown (%u)",clnp_pdu_type), in clnp_print()
829 tok2str(clnp_pdu_values, "unknown (%u)",clnp_pdu_type), in clnp_print()
883 tok2str(clnp_option_values,"Unknown",op), in clnp_print()
893 tok2str(clnp_option_sr_rr_values,"Unknown",*tptr), in clnp_print()
894 tok2str(clnp_option_sr_rr_string_values,"Unknown Option %u",op)); in clnp_print()
930tok2str(clnp_option_scope_values,"Reserved",*tptr&CLNP_OPTION_SCOPE_MASK)); in clnp_print()
941tok2str(clnp_option_scope_values,"Reserved",*tptr&CLNP_OPTION_SCOPE_MASK), in clnp_print()
949 tok2str(clnp_option_rfd_class_values,"Unknown",rfd_error_major), in clnp_print()
951tok2str(clnp_option_rfd_error_class[rfd_error_major],"Unknown",rfd_error_minor), in clnp_print()
[all …]
Dprint-atm.c271 tok2str(msgtype2str, "msgtype#%d", p[MSG_TYPE_POS])); in sig_print()
377 tok2str(oam_f_values, "OAM F5", vci), in oam_print()
379 tok2str(atm_pty_values, "Unknown", payload), in oam_print()
387 tok2str(oam_celltype_values, "unknown", cell_type), in oam_print()
394 tok2str(oam_functype_values[cell_type],"none",func_type), in oam_print()
403 tok2str(oam_fm_loopback_indicator_values, in oam_print()
Dprint-pppoe.c131 printf("PPPoE %s", tok2str(pppoecode2str, "PAD-%x", pppoe_code)); in pppoe_print()
180 tok2str(pppoetag2str, "TAG-0x%x", tag_type), in pppoe_print()
186 printf(" [%s 0x", tok2str(pppoetag2str, "TAG-0x%x", tag_type)); in pppoe_print()
195 printf(" [%s]", tok2str(pppoetag2str, in pppoe_print()
Dprint-tipc.c197 tok2str(tipcuser_values, "unknown", user), in print_payload()
198 tok2str(tipcmtype_values, "Unknown", mtype))); in print_payload()
210 tok2str(tipcuser_values, "unknown", user), in print_payload()
211 tok2str(tipcmtype_values, "Unknown", mtype))); in print_payload()
265 tok2str(tipcuser_values, "unknown", user), in print_internal()
266 tok2str(tipcmtype_values, "Unknown", mtype), w1)); in print_internal()
327 tok2str(tipcuser_values, "unknown", user), in print_link_conf()
328 tok2str(tipc_linkconf_mtype_values, "Unknown", mtype))); in print_link_conf()
Dprint-ldp.c266 tok2str(ldp_tlv_values, in ldp_tlv_print()
307 tok2str(af_values, "Unknown (%u)", af)); in ldp_tlv_print()
346 tok2str(ldp_fec_values, "Unknown", fec_type), in ldp_tlv_print()
400 tok2str(l2vpn_encaps_values, "Unknown", EXTRACT_16BITS(tptr)&0x7fff), in ldp_tlv_print()
410 tok2str(l2vpn_encaps_values, "Unknown", EXTRACT_16BITS(tptr)&0x7fff), in ldp_tlv_print()
433 tok2str(ldp_fec_martini_ifparm_values,"Unknown",vc_info_tlv_type), in ldp_tlv_print()
612 tok2str(ldp_msg_values, in ldp_msg_print()
Dprint-rx.c463 printf(" rx %s", tok2str(rx_types, "type %d", rxh->type)); in rx_print()
823 printf(" fs call %s", tok2str(fs_req, "op#%d", fs_op)); in fs_print()
991 printf(" fs reply %s", tok2str(fs_req, "op#%d", opcode)); in fs_reply_print()
1039 printf(" error %s", tok2str(afs_fs_errors, "#%d", i)); in fs_reply_print()
1162 printf(" cb call %s", tok2str(cb_req, "op#%d", cb_op)); in cb_print()
1202 tok2str(cb_types, "type %d", t); in cb_print()
1239 printf(" cb reply %s", tok2str(cb_req, "op#%d", opcode)); in cb_reply_print()
1300 printf(" call %s", tok2str(pt_req, "op#%d", pt_op)); in prot_print()
1440 printf(" reply %s", tok2str(pt_req, "op#%d", opcode)); in prot_reply_print()
1554 printf(" call %s", tok2str(vldb_req, "op#%d", vldb_op)); in vldb_print()
[all …]
Dprint-fr.c201 tok2str(nlpid_values,"unknown", nlpid), in fr_hdr_print()
209 tok2str(ethertype_values, "unknown", nlpid), in fr_hdr_print()
425 tok2str(mfr_ctrl_msg_values,"Unknown Message (0x%02x)",p[2]), in mfr_print()
440 tok2str(mfr_ctrl_ie_values,"Unknown",ie_type), in mfr_print()
757 tok2str(fr_q933_msg_values, in q933_print()
763 tok2str(fr_q933_msg_values, in q933_print()
794 tok2str(fr_q933_ie_codesets[codeset], in q933_print()
837 tok2str(fr_lmi_report_type_ie_values,"unknown",p[2]), in fr_q933_print_ie_codeset5()
Dprint-rip.c106 printf("\n\t AFI %s, ", tok2str(bsd_af_values, "Unknown (%u)", family)); in rip_entry_print_v1()
160 printf("\n\t AFI %s", tok2str(bsd_af_values, "Unknown (%u)", family)); in rip_entry_print_v2()
164 tok2str(bsd_af_values, "%u", family), in rip_entry_print_v2()
221 tok2str(rip_cmd_values, in rip_print()
Dprint-pflog.c106 tok2str(pf_reasons, "unkn(%u)", hdr->reason), in pflog_print()
107 tok2str(pf_actions, "unkn(%u)", hdr->action), in pflog_print()
108 tok2str(pf_directions, "unkn(%u)", hdr->dir), in pflog_print()

1234