{ "header_types" : [ { "name" : "scalars_0", "id" : 0, "fields" : [] }, { "name" : "standard_metadata", "id" : 1, "fields" : [ ["ingress_port", 9, false], ["egress_spec", 9, false], ["egress_port", 9, false], ["instance_type", 32, false], ["packet_length", 32, false], ["enq_timestamp", 32, false], ["enq_qdepth", 19, false], ["deq_timedelta", 32, false], ["deq_qdepth", 19, false], ["ingress_global_timestamp", 48, false], ["egress_global_timestamp", 48, false], ["mcast_grp", 16, false], ["egress_rid", 16, false], ["checksum_error", 1, false], ["parser_error", 32, false], ["priority", 3, false], ["_padding", 3, false] ] }, { "name" : "ports_t", "id" : 2, "fields" : [ ["port1", 16, false], ["port2", 16, false], ["port3", 16, false] ] } ], "headers" : [ { "name" : "scalars", "id" : 0, "header_type" : "scalars_0", "metadata" : true, "pi_omit" : true }, { "name" : "standard_metadata", "id" : 1, "header_type" : "standard_metadata", "metadata" : true, "pi_omit" : true }, { "name" : "ports", "id" : 2, "header_type" : "ports_t", "metadata" : false, "pi_omit" : true } ], "header_stacks" : [], "header_union_types" : [], "header_unions" : [], "header_union_stacks" : [], "field_lists" : [], "errors" : [ ["NoError", 0], ["PacketTooShort", 1], ["NoMatch", 2], ["StackOutOfBounds", 3], ["HeaderTooShort", 4], ["ParserTimeout", 5], ["ParserInvalidArgument", 6] ], "enums" : [], "parsers" : [ { "name" : "parser", "id" : 0, "init_state" : "start", "parse_states" : [ { "name" : "start", "id" : 0, "parser_ops" : [ { "parameters" : [ { "type" : "regular", "value" : "ports" } ], "op" : "extract" } ], "transitions" : [ { "type" : "default", "value" : null, "mask" : null, "next_state" : null } ], "transition_key" : [] } ] } ], "parse_vsets" : [], "deparsers" : [ { "name" : "deparser", "id" : 0, "source_info" : { "filename" : "/mnt/storage/Projekte/gauntlet/modules/p4c/testdata/p4_16_samples/issue2283_1-bmv2.p4", "line" : 59, "column" : 8, "source_fragment" : "deparser" }, "order" : ["ports"], "primitives" : [] } ], "meter_arrays" : [], "counter_arrays" : [], "register_arrays" : [], "calculations" : [], "learn_lists" : [], "actions" : [ { "name" : "NoAction", "id" : 0, "runtime_data" : [], "primitives" : [] } ], "pipelines" : [ { "name" : "ingress", "id" : 0, "source_info" : { "filename" : "/mnt/storage/Projekte/gauntlet/modules/p4c/testdata/p4_16_samples/issue2283_1-bmv2.p4", "line" : 39, "column" : 8, "source_fragment" : "ingress" }, "init_table" : "ingress.t", "tables" : [ { "name" : "ingress.t", "id" : 0, "source_info" : { "filename" : "/mnt/storage/Projekte/gauntlet/modules/p4c/testdata/p4_16_samples/issue2283_1-bmv2.p4", "line" : 40, "column" : 10, "source_fragment" : "t" }, "key" : [ { "match_type" : "exact", "name" : "h.ports.port1", "target" : ["ports", "port1"], "mask" : null }, { "match_type" : "exact", "name" : "h.ports.port2", "target" : ["ports", "port2"], "mask" : null }, { "match_type" : "exact", "name" : "h.ports.port3", "target" : ["ports", "port3"], "mask" : null } ], "match_type" : "exact", "type" : "simple", "max_size" : 1024, "with_counters" : false, "support_timeout" : false, "direct_meters" : null, "action_ids" : [0], "actions" : ["NoAction"], "base_default_next" : null, "next_tables" : { "NoAction" : null }, "default_entry" : { "action_id" : 0, "action_const" : false, "action_data" : [], "action_entry_const" : false } } ], "action_profiles" : [], "conditionals" : [] }, { "name" : "egress", "id" : 1, "source_info" : { "filename" : "/mnt/storage/Projekte/gauntlet/modules/p4c/testdata/p4_16_samples/issue2283_1-bmv2.p4", "line" : 53, "column" : 8, "source_fragment" : "egress" }, "init_table" : null, "tables" : [], "action_profiles" : [], "conditionals" : [] } ], "checksums" : [], "force_arith" : [], "extern_instances" : [], "field_aliases" : [ [ "queueing_metadata.enq_timestamp", ["standard_metadata", "enq_timestamp"] ], [ "queueing_metadata.enq_qdepth", ["standard_metadata", "enq_qdepth"] ], [ "queueing_metadata.deq_timedelta", ["standard_metadata", "deq_timedelta"] ], [ "queueing_metadata.deq_qdepth", ["standard_metadata", "deq_qdepth"] ], [ "intrinsic_metadata.ingress_global_timestamp", ["standard_metadata", "ingress_global_timestamp"] ], [ "intrinsic_metadata.egress_global_timestamp", ["standard_metadata", "egress_global_timestamp"] ], [ "intrinsic_metadata.mcast_grp", ["standard_metadata", "mcast_grp"] ], [ "intrinsic_metadata.egress_rid", ["standard_metadata", "egress_rid"] ], [ "intrinsic_metadata.priority", ["standard_metadata", "priority"] ] ], "program" : "/mnt/storage/Projekte/gauntlet/modules/p4c/testdata/p4_16_samples/issue2283_1-bmv2.p4", "__meta__" : { "version" : [2, 23], "compiler" : "https://github.com/p4lang/p4c" } }