Home
last modified time | relevance | path

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

1234

/external/tcpdump/
Dprint-dccp.c378 tok2str(dccp_pkt_type_str, "", dccph_type), in dccp_print()
384 tok2str(dccp_pkt_type_str, "", dccph_type), in dccp_print()
394 tok2str(dccp_pkt_type_str, "", dccph_type), in dccp_print()
400 tok2str(dccp_pkt_type_str, "", dccph_type), in dccp_print()
405 ND_PRINT((ndo, "%s ", tok2str(dccp_pkt_type_str, "", dccph_type))); in dccp_print()
411 tok2str(dccp_pkt_type_str, "", dccph_type), in dccp_print()
415 ND_PRINT((ndo, "%s ", tok2str(dccp_pkt_type_str, "", dccph_type))); in dccp_print()
422 tok2str(dccp_pkt_type_str, "", dccph_type), in dccp_print()
426 ND_PRINT((ndo, "%s ", tok2str(dccp_pkt_type_str, "", dccph_type))); in dccp_print()
433 tok2str(dccp_pkt_type_str, "", dccph_type), in dccp_print()
[all …]
Dprint-llc.c221 tok2str(llc_values, "Unknown", dsap), in llc_print()
223 tok2str(llc_ig_flag_values, "Unknown", dsap_field & LLC_IG), in llc_print()
224 tok2str(llc_values, "Unknown", ssap), in llc_print()
226 tok2str(llc_flag_values, "Unknown", ssap_field & LLC_GSAP))); in llc_print()
317 ND_PRINT((ndo, "%s ", tok2str(llc_values, "Unknown DSAP 0x%02x", dsap))); in llc_print()
322 tok2str(llc_values, "Unknown DSAP 0x%02x", dsap))); in llc_print()
326 tok2str(llc_values, "Unknown SSAP 0x%02x", ssap), in llc_print()
327 tok2str(llc_values, "Unknown DSAP 0x%02x", dsap))); in llc_print()
331 tok2str(llc_values, "Unknown SSAP 0x%02x", ssap), in llc_print()
333 tok2str(llc_values, "Unknown DSAP 0x%02x", dsap))); in llc_print()
[all …]
Dprint-bfd.c185 tok2str(bfd_port_values, "unknown (%u)", port), in bfd_print()
194 tok2str(bfd_port_values, "unknown (%u)", port), in bfd_print()
196 tok2str(bfd_diag_values,"unknown",BFD_EXTRACT_DIAG(bfd_header->version_diag)), in bfd_print()
218 tok2str(bfd_port_values, "unknown (%u)", port), in bfd_print()
219tok2str(bfd_v1_state_values, "unknown (%u)", (bfd_header->flags & 0xc0) >> 6), in bfd_print()
228 tok2str(bfd_port_values, "unknown (%u)", port), in bfd_print()
229 tok2str(bfd_v1_state_values, "unknown (%u)", (bfd_header->flags & 0xc0) >> 6), in bfd_print()
231 tok2str(bfd_diag_values,"unknown",BFD_EXTRACT_DIAG(bfd_header->version_diag)), in bfd_print()
251 tok2str(bfd_v1_authentication_values,"Unknown",bfd_auth_header->auth_type), in bfd_print()
264 tok2str(bfd_port_values, "unknown (%u)", port), in bfd_print()
Dprint-lldp.c654 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()
854 tok2str(lldp_8023_subtype_values, "unknown", subtype), in lldp_private_8023_print()
869 tok2str(lldp_mau_types_values, "unknown", EXTRACT_16BITS(tptr+7)), in lldp_private_8023_print()
879 tok2str(lldp_mdi_power_pairs_values, "unknown", *(tptr+5)), in lldp_private_8023_print()
880 tok2str(lldp_mdi_power_class_values, "unknown", *(tptr + 6)))); in lldp_private_8023_print()
937 tok2str(lldp_tia_subtype_values, "unknown", subtype), in lldp_private_tia_print()
949 tok2str(lldp_tia_device_type_values, "unknown", *(tptr+6)), in lldp_private_tia_print()
958 tok2str(lldp_tia_application_type_values, "none", *(tptr+4)), in lldp_private_tia_print()
976 tok2str(lldp_tia_location_data_format_values, "unknown", location_format), in lldp_private_tia_print()
[all …]
Dprint-vtp.c138 tok2str(vtp_message_type_values,"Unknown message type", type), in vtp_print()
150 tok2str(vtp_header_values,"Unknown",*(tptr+1)), in vtp_print()
246 tok2str(vtp_vlan_status,"Unknown",vtp_vlan->status), in vtp_print()
247 tok2str(vtp_vlan_type_values,"Unknown",vtp_vlan->type), in vtp_print()
271 tok2str(vtp_vlan_tlv_values, "Unknown", type), in vtp_print()
298 tok2str(vtp_stp_type_values, "Unknown", tlv_value), in vtp_print()
Dprint-rsvp.c503 tok2str(rsvp_intserv_parameter_id_values,"unknown",parameter_id), in rsvp_intserv_print()
679 tok2str(rsvp_obj_values, in rsvp_obj_print()
690 tok2str(rsvp_ctype_values, in rsvp_obj_print()
893 tok2str(rsvp_resstyle_values, in rsvp_obj_print()
978 tok2str(ethertype_values, in rsvp_obj_print()
990 tok2str(ethertype_values, in rsvp_obj_print()
1010 tok2str(ethertype_values, in rsvp_obj_print()
1027 tok2str(gmpls_encoding_values, in rsvp_obj_print()
1033 tok2str(gmpls_switch_cap_values, in rsvp_obj_print()
1037 tok2str(gmpls_payload_values, in rsvp_obj_print()
[all …]
Dprint-eap.c169 tok2str(eap_frame_type_values, "unknown", eap->type), in eap_print()
177 tok2str(eap_frame_type_values, "unknown", eap->type), in eap_print()
190 tok2str(eap_code_values, "unknown", type), in eap_print()
200 tok2str(eap_type_values, "unknown", *(tptr+4)), in eap_print()
228 tok2str(eap_type_values, "unknown", *(tptr+count)), in eap_print()
264 tok2str(eap_aka_subtype_values, "unknown", *(tptr+5)), in eap_print()
Dprint-ospf.c201 tok2str(lsa_opaque_grace_tlv_values,"unknown",tlv_type), in ospf_print_grace_lsa()
233 tok2str(lsa_opaque_grace_tlv_reason_values, "Unknown", *tptr), in ospf_print_grace_lsa()
288 tok2str(lsa_opaque_te_tlv_values,"unknown",tlv_type), in ospf_print_te_lsa()
318 tok2str(lsa_opaque_te_link_tlv_subtlv_values,"unknown",subtlv_type), in ospf_print_te_lsa()
356 tok2str(diffserv_te_bc_values, "unknown", *tptr), in ospf_print_te_lsa()
376 tok2str(gmpls_switch_cap_values, "Unknown", *(tptr)))); in ospf_print_te_lsa()
378 tok2str(gmpls_encoding_values, "Unknown", *(tptr + 1)))); in ospf_print_te_lsa()
388 tok2str(lsa_opaque_te_tlv_link_type_sub_tlv_values,"unknown",*tptr), in ospf_print_te_lsa()
478 tok2str(lsa_values,"unknown",lshp->ls_type), in ospf_print_lshdr()
481 tok2str(lsa_opaque_values, in ospf_print_lshdr()
[all …]
Dprint-ppp.c424 typestr = tok2str(ppptype2str, "unknown ctrl-proto (0x%04x)", proto); in handle_ctrl_proto()
434 tok2str(cpcodes, "Unknown Opcode",code), in handle_ctrl_proto()
464 tok2str(oui_values,"Unknown",EXTRACT_24BITS(tptr)), in handle_ctrl_proto()
521 tok2str(ppptype2str,"unknown", EXTRACT_16BITS(tptr)), in handle_ctrl_proto()
615 tok2str(oui_values,"Unknown",EXTRACT_24BITS(p+2)), in print_lcp_config_options()
649 …ND_PRINT((ndo, ": %s", tok2str(ppptype2str, "Unknown Auth Proto (0x04x)", EXTRACT_16BITS(p + 2)))); in print_lcp_config_options()
654 ND_PRINT((ndo, ", %s", tok2str(authalg_values, "Unknown Auth Alg %u", p[4]))); in print_lcp_config_options()
704 tok2str(ppp_callback_values, "Unknown", p[2]), in print_lcp_config_options()
842 tok2str(chapcode_values,"unknown",code), in handle_chap()
922 tok2str(papcode_values, "unknown", code), in handle_pap()
[all …]
Dprint-syslog.c119 tok2str(syslog_facility_values, "unknown (%u)", facility), in syslog_print()
120 tok2str(syslog_severity_values, "unknown (%u)", severity), in syslog_print()
127 tok2str(syslog_facility_values, "unknown (%u)", facility), in syslog_print()
129 tok2str(syslog_severity_values, "unknown (%u)", severity), in syslog_print()
Dprint-vqp.c130 tok2str(vqp_msg_type_values, "unknown (%u)",vqp_common_header->msg_type), in vqp_print()
131 tok2str(vqp_error_code_values, "unknown (%u)",vqp_common_header->error_code), in vqp_print()
141 tok2str(vqp_msg_type_values, "unknown (%u)",vqp_common_header->msg_type), in vqp_print()
142 tok2str(vqp_error_code_values, "unknown (%u)",vqp_common_header->error_code), in vqp_print()
161 tok2str(vqp_obj_values, "Unknown", vqp_obj_type), in vqp_print()
Dprint-cfm.c242 tok2str(af_values, "Unknown", mgmt_addr_type), in cfm_mgmt_addr_print()
315 tok2str(cfm_opcode_values, "unknown (%u)", cfm_common_header->opcode), in cfm_print()
361 tok2str(cfm_md_nameformat_values, "Unknown", in cfm_print()
396 tok2str(cfm_ma_nameformat_values, "Unknown", in cfm_print()
448 tok2str(cfm_ltr_replay_action_values, in cfm_print()
494 tok2str(cfm_tlv_values, "Unknown", cfm_tlv_type), in cfm_print()
523 tok2str(cfm_tlv_port_status_values, "Unknown", *tptr), in cfm_print()
529 tok2str(cfm_tlv_interface_status_values, "Unknown", *tptr), in cfm_print()
535 tok2str(oui_values,"Unknown", EXTRACT_24BITS(tptr)), in cfm_print()
561 tok2str(cfm_tlv_senderid_chassisid_values, in cfm_print()
Dprint-lspping.c509 tok2str(lspping_msg_type_values, "unknown (%u)",lspping_com_header->msg_type), in lspping_print()
521 tok2str(lspping_msg_type_values, "unknown",lspping_com_header->msg_type), in lspping_print()
524 tok2str(lspping_reply_mode_values, "unknown",lspping_com_header->reply_mode), in lspping_print()
538 tok2str(lspping_return_code_values, "unknown",lspping_com_header->return_code), in lspping_print()
544 tok2str(lspping_return_code_values, "unknown",lspping_com_header->return_code), in lspping_print()
587 tok2str(lspping_tlv_values, in lspping_print()
617 tok2str(lspping_tlvtargetfec_subtlv_values, in lspping_print()
717 tok2str(l2vpn_encaps_values, in lspping_print()
732 tok2str(l2vpn_encaps_values, in lspping_print()
747 tok2str(l2vpn_encaps_values, in lspping_print()
[all …]
Dprint-lmp.c389 tok2str(lmp_msg_type_values, "unknown (%u)",lmp_com_header->msg_type), in lmp_print()
400 tok2str(lmp_msg_type_values, "unknown, type: %u",lmp_com_header->msg_type), in lmp_print()
419 tok2str(lmp_obj_values, in lmp_print()
423 tok2str(lmp_ctype_values, in lmp_print()
585 tok2str(lmp_data_link_subobj, in lmp_print()
593 tok2str(gmpls_switch_cap_values, in lmp_print()
598 tok2str(gmpls_encoding_values, in lmp_print()
643 tok2str(gmpls_encoding_values, "Unknown", *(obj_tptr+8)))); in lmp_print()
705 tok2str(lmp_obj_channel_status_values, in lmp_print()
779 tok2str(lmp_sd_service_config_cpsa_link_type_values, in lmp_print()
[all …]
Dprint-slow.c291 tok2str(slow_proto_values, "unknown (%u)",slow_com_header->proto_subtype), in slow_print()
297 tok2str(slow_proto_values, "unknown (%u)",slow_com_header->proto_subtype), in slow_print()
355 tok2str(slow_tlv_values, in slow_marker_lacp_print()
485 tok2str(slow_oam_code_values, "Unknown (%u)", ptr.slow_oam_common_header->code), in slow_oam_print()
495 tok2str(slow_oam_info_type_values, "Reserved", in slow_oam_print()
524 tok2str(slow_oam_info_type_state_parser_values, "Reserved", in slow_oam_print()
526 tok2str(slow_oam_info_type_state_mux_values, "Reserved", in slow_oam_print()
534 tok2str(oui_values, "Unknown", in slow_oam_print()
569 tok2str(slow_oam_link_event_values, "Reserved", in slow_oam_print()
636 tok2str(slow_oam_loopbackctrl_cmd_values, in slow_oam_print()
Dprint-openflow-1.0.c768 ND_PRINT((ndo, "\n\t subtype %s", tok2str(bsn_subtype_str, "unknown (0x%08x)", subtype))); in of10_bsn_message_print()
838 ND_PRINT((ndo, ", report_mirror_ports %s", tok2str(bsn_onoff_str, "bogus (%u)", *cp))); in of10_bsn_message_print()
973 ND_PRINT((ndo, "\n\t subtype %s", tok2str(bsn_action_subtype_str, "unknown (0x%08x)", subtype))); in of10_bsn_actions_print()
1012 ND_PRINT((ndo, ", copy_stage %s", tok2str(bsn_mirror_copy_stage_str, "unknown (%u)", *cp))); in of10_bsn_actions_print()
1153 ND_PRINT((ndo, "\n\t port_no %s", tok2str(ofpp_str, "%u", EXTRACT_16BITS(cp)))); in of10_phy_ports_print()
1233 ND_PRINT((ndo, "\n\t property %s", tok2str(ofpqt_str, "invalid (0x%04x)", property))); in of10_queue_props_print()
1359 ND_PRINT((ndo, "%smatch in_port %s", pfx, tok2str(ofpp_str, "%u", EXTRACT_16BITS(cp)))); in of10_match_print()
1462 ND_PRINT((ndo, "%saction type %s", pfx, tok2str(ofpat_str, "invalid (0x%04x)", type))); in of10_actions_print()
1512 ND_PRINT((ndo, ", port %s", tok2str(ofpp_str, "%u", output_port))); in of10_actions_print()
1576 ND_PRINT((ndo, ", port %s", tok2str(ofpp_str, "%u", EXTRACT_16BITS(cp)))); in of10_actions_print()
[all …]
Dprint-aoe.c232 tok2str(aoev1_ccmd_str, "Unknown (0x02x)", *cp & 0x0F))); in aoev1_query_print()
271 ND_PRINT((ndo, "\n\tMCmd: %s", tok2str(aoev1_mcmd_str, "Unknown (0x%02x)", *cp))); in aoev1_mac_print()
275 ND_PRINT((ndo, ", MError: %s", tok2str(aoev1_merror_str, "Unknown (0x%02x)", *cp))); in aoev1_mac_print()
291 ND_PRINT((ndo, "\n\t DCmd: %s", tok2str(aoev1_dcmd_str, "Unknown (0x%02x)", *cp))); in aoev1_mac_print()
319 ND_PRINT((ndo, "\n\tRCmd: %s", tok2str(aoev1_rcmd_str, "Unknown (0x%02x)", *cp))); in aoev1_reserve_print()
363 ND_PRINT((ndo, "\n\tError: %s", tok2str(aoev1_errcode_str, "Invalid (%u)", *cp))); in aoev1_print()
377 ND_PRINT((ndo, ", Command: %s", tok2str(cmdcode_str, "Unknown (0x%02x)", command))); in aoev1_print()
Dprint-isoclns.c676 ND_PRINT((ndo, "OSI NLPID %s (0x%02x): ", tok2str(nlpid_values, "Unknown", *p), *p)); in isoclns_print()
811 tok2str(clnp_pdu_values,"unknown (%u)",clnp_pdu_type), in clnp_print()
818 tok2str(clnp_pdu_values, "unknown (%u)",clnp_pdu_type), in clnp_print()
872 tok2str(clnp_option_values,"Unknown",op), in clnp_print()
882 tok2str(clnp_option_sr_rr_values,"Unknown",*tptr), in clnp_print()
883 tok2str(clnp_option_sr_rr_string_values, "Unknown Option %u", op))); in clnp_print()
919tok2str(clnp_option_scope_values, "Reserved", *tptr&CLNP_OPTION_SCOPE_MASK))); in clnp_print()
930tok2str(clnp_option_scope_values,"Reserved",*tptr&CLNP_OPTION_SCOPE_MASK), in clnp_print()
938 tok2str(clnp_option_rfd_class_values,"Unknown",rfd_error_major), in clnp_print()
940tok2str(clnp_option_rfd_error_class[rfd_error_major],"Unknown",rfd_error_minor), in clnp_print()
[all …]
Dprint-tipc.c191 tok2str(tipcuser_values, "unknown", user), in print_payload()
192 tok2str(tipcmtype_values, "Unknown", mtype))); in print_payload()
204 tok2str(tipcuser_values, "unknown", user), in print_payload()
205 tok2str(tipcmtype_values, "Unknown", mtype))); in print_payload()
259 tok2str(tipcuser_values, "unknown", user), in print_internal()
260 tok2str(tipcmtype_values, "Unknown", mtype), w1)); in print_internal()
320 tok2str(tipcuser_values, "unknown", user), in print_link_conf()
321 tok2str(tipc_linkconf_mtype_values, "Unknown", mtype))); in print_link_conf()
Dprint-pppoe.c120 ND_PRINT((ndo, "PPPoE %s", tok2str(pppoecode2str, "PAD-%x", pppoe_code))); in pppoe_print()
169 tok2str(pppoetag2str, "TAG-0x%x", tag_type), in pppoe_print()
175 ND_PRINT((ndo, " [%s 0x", tok2str(pppoetag2str, "TAG-0x%x", tag_type))); in pppoe_print()
184 ND_PRINT((ndo, " [%s]", tok2str(pppoetag2str, in pppoe_print()
Dprint-atm.c279 tok2str(msgtype2str, "msgtype#%d", p[MSG_TYPE_POS]))); in sig_print()
387 tok2str(oam_f_values, "OAM F5", vci), in oam_print()
389 tok2str(atm_pty_values, "Unknown", payload), in oam_print()
397 tok2str(oam_celltype_values, "unknown", cell_type), in oam_print()
404 tok2str(oam_functype_values[cell_type],"none",func_type), in oam_print()
413 tok2str(oam_fm_loopback_indicator_values, in oam_print()
Dprint-ldp.c263 tok2str(ldp_tlv_values, in ldp_tlv_print()
304 tok2str(af_values, "Unknown (%u)", af))); in ldp_tlv_print()
343 tok2str(ldp_fec_values, "Unknown", fec_type), in ldp_tlv_print()
397 tok2str(l2vpn_encaps_values, "Unknown", EXTRACT_16BITS(tptr)&0x7fff), in ldp_tlv_print()
407 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()
621 tok2str(ldp_msg_values, in ldp_pdu_print()
632 tok2str(ldp_msg_values, in ldp_pdu_print()
Dprint-rx.c538 ND_PRINT((ndo, " rx %s", tok2str(rx_types, "type %d", rxh->type))); in rx_print()
900 ND_PRINT((ndo, " fs call %s", tok2str(fs_req, "op#%d", fs_op))); in fs_print()
1069 ND_PRINT((ndo, " fs reply %s", tok2str(fs_req, "op#%d", opcode))); in fs_reply_print()
1117 ND_PRINT((ndo, " error %s", tok2str(afs_fs_errors, "#%d", i))); in fs_reply_print()
1236 ND_PRINT((ndo, " cb call %s", tok2str(cb_req, "op#%d", cb_op))); in cb_print()
1276 tok2str(cb_types, "type %d", t); in cb_print()
1314 ND_PRINT((ndo, " cb reply %s", tok2str(cb_req, "op#%d", opcode))); in cb_reply_print()
1376 ND_PRINT((ndo, " call %s", tok2str(pt_req, "op#%d", pt_op))); in prot_print()
1517 ND_PRINT((ndo, " reply %s", tok2str(pt_req, "op#%d", opcode))); in prot_reply_print()
1632 ND_PRINT((ndo, " call %s", tok2str(vldb_req, "op#%d", vldb_op))); in vldb_print()
[all …]
Dprint-pflog.c100 tok2str(pf_reasons, "unkn(%u)", hdr->reason), in pflog_print()
101 tok2str(pf_actions, "unkn(%u)", hdr->action), in pflog_print()
102 tok2str(pf_directions, "unkn(%u)", hdr->dir), in pflog_print()
Dprint-bootp.c293 tok2str(bootp_op_values, "unknown (0x%02x)", bp->bp_op))); in bootp_print()
621 cp = tok2str(xtag2str, "?xT%u", tag); in rfc1048_print()
623 cp = tok2str(tag2str, "?T%u", tag); in rfc1048_print()
654 ND_PRINT((ndo, "%s", tok2str(dhcp_msg_values, "Unknown (%u)", uc))); in rfc1048_print()
662 cp = tok2str(tag2str, "?Option %u", uc); in rfc1048_print()
679 cp = tok2str(xtag2str, "?xT%u", us); in rfc1048_print()
814 ND_PRINT((ndo, "%s", tok2str(nbo2str, NULL, tag))); in rfc1048_print()
825 ND_PRINT((ndo, "%s", tok2str(oo2str, NULL, tag))); in rfc1048_print()
874 ND_PRINT((ndo, "%s ", tok2str(arp2str, "hardware-type %u,", type))); in rfc1048_print()
894 tok2str(agent_suboption_values, "Unknown", subopt), in rfc1048_print()
[all …]

1234