Home
last modified time | relevance | path

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

1234

/external/tcpdump/
Dprint-llc.c237 tok2str(llc_values, "Unknown", dsap), in llc_print()
239 tok2str(llc_ig_flag_values, "Unknown", dsap_field & LLC_IG), in llc_print()
240 tok2str(llc_values, "Unknown", ssap), in llc_print()
242 tok2str(llc_flag_values, "Unknown", ssap_field & LLC_GSAP))); in llc_print()
334 ND_PRINT((ndo, "%s ", tok2str(llc_values, "Unknown DSAP 0x%02x", dsap))); in llc_print()
339 tok2str(llc_values, "Unknown DSAP 0x%02x", dsap))); in llc_print()
343 tok2str(llc_values, "Unknown SSAP 0x%02x", ssap), in llc_print()
344 tok2str(llc_values, "Unknown DSAP 0x%02x", dsap))); in llc_print()
348 tok2str(llc_values, "Unknown SSAP 0x%02x", ssap), in llc_print()
350 tok2str(llc_values, "Unknown DSAP 0x%02x", dsap))); in llc_print()
[all …]
Dprint-dccp.c367 tok2str(dccp_pkt_type_str, "", dccph_type), in dccp_print()
373 tok2str(dccp_pkt_type_str, "", dccph_type), in dccp_print()
383 tok2str(dccp_pkt_type_str, "", dccph_type), in dccp_print()
389 tok2str(dccp_pkt_type_str, "", dccph_type), in dccp_print()
394 ND_PRINT((ndo, "%s ", tok2str(dccp_pkt_type_str, "", dccph_type))); in dccp_print()
400 tok2str(dccp_pkt_type_str, "", dccph_type), in dccp_print()
404 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()
[all …]
Dprint-bfd.c190 tok2str(bfd_v1_authentication_values,"Unknown",bfd_auth_header->auth_type), in auth_print()
314 tok2str(bfd_port_values, "unknown (%u)", port), in bfd_print()
323 tok2str(bfd_port_values, "unknown (%u)", port), in bfd_print()
325 tok2str(bfd_diag_values,"unknown",BFD_EXTRACT_DIAG(bfd_header->version_diag)), in bfd_print()
347 tok2str(bfd_port_values, "unknown (%u)", port), in bfd_print()
348tok2str(bfd_v1_state_values, "unknown (%u)", (bfd_header->flags & 0xc0) >> 6), in bfd_print()
357 tok2str(bfd_port_values, "unknown (%u)", port), in bfd_print()
358 tok2str(bfd_v1_state_values, "unknown (%u)", (bfd_header->flags & 0xc0) >> 6), in bfd_print()
360 tok2str(bfd_diag_values,"unknown",BFD_EXTRACT_DIAG(bfd_header->version_diag)), in bfd_print()
388 tok2str(bfd_port_values, "unknown (%u)", port), in bfd_print()
Dprint-lldp.c662 tok2str(lldp_8021_subtype_values, "unknown", subtype), in lldp_private_8021_print()
812 tok2str(lldp_evb_mode_values, "unknown", tval >> 6), tval >> 6)); in lldp_private_8021_print()
862 tok2str(lldp_8023_subtype_values, "unknown", subtype), in lldp_private_8023_print()
877 tok2str(lldp_mau_types_values, "unknown", EXTRACT_16BITS(tptr+7)), in lldp_private_8023_print()
887 tok2str(lldp_mdi_power_pairs_values, "unknown", *(tptr+5)), in lldp_private_8023_print()
888 tok2str(lldp_mdi_power_class_values, "unknown", *(tptr + 6)))); in lldp_private_8023_print()
946 tok2str(lldp_iana_subtype_values, "unknown", subtype), in lldp_private_iana_print()
982 tok2str(lldp_tia_subtype_values, "unknown", subtype), in lldp_private_tia_print()
994 tok2str(lldp_tia_device_type_values, "unknown", *(tptr+6)), in lldp_private_tia_print()
1003 tok2str(lldp_tia_application_type_values, "none", *(tptr+4)), in lldp_private_tia_print()
[all …]
Dprint-rsvp.c507 tok2str(rsvp_intserv_parameter_id_values,"unknown",parameter_id), in rsvp_intserv_print()
702 tok2str(rsvp_obj_values, in rsvp_obj_print()
713 tok2str(rsvp_ctype_values, in rsvp_obj_print()
910 tok2str(rsvp_resstyle_values, in rsvp_obj_print()
993 tok2str(ethertype_values, in rsvp_obj_print()
1005 tok2str(ethertype_values, in rsvp_obj_print()
1025 tok2str(ethertype_values, in rsvp_obj_print()
1042 tok2str(gmpls_encoding_values, in rsvp_obj_print()
1048 tok2str(gmpls_switch_cap_values, in rsvp_obj_print()
1052 tok2str(gmpls_payload_values, in rsvp_obj_print()
[all …]
Dprint-ppp.c425 typestr = tok2str(ppptype2str, "unknown ctrl-proto (0x%04x)", proto); in handle_ctrl_proto()
435 tok2str(cpcodes, "Unknown Opcode",code), in handle_ctrl_proto()
465 tok2str(oui_values,"Unknown",EXTRACT_24BITS(tptr)), in handle_ctrl_proto()
522 tok2str(ppptype2str,"unknown", EXTRACT_16BITS(tptr)), in handle_ctrl_proto()
616 tok2str(oui_values,"Unknown",EXTRACT_24BITS(p+2)), in print_lcp_config_options()
650 …ND_PRINT((ndo, ": %s", tok2str(ppptype2str, "Unknown Auth Proto (0x04x)", EXTRACT_16BITS(p + 2)))); in print_lcp_config_options()
655 ND_PRINT((ndo, ", %s", tok2str(authalg_values, "Unknown Auth Alg %u", p[4]))); in print_lcp_config_options()
705 tok2str(ppp_callback_values, "Unknown", p[2]), in print_lcp_config_options()
852 tok2str(chapcode_values,"unknown",code), in handle_chap()
932 tok2str(papcode_values, "unknown", code), in handle_pap()
[all …]
Dprint-cfm.c237 tok2str(af_values, "Unknown", network_addr_type), in cfm_network_addr_print()
310 tok2str(cfm_opcode_values, "unknown (%u)", cfm_common_header->opcode), in cfm_print()
381 tok2str(cfm_md_nameformat_values, "Unknown", in cfm_print()
422 tok2str(cfm_md_nameformat_values, "Unknown", in cfm_print()
438 tok2str(cfm_ma_nameformat_values, "Unknown", in cfm_print()
507 tok2str(cfm_ltr_replay_action_values, in cfm_print()
536 tok2str(cfm_tlv_values, "Unknown", cfm_tlv_type), in cfm_print()
569 tok2str(cfm_tlv_port_status_values, "Unknown", *tptr), in cfm_print()
579 tok2str(cfm_tlv_interface_status_values, "Unknown", *tptr), in cfm_print()
589 tok2str(oui_values,"Unknown", EXTRACT_24BITS(tptr)), in cfm_print()
[all …]
Dprint-ospf.c202 tok2str(lsa_opaque_grace_tlv_values,"unknown",tlv_type), in ospf_print_grace_lsa()
234 tok2str(lsa_opaque_grace_tlv_reason_values, "Unknown", *tptr), in ospf_print_grace_lsa()
289 tok2str(lsa_opaque_te_tlv_values,"unknown",tlv_type), in ospf_print_te_lsa()
323 tok2str(lsa_opaque_te_link_tlv_subtlv_values,"unknown",subtlv_type), in ospf_print_te_lsa()
386 tok2str(diffserv_te_bc_values, "unknown", *tptr), in ospf_print_te_lsa()
427 tok2str(gmpls_switch_cap_values, "Unknown", *(tptr)))); in ospf_print_te_lsa()
429 tok2str(gmpls_encoding_values, "Unknown", *(tptr + 1)))); in ospf_print_te_lsa()
443 tok2str(lsa_opaque_te_tlv_link_type_sub_tlv_values,"unknown",*tptr), in ospf_print_te_lsa()
540 tok2str(lsa_values,"unknown",lshp->ls_type), in ospf_print_lshdr()
543 tok2str(lsa_opaque_values, in ospf_print_lshdr()
[all …]
Dprint-eap.c167 tok2str(eap_frame_type_values, "unknown", eap->type), in eap_print()
175 tok2str(eap_frame_type_values, "unknown", eap->type), in eap_print()
190 tok2str(eap_code_values, "unknown", type), in eap_print()
201 tok2str(eap_type_values, "unknown", subtype), in eap_print()
230 tok2str(eap_type_values, "unknown", *(tptr+count)), in eap_print()
272 tok2str(eap_aka_subtype_values, "unknown", *(tptr+5)), in eap_print()
Dprint-lmp.c373 tok2str(lmp_data_link_subobj, in lmp_print_data_link_subobjs()
393 tok2str(gmpls_switch_cap_values, in lmp_print_data_link_subobjs()
398 tok2str(gmpls_encoding_values, in lmp_print_data_link_subobjs()
458 tok2str(lmp_msg_type_values, "unknown (%u)",lmp_com_header->msg_type), in lmp_print()
469 tok2str(lmp_msg_type_values, "unknown, type: %u",lmp_com_header->msg_type), in lmp_print()
493 tok2str(lmp_obj_values, in lmp_print()
497 tok2str(lmp_ctype_values, in lmp_print()
799 tok2str(gmpls_encoding_values, "Unknown", *(obj_tptr+8)))); in lmp_print()
870 tok2str(lmp_obj_channel_status_values, in lmp_print()
897 tok2str(lmp_obj_channel_status_values, in lmp_print()
[all …]
Dprint-syslog.c120 tok2str(syslog_facility_values, "unknown (%u)", facility), in syslog_print()
121 tok2str(syslog_severity_values, "unknown (%u)", severity), in syslog_print()
128 tok2str(syslog_facility_values, "unknown (%u)", facility), in syslog_print()
130 tok2str(syslog_severity_values, "unknown (%u)", severity), in syslog_print()
Dprint-vtp.c136 tok2str(vtp_message_type_values,"Unknown message type", type), in vtp_print()
154 tok2str(vtp_header_values, "Unknown", type), in vtp_print()
258 tok2str(vtp_vlan_status,"Unknown",vtp_vlan->status), in vtp_print()
259 tok2str(vtp_vlan_type_values,"Unknown",vtp_vlan->type), in vtp_print()
294 tok2str(vtp_vlan_tlv_values, "Unknown", type), in vtp_print()
326 tok2str(vtp_stp_type_values, "Unknown", tlv_value), in vtp_print()
Dprint-vqp.c132 tok2str(vqp_msg_type_values, "unknown (%u)",vqp_common_header->msg_type), in vqp_print()
133 tok2str(vqp_error_code_values, "unknown (%u)",vqp_common_header->error_code), in vqp_print()
143 tok2str(vqp_msg_type_values, "unknown (%u)",vqp_common_header->msg_type), in vqp_print()
144 tok2str(vqp_error_code_values, "unknown (%u)",vqp_common_header->error_code), in vqp_print()
166 tok2str(vqp_obj_values, "Unknown", vqp_obj_type), in vqp_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-bgp.c929 tok2str(bgp_multicast_vpn_route_type_values, in decode_multicast_vpn()
1386 ND_PRINT((ndo, "%s", tok2str(bgp_origin_values, in bgp_attr_print()
1418 ND_PRINT((ndo, "%s", tok2str(bgp_as_path_segment_open_values, in bgp_attr_print()
1430 ND_PRINT((ndo, "%s", tok2str(bgp_as_path_segment_close_values, in bgp_attr_print()
1546 tok2str(af_values, "Unknown AFI", af), in bgp_attr_print()
1549 tok2str(bgp_safi_values, "Unknown SAFI", safi), in bgp_attr_print()
1897 tok2str(af_values, "Unknown AFI", af), in bgp_attr_print()
1900 tok2str(bgp_safi_values, "Unknown SAFI", safi), in bgp_attr_print()
2059 tok2str(bgp_extd_comm_subtype_values, in bgp_attr_print()
2106 tok2str(bgp_extd_comm_ospf_rtype_values, in bgp_attr_print()
[all …]
Dprint-lspping.c543 tok2str(lspping_msg_type_values, "unknown (%u)",lspping_com_header->msg_type), in lspping_print()
555 tok2str(lspping_msg_type_values, "unknown",lspping_com_header->msg_type), in lspping_print()
558 tok2str(lspping_reply_mode_values, "unknown",lspping_com_header->reply_mode), in lspping_print()
572 tok2str(lspping_return_code_values, "unknown",lspping_com_header->return_code), in lspping_print()
578 tok2str(lspping_return_code_values, "unknown",lspping_com_header->return_code), in lspping_print()
615 tok2str(lspping_tlv_values, in lspping_print()
667 tok2str(lspping_tlvtargetfec_subtlv_values, in lspping_print()
810 tok2str(mpls_pw_types_values, in lspping_print()
830 tok2str(mpls_pw_types_values, in lspping_print()
850 tok2str(mpls_pw_types_values, in lspping_print()
[all …]
Dprint-aoe.c230 tok2str(aoev1_ccmd_str, "Unknown (0x02x)", *cp & 0x0F))); in aoev1_query_print()
269 ND_PRINT((ndo, "\n\tMCmd: %s", tok2str(aoev1_mcmd_str, "Unknown (0x%02x)", *cp))); in aoev1_mac_print()
273 ND_PRINT((ndo, ", MError: %s", tok2str(aoev1_merror_str, "Unknown (0x%02x)", *cp))); in aoev1_mac_print()
289 ND_PRINT((ndo, "\n\t DCmd: %s", tok2str(aoev1_dcmd_str, "Unknown (0x%02x)", *cp))); in aoev1_mac_print()
317 ND_PRINT((ndo, "\n\tRCmd: %s", tok2str(aoev1_rcmd_str, "Unknown (0x%02x)", *cp))); in aoev1_reserve_print()
361 ND_PRINT((ndo, "\n\tError: %s", tok2str(aoev1_errcode_str, "Invalid (%u)", *cp))); in aoev1_print()
375 ND_PRINT((ndo, ", Command: %s", tok2str(cmdcode_str, "Unknown (0x%02x)", command))); in aoev1_print()
Dprint-slow.c294 tok2str(slow_proto_values, "unknown (%u)", subtype), in slow_print()
300 tok2str(slow_proto_values, "unknown (%u)", subtype), in slow_print()
374 tok2str(slow_tlv_values, in slow_marker_lacp_print()
526 tok2str(slow_oam_code_values, "Unknown (%u)", ptr.slow_oam_common_header->code), in slow_oam_print()
539 tok2str(slow_oam_info_type_values, "Reserved", in slow_oam_print()
582 tok2str(slow_oam_info_type_state_parser_values, "Reserved", in slow_oam_print()
584 tok2str(slow_oam_info_type_state_mux_values, "Reserved", in slow_oam_print()
592 tok2str(oui_values, "Unknown", in slow_oam_print()
635 tok2str(slow_oam_link_event_values, "Reserved", in slow_oam_print()
715 tok2str(slow_oam_loopbackctrl_cmd_values, in slow_oam_print()
Dprint-isoclns.c681 ND_PRINT((ndo, "OSI NLPID %s (0x%02x): ", tok2str(nlpid_values, "Unknown", *p), *p)); in isoclns_print()
852 tok2str(clnp_pdu_values,"unknown (%u)",clnp_pdu_type), in clnp_print()
859 tok2str(clnp_pdu_values, "unknown (%u)",clnp_pdu_type), in clnp_print()
917 tok2str(clnp_option_values,"Unknown",op), in clnp_print()
939 tok2str(clnp_option_sr_rr_values,"Unknown",*tptr), in clnp_print()
940 tok2str(clnp_option_sr_rr_string_values, "Unknown Option %u", op))); in clnp_print()
984tok2str(clnp_option_scope_values, "Reserved", *tptr&CLNP_OPTION_SCOPE_MASK))); in clnp_print()
999tok2str(clnp_option_scope_values,"Reserved",*tptr&CLNP_OPTION_SCOPE_MASK), in clnp_print()
1011 tok2str(clnp_option_rfd_class_values,"Unknown",rfd_error_major), in clnp_print()
1013tok2str(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.c121 ND_PRINT((ndo, "PPPoE %s", tok2str(pppoecode2str, "PAD-%x", pppoe_code))); in pppoe_print()
170 tok2str(pppoetag2str, "TAG-0x%x", tag_type), in pppoe_print()
176 ND_PRINT((ndo, " [%s 0x", tok2str(pppoetag2str, "TAG-0x%x", tag_type))); in pppoe_print()
185 ND_PRINT((ndo, " [%s]", tok2str(pppoetag2str, in pppoe_print()
Dprint-ldp.c264 tok2str(ldp_tlv_values, in ldp_tlv_print()
303 tok2str(af_values, "Unknown (%u)", af))); in ldp_tlv_print()
340 tok2str(ldp_fec_values, "Unknown", fec_type), in ldp_tlv_print()
396 tok2str(mpls_pw_types_values, "Unknown", EXTRACT_16BITS(tptr)&0x7fff), in ldp_tlv_print()
406 tok2str(mpls_pw_types_values, "Unknown", EXTRACT_16BITS(tptr)&0x7fff), in ldp_tlv_print()
432 tok2str(ldp_fec_martini_ifparm_values,"Unknown",vc_info_tlv_type), in ldp_tlv_print()
620 tok2str(ldp_msg_values, in ldp_pdu_print()
631 tok2str(ldp_msg_values, in ldp_pdu_print()
Dprint-medsa.c94 tok2str(tag_values, "Unknown (%u)", tag))); in medsa_print_full()
103 tok2str(code_values, "Unknown (%u)", CODE(medsa)))); in medsa_print_full()
171 tok2str(ethertype_values, "Unknown", in medsa_print()
178 tok2str(ethertype_values, "Unknown", in medsa_print()
Dprint-atm.c361 tok2str(msgtype2str, "msgtype#%d", p[MSG_TYPE_POS]))); in sig_print()
474 tok2str(oam_f_values, "OAM F5", vci), in oam_print()
476 tok2str(atm_pty_values, "Unknown", payload), in oam_print()
484 tok2str(oam_celltype_values, "unknown", cell_type), in oam_print()
491 tok2str(oam_functype_values[cell_type],"none",func_type), in oam_print()
501 tok2str(oam_fm_loopback_indicator_values, in oam_print()
/external/syzkaller/pkg/ast/
Dast.go37 return n.Pos, tok2str[tokNewLine], ""
46 return n.Pos, tok2str[tokComment], ""
55 return n.Pos, tok2str[tokInclude], ""
64 return n.Pos, tok2str[tokInclude], ""
74 return n.Pos, tok2str[tokDefine], n.Name.Name
85 return n.Pos, tok2str[tokResource], n.Name.Name
160 return n.Pos, tok2str[tokIdent], n.Name
169 return n.Pos, tok2str[tokString], ""
191 return n.Pos, tok2str[tokInt], ""

1234