blob: ee0c37f714a4c77382b274186ad37641eaf71795 [file] [log] [blame]
{
"header_types" : [
{
"name" : "scalars_0",
"id" : 0,
"fields" : [
["tmp", 32, false],
["tmp_0", 32, false],
["tmp_1", 32, false],
["tmp_2", 32, false],
["process_int_transit_hasReturned", 1, false],
["local_metadata_t._l4_src_port0", 16, false],
["local_metadata_t._l4_dst_port1", 16, false],
["local_metadata_t._next_hop_id2", 16, false],
["local_metadata_t._selector3", 16, false],
["local_metadata_t._int_meta_switch_id4", 32, false],
["local_metadata_t._int_meta_new_bytes5", 16, false],
["local_metadata_t._int_meta_new_words6", 8, false],
["local_metadata_t._int_meta_source7", 1, false],
["local_metadata_t._int_meta_sink8", 1, false],
["local_metadata_t._int_meta_transit9", 1, false],
["local_metadata_t._int_meta_intl4_shim_len10", 8, false],
["local_metadata_t._compute_checksum11", 1, false],
["_padding_1", 3, false]
]
},
{
"name" : "standard_metadata",
"id" : 1,
"fields" : [
["ingress_port", 9, false],
["egress_spec", 9, false],
["egress_port", 9, false],
["clone_spec", 32, false],
["instance_type", 32, false],
["drop", 1, false],
["recirculate_port", 16, 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],
["lf_field_list", 32, false],
["mcast_grp", 16, false],
["resubmit_flag", 32, false],
["egress_rid", 16, false],
["checksum_error", 1, false],
["recirculate_flag", 32, false],
["parser_error", 32, false],
["_padding_0", 5, false]
]
},
{
"name" : "packet_out_header_t",
"id" : 2,
"fields" : [
["egress_port", 9, false],
["_padding", 7, false]
]
},
{
"name" : "packet_in_header_t",
"id" : 3,
"fields" : [
["ingress_port", 9, false],
["_padding", 7, false]
]
},
{
"name" : "ethernet_t",
"id" : 4,
"fields" : [
["dst_addr", 48, false],
["src_addr", 48, false],
["ether_type", 16, false]
]
},
{
"name" : "ipv4_t",
"id" : 5,
"fields" : [
["version", 4, false],
["ihl", 4, false],
["dscp", 6, false],
["ecn", 2, false],
["len", 16, false],
["identification", 16, false],
["flags", 3, false],
["frag_offset", 13, false],
["ttl", 8, false],
["protocol", 8, false],
["hdr_checksum", 16, false],
["src_addr", 32, false],
["dst_addr", 32, false]
]
},
{
"name" : "udp_t",
"id" : 6,
"fields" : [
["src_port", 16, false],
["dst_port", 16, false],
["length_", 16, false],
["checksum", 16, false]
]
},
{
"name" : "report_fixed_header_t",
"id" : 7,
"fields" : [
["ver", 4, false],
["len", 4, false],
["nproto", 3, false],
["rep_md_bits", 6, false],
["d", 1, false],
["q", 1, false],
["f", 1, false],
["rsvd", 6, false],
["hw_id", 6, false],
["sw_id", 32, false],
["seq_no", 32, false],
["ingress_tstamp", 32, false]
]
},
{
"name" : "drop_report_header_t",
"id" : 8,
"fields" : [
["switch_id", 32, false],
["ingress_port_id", 16, false],
["egress_port_id", 16, false],
["queue_id", 8, false],
["drop_reason", 8, false],
["pad", 16, false]
]
},
{
"name" : "local_report_header_t",
"id" : 9,
"fields" : [
["switch_id", 32, false],
["ingress_port_id", 16, false],
["egress_port_id", 16, false],
["queue_id", 8, false],
["queue_occupancy", 24, false],
["egress_tstamp", 32, false]
]
},
{
"name" : "tcp_t",
"id" : 10,
"fields" : [
["src_port", 16, false],
["dst_port", 16, false],
["seq_no", 32, false],
["ack_no", 32, false],
["data_offset", 4, false],
["res", 3, false],
["ecn", 3, false],
["ctrl", 6, false],
["window", 16, false],
["checksum", 16, false],
["urgent_ptr", 16, false]
]
},
{
"name" : "intl4_shim_t",
"id" : 11,
"fields" : [
["int_type", 8, false],
["rsvd1", 8, false],
["len", 8, false],
["dscp", 6, false],
["rsvd2", 2, false]
]
},
{
"name" : "int_header_t",
"id" : 12,
"fields" : [
["ver", 4, false],
["rep", 2, false],
["c", 1, false],
["e", 1, false],
["m", 1, false],
["rsvd1", 7, false],
["rsvd2", 3, false],
["hop_metadata_len", 5, false],
["remaining_hop_cnt", 8, false],
["instruction_mask_0003", 4, false],
["instruction_mask_0407", 4, false],
["instruction_mask_0811", 4, false],
["instruction_mask_1215", 4, false],
["rsvd3", 16, false]
]
},
{
"name" : "int_data_t",
"id" : 13,
"fields" : [
["data", "*"]
],
"max_length" : 240
},
{
"name" : "int_switch_id_t",
"id" : 14,
"fields" : [
["switch_id", 32, false]
]
},
{
"name" : "int_level1_port_ids_t",
"id" : 15,
"fields" : [
["ingress_port_id", 16, false],
["egress_port_id", 16, false]
]
},
{
"name" : "int_hop_latency_t",
"id" : 16,
"fields" : [
["hop_latency", 32, false]
]
},
{
"name" : "int_q_occupancy_t",
"id" : 17,
"fields" : [
["q_id", 8, false],
["q_occupancy", 24, false]
]
},
{
"name" : "int_ingress_tstamp_t",
"id" : 18,
"fields" : [
["ingress_tstamp", 32, false]
]
},
{
"name" : "int_egress_tstamp_t",
"id" : 19,
"fields" : [
["egress_tstamp", 32, false]
]
},
{
"name" : "int_level2_port_ids_t",
"id" : 20,
"fields" : [
["ingress_port_id", 32, false],
["egress_port_id", 32, false]
]
},
{
"name" : "int_egress_port_tx_util_t",
"id" : 21,
"fields" : [
["egress_port_tx_util", 32, 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" : "packet_out",
"id" : 2,
"header_type" : "packet_out_header_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "packet_in",
"id" : 3,
"header_type" : "packet_in_header_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "report_ethernet",
"id" : 4,
"header_type" : "ethernet_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "report_ipv4",
"id" : 5,
"header_type" : "ipv4_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "report_udp",
"id" : 6,
"header_type" : "udp_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "report_fixed_header",
"id" : 7,
"header_type" : "report_fixed_header_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "report_local.drop_report_header",
"id" : 8,
"header_type" : "drop_report_header_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "report_local.local_report_header",
"id" : 9,
"header_type" : "local_report_header_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "ethernet",
"id" : 10,
"header_type" : "ethernet_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "ipv4",
"id" : 11,
"header_type" : "ipv4_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "tcp",
"id" : 12,
"header_type" : "tcp_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "udp",
"id" : 13,
"header_type" : "udp_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "intl4_shim",
"id" : 14,
"header_type" : "intl4_shim_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "int_header",
"id" : 15,
"header_type" : "int_header_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "int_data",
"id" : 16,
"header_type" : "int_data_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "int_switch_id",
"id" : 17,
"header_type" : "int_switch_id_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "int_level1_port_ids",
"id" : 18,
"header_type" : "int_level1_port_ids_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "int_hop_latency",
"id" : 19,
"header_type" : "int_hop_latency_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "int_q_occupancy",
"id" : 20,
"header_type" : "int_q_occupancy_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "int_ingress_tstamp",
"id" : 21,
"header_type" : "int_ingress_tstamp_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "int_egress_tstamp",
"id" : 22,
"header_type" : "int_egress_tstamp_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "int_level2_port_ids",
"id" : 23,
"header_type" : "int_level2_port_ids_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "int_egress_tx_util",
"id" : 24,
"header_type" : "int_egress_port_tx_util_t",
"metadata" : false,
"pi_omit" : true
}
],
"header_stacks" : [],
"header_union_types" : [
{
"name" : "local_report_t",
"id" : 0,
"headers" : [
["drop_report_header", "drop_report_header_t"],
["local_report_header", "local_report_header_t"]
]
}
],
"header_unions" : [
{
"name" : "report_local",
"id" : 0,
"union_type" : "local_report_t",
"header_ids" : [8, 9],
"pi_omit" : true
}
],
"header_union_stacks" : [],
"field_lists" : [
{
"id" : 1,
"name" : "fl",
"source_info" : {
"filename" : "int.p4",
"line" : 56,
"column" : 60,
"source_fragment" : "standard_metadata"
},
"elements" : [
{
"type" : "field",
"value" : ["standard_metadata", "ingress_port"]
},
{
"type" : "field",
"value" : ["standard_metadata", "egress_spec"]
},
{
"type" : "field",
"value" : ["standard_metadata", "egress_port"]
},
{
"type" : "field",
"value" : ["standard_metadata", "clone_spec"]
},
{
"type" : "field",
"value" : ["standard_metadata", "instance_type"]
},
{
"type" : "field",
"value" : ["standard_metadata", "drop"]
},
{
"type" : "field",
"value" : ["standard_metadata", "recirculate_port"]
},
{
"type" : "field",
"value" : ["standard_metadata", "packet_length"]
},
{
"type" : "field",
"value" : ["standard_metadata", "enq_timestamp"]
},
{
"type" : "field",
"value" : ["standard_metadata", "enq_qdepth"]
},
{
"type" : "field",
"value" : ["standard_metadata", "deq_timedelta"]
},
{
"type" : "field",
"value" : ["standard_metadata", "deq_qdepth"]
},
{
"type" : "field",
"value" : ["standard_metadata", "ingress_global_timestamp"]
},
{
"type" : "field",
"value" : ["standard_metadata", "egress_global_timestamp"]
},
{
"type" : "field",
"value" : ["standard_metadata", "lf_field_list"]
},
{
"type" : "field",
"value" : ["standard_metadata", "mcast_grp"]
},
{
"type" : "field",
"value" : ["standard_metadata", "resubmit_flag"]
},
{
"type" : "field",
"value" : ["standard_metadata", "egress_rid"]
},
{
"type" : "field",
"value" : ["standard_metadata", "checksum_error"]
},
{
"type" : "field",
"value" : ["standard_metadata", "recirculate_flag"]
},
{
"type" : "field",
"value" : ["standard_metadata", "parser_error"]
}
]
}
],
"errors" : [
["NoError", 1],
["PacketTooShort", 2],
["NoMatch", 3],
["StackOutOfBounds", 4],
["HeaderTooShort", 5],
["ParserTimeout", 6]
],
"enums" : [],
"parsers" : [
{
"name" : "parser",
"id" : 0,
"init_state" : "start",
"parse_states" : [
{
"name" : "start",
"id" : 0,
"parser_ops" : [],
"transitions" : [
{
"type" : "hexstr",
"value" : "0x00ff",
"mask" : null,
"next_state" : "parse_packet_out"
},
{
"value" : "default",
"mask" : null,
"next_state" : "parse_ethernet"
}
],
"transition_key" : [
{
"type" : "field",
"value" : ["standard_metadata", "ingress_port"]
}
]
},
{
"name" : "parse_packet_out",
"id" : 1,
"parser_ops" : [
{
"parameters" : [
{
"type" : "regular",
"value" : "packet_out"
}
],
"op" : "extract"
}
],
"transitions" : [
{
"value" : "default",
"mask" : null,
"next_state" : "parse_ethernet"
}
],
"transition_key" : []
},
{
"name" : "parse_ethernet",
"id" : 2,
"parser_ops" : [
{
"parameters" : [
{
"type" : "regular",
"value" : "ethernet"
}
],
"op" : "extract"
}
],
"transitions" : [
{
"type" : "hexstr",
"value" : "0x0800",
"mask" : null,
"next_state" : "parse_ipv4"
},
{
"value" : "default",
"mask" : null,
"next_state" : null
}
],
"transition_key" : [
{
"type" : "field",
"value" : ["ethernet", "ether_type"]
}
]
},
{
"name" : "parse_ipv4",
"id" : 3,
"parser_ops" : [
{
"parameters" : [
{
"type" : "regular",
"value" : "ipv4"
}
],
"op" : "extract"
}
],
"transitions" : [
{
"type" : "hexstr",
"value" : "0x06",
"mask" : null,
"next_state" : "parse_tcp"
},
{
"type" : "hexstr",
"value" : "0x11",
"mask" : null,
"next_state" : "parse_udp"
},
{
"value" : "default",
"mask" : null,
"next_state" : null
}
],
"transition_key" : [
{
"type" : "field",
"value" : ["ipv4", "protocol"]
}
]
},
{
"name" : "parse_tcp",
"id" : 4,
"parser_ops" : [
{
"parameters" : [
{
"type" : "regular",
"value" : "tcp"
}
],
"op" : "extract"
},
{
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._l4_src_port0"]
},
{
"type" : "field",
"value" : ["tcp", "src_port"]
}
],
"op" : "set"
},
{
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._l4_dst_port1"]
},
{
"type" : "field",
"value" : ["tcp", "dst_port"]
}
],
"op" : "set"
}
],
"transitions" : [
{
"type" : "hexstr",
"value" : "0x17",
"mask" : "0x3f",
"next_state" : "parse_intl4_shim"
},
{
"value" : "default",
"mask" : null,
"next_state" : null
}
],
"transition_key" : [
{
"type" : "field",
"value" : ["ipv4", "dscp"]
}
]
},
{
"name" : "parse_udp",
"id" : 5,
"parser_ops" : [
{
"parameters" : [
{
"type" : "regular",
"value" : "udp"
}
],
"op" : "extract"
},
{
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._l4_src_port0"]
},
{
"type" : "field",
"value" : ["udp", "src_port"]
}
],
"op" : "set"
},
{
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._l4_dst_port1"]
},
{
"type" : "field",
"value" : ["udp", "dst_port"]
}
],
"op" : "set"
}
],
"transitions" : [
{
"type" : "hexstr",
"value" : "0x17",
"mask" : "0x3f",
"next_state" : "parse_intl4_shim"
},
{
"value" : "default",
"mask" : null,
"next_state" : null
}
],
"transition_key" : [
{
"type" : "field",
"value" : ["ipv4", "dscp"]
}
]
},
{
"name" : "parse_intl4_shim",
"id" : 6,
"parser_ops" : [
{
"parameters" : [
{
"type" : "regular",
"value" : "intl4_shim"
}
],
"op" : "extract"
},
{
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_intl4_shim_len10"]
},
{
"type" : "field",
"value" : ["intl4_shim", "len"]
}
],
"op" : "set"
},
{
"parameters" : [
{
"type" : "regular",
"value" : "int_header"
}
],
"op" : "extract"
},
{
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "tmp"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "<<",
"left" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["intl4_shim", "len"]
},
"right" : {
"type" : "hexstr",
"value" : "0xfd"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xff"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0x5"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
],
"op" : "set"
},
{
"parameters" : [
{
"type" : "regular",
"value" : "int_data"
},
{
"type" : "expression",
"value" : {
"type" : "field",
"value" : ["scalars", "tmp"]
}
}
],
"op" : "extract_VL"
}
],
"transitions" : [
{
"value" : "default",
"mask" : null,
"next_state" : null
}
],
"transition_key" : []
}
]
}
],
"parse_vsets" : [],
"deparsers" : [
{
"name" : "deparser",
"id" : 0,
"source_info" : {
"filename" : "include/int_parser.p4",
"line" : 93,
"column" : 8,
"source_fragment" : "int_deparser"
},
"order" : ["packet_in", "report_ethernet", "report_ipv4", "report_udp", "report_fixed_header", "ethernet", "ipv4", "tcp", "udp", "intl4_shim", "int_header", "int_switch_id", "int_level1_port_ids", "int_hop_latency", "int_q_occupancy", "int_ingress_tstamp", "int_egress_tstamp", "int_level2_port_ids", "int_egress_tx_util", "int_data"]
}
],
"meter_arrays" : [],
"counter_arrays" : [
{
"name" : "ingress.port_counters_ingress.ingress_port_counter",
"id" : 0,
"source_info" : {
"filename" : "include/port_counters.p4",
"line" : 26,
"column" : 38,
"source_fragment" : "ingress_port_counter"
},
"size" : 511,
"is_direct" : false
},
{
"name" : "ingress.table0_control.table0_counter",
"id" : 1,
"is_direct" : true,
"binding" : "ingress.table0_control.table0",
"source_info" : {
"filename" : "include/table0.p4",
"line" : 27,
"column" : 50,
"source_fragment" : "table0_counter"
}
},
{
"name" : "ingress.process_int_source_sink.counter_set_source",
"id" : 2,
"is_direct" : true,
"binding" : "ingress.process_int_source_sink.tb_set_source",
"source_info" : {
"filename" : "include/int_source.p4",
"line" : 88,
"column" : 50,
"source_fragment" : "counter_set_source"
}
},
{
"name" : "ingress.process_int_source_sink.counter_set_sink",
"id" : 3,
"is_direct" : true,
"binding" : "ingress.process_int_source_sink.tb_set_sink",
"source_info" : {
"filename" : "include/int_source.p4",
"line" : 89,
"column" : 50,
"source_fragment" : "counter_set_sink"
}
},
{
"name" : "ingress.process_int_source.counter_int_source",
"id" : 4,
"is_direct" : true,
"binding" : "ingress.process_int_source.tb_int_source",
"source_info" : {
"filename" : "include/int_source.p4",
"line" : 27,
"column" : 50,
"source_fragment" : "counter_int_source"
}
},
{
"name" : "egress.port_counters_egress.egress_port_counter",
"id" : 5,
"source_info" : {
"filename" : "include/port_counters.p4",
"line" : 36,
"column" : 38,
"source_fragment" : "egress_port_counter"
},
"size" : 511,
"is_direct" : false
}
],
"register_arrays" : [],
"calculations" : [
{
"name" : "calc",
"id" : 0,
"source_info" : {
"filename" : "include/checksums.p4",
"line" : 32,
"column" : 8,
"source_fragment" : "update_checksum(hdr.ipv4.isValid(), ..."
},
"algo" : "csum16",
"input" : [
{
"type" : "field",
"value" : ["ipv4", "version"]
},
{
"type" : "field",
"value" : ["ipv4", "ihl"]
},
{
"type" : "field",
"value" : ["ipv4", "dscp"]
},
{
"type" : "field",
"value" : ["ipv4", "ecn"]
},
{
"type" : "field",
"value" : ["ipv4", "len"]
},
{
"type" : "field",
"value" : ["ipv4", "identification"]
},
{
"type" : "field",
"value" : ["ipv4", "flags"]
},
{
"type" : "field",
"value" : ["ipv4", "frag_offset"]
},
{
"type" : "field",
"value" : ["ipv4", "ttl"]
},
{
"type" : "field",
"value" : ["ipv4", "protocol"]
},
{
"type" : "field",
"value" : ["ipv4", "src_addr"]
},
{
"type" : "field",
"value" : ["ipv4", "dst_addr"]
}
]
},
{
"name" : "calc_0",
"id" : 1,
"source_info" : {
"filename" : "include/checksums.p4",
"line" : 54,
"column" : 8,
"source_fragment" : "update_checksum(hdr.report_ipv4.isValid(), ..."
},
"algo" : "csum16",
"input" : [
{
"type" : "field",
"value" : ["report_ipv4", "version"]
},
{
"type" : "field",
"value" : ["report_ipv4", "ihl"]
},
{
"type" : "field",
"value" : ["report_ipv4", "dscp"]
},
{
"type" : "field",
"value" : ["report_ipv4", "ecn"]
},
{
"type" : "field",
"value" : ["report_ipv4", "len"]
},
{
"type" : "field",
"value" : ["report_ipv4", "identification"]
},
{
"type" : "field",
"value" : ["report_ipv4", "flags"]
},
{
"type" : "field",
"value" : ["report_ipv4", "frag_offset"]
},
{
"type" : "field",
"value" : ["report_ipv4", "ttl"]
},
{
"type" : "field",
"value" : ["report_ipv4", "protocol"]
},
{
"type" : "field",
"value" : ["report_ipv4", "src_addr"]
},
{
"type" : "field",
"value" : ["report_ipv4", "dst_addr"]
}
]
}
],
"learn_lists" : [],
"actions" : [
{
"name" : "_drop",
"id" : 0,
"runtime_data" : [],
"primitives" : [
{
"op" : "drop",
"parameters" : [],
"source_info" : {
"filename" : "include/actions.p4",
"line" : 24,
"column" : 4,
"source_fragment" : "mark_to_drop()"
}
}
]
},
{
"name" : "nop",
"id" : 1,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "nop",
"id" : 2,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "nop",
"id" : 3,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "ingress.table0_control.set_next_hop_id",
"id" : 4,
"runtime_data" : [
{
"name" : "next_hop_id",
"bitwidth" : 16
}
],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._next_hop_id2"]
},
{
"type" : "runtime_data",
"value" : 0
}
],
"source_info" : {
"filename" : "include/table0.p4",
"line" : 30,
"column" : 35,
"source_fragment" : "= next_hop_id; ..."
}
}
]
},
{
"name" : "ingress.table0_control.send_to_cpu",
"id" : 5,
"runtime_data" : [],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["standard_metadata", "egress_spec"]
},
{
"type" : "hexstr",
"value" : "0x00ff"
}
],
"source_info" : {
"filename" : "include/defines.p4",
"line" : 43,
"column" : 24,
"source_fragment" : "255; ..."
}
}
]
},
{
"name" : "ingress.table0_control.set_egress_port",
"id" : 6,
"runtime_data" : [
{
"name" : "port",
"bitwidth" : 9
}
],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["standard_metadata", "egress_spec"]
},
{
"type" : "runtime_data",
"value" : 0
}
],
"source_info" : {
"filename" : "include/table0.p4",
"line" : 38,
"column" : 8,
"source_fragment" : "standard_metadata.egress_spec = port"
}
}
]
},
{
"name" : "ingress.process_int_source_sink.int_set_source",
"id" : 7,
"runtime_data" : [],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_source7"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "b2d",
"left" : null,
"right" : {
"type" : "bool",
"value" : true
}
}
}
}
],
"source_info" : {
"filename" : "include/int_source.p4",
"line" : 92,
"column" : 39,
"source_fragment" : "= true; ..."
}
}
]
},
{
"name" : "ingress.process_int_source_sink.int_set_sink",
"id" : 8,
"runtime_data" : [],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_sink8"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "b2d",
"left" : null,
"right" : {
"type" : "bool",
"value" : true
}
}
}
}
],
"source_info" : {
"filename" : "include/int_source.p4",
"line" : 97,
"column" : 37,
"source_fragment" : "= true; ..."
}
}
]
},
{
"name" : "ingress.process_int_source.int_source_dscp",
"id" : 9,
"runtime_data" : [
{
"name" : "hop_metadata_len",
"bitwidth" : 5
},
{
"name" : "remaining_hop_cnt",
"bitwidth" : 8
},
{
"name" : "ins_mask0003",
"bitwidth" : 4
},
{
"name" : "ins_mask0407",
"bitwidth" : 4
}
],
"primitives" : [
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "intl4_shim"
}
],
"source_info" : {
"filename" : "include/int_source.p4",
"line" : 31,
"column" : 8,
"source_fragment" : "hdr.intl4_shim.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["intl4_shim", "int_type"]
},
{
"type" : "hexstr",
"value" : "0x01"
}
],
"source_info" : {
"filename" : "include/int_source.p4",
"line" : 33,
"column" : 8,
"source_fragment" : "hdr.intl4_shim.int_type = 1"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["intl4_shim", "len"]
},
{
"type" : "hexstr",
"value" : "0x03"
}
],
"source_info" : {
"filename" : "include/int_definitions.p4",
"line" : 30,
"column" : 35,
"source_fragment" : "3; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["intl4_shim", "dscp"]
},
{
"type" : "field",
"value" : ["ipv4", "dscp"]
}
],
"source_info" : {
"filename" : "include/int_source.p4",
"line" : 35,
"column" : 8,
"source_fragment" : "hdr.intl4_shim.dscp = hdr.ipv4.dscp"
}
},
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_header"
}
],
"source_info" : {
"filename" : "include/int_source.p4",
"line" : 38,
"column" : 8,
"source_fragment" : "hdr.int_header.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_header", "ver"]
},
{
"type" : "hexstr",
"value" : "0x00"
}
],
"source_info" : {
"filename" : "include/int_source.p4",
"line" : 39,
"column" : 8,
"source_fragment" : "hdr.int_header.ver = 0"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_header", "rep"]
},
{
"type" : "hexstr",
"value" : "0x00"
}
],
"source_info" : {
"filename" : "include/int_source.p4",
"line" : 40,
"column" : 8,
"source_fragment" : "hdr.int_header.rep = 0"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_header", "c"]
},
{
"type" : "hexstr",
"value" : "0x00"
}
],
"source_info" : {
"filename" : "include/int_source.p4",
"line" : 41,
"column" : 8,
"source_fragment" : "hdr.int_header.c = 0"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_header", "e"]
},
{
"type" : "hexstr",
"value" : "0x00"
}
],
"source_info" : {
"filename" : "include/int_source.p4",
"line" : 42,
"column" : 8,
"source_fragment" : "hdr.int_header.e = 0"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_header", "m"]
},
{
"type" : "hexstr",
"value" : "0x00"
}
],
"source_info" : {
"filename" : "include/int_source.p4",
"line" : 43,
"column" : 8,
"source_fragment" : "hdr.int_header.m = 0"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_header", "rsvd1"]
},
{
"type" : "hexstr",
"value" : "0x00"
}
],
"source_info" : {
"filename" : "include/int_source.p4",
"line" : 44,
"column" : 8,
"source_fragment" : "hdr.int_header.rsvd1 = 0"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_header", "rsvd2"]
},
{
"type" : "hexstr",
"value" : "0x00"
}
],
"source_info" : {
"filename" : "include/int_source.p4",
"line" : 45,
"column" : 8,
"source_fragment" : "hdr.int_header.rsvd2 = 0"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_header", "hop_metadata_len"]
},
{
"type" : "runtime_data",
"value" : 0
}
],
"source_info" : {
"filename" : "include/int_source.p4",
"line" : 46,
"column" : 8,
"source_fragment" : "hdr.int_header.hop_metadata_len = hop_metadata_len; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_header", "remaining_hop_cnt"]
},
{
"type" : "runtime_data",
"value" : 1
}
],
"source_info" : {
"filename" : "include/int_source.p4",
"line" : 47,
"column" : 8,
"source_fragment" : "hdr.int_header.remaining_hop_cnt = remaining_hop_cnt; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_header", "instruction_mask_0003"]
},
{
"type" : "runtime_data",
"value" : 2
}
],
"source_info" : {
"filename" : "include/int_source.p4",
"line" : 48,
"column" : 8,
"source_fragment" : "hdr.int_header.instruction_mask_0003 = ins_mask0003; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_header", "instruction_mask_0407"]
},
{
"type" : "runtime_data",
"value" : 3
}
],
"source_info" : {
"filename" : "include/int_source.p4",
"line" : 49,
"column" : 8,
"source_fragment" : "hdr.int_header.instruction_mask_0407 = ins_mask0407; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_header", "instruction_mask_0811"]
},
{
"type" : "hexstr",
"value" : "0x00"
}
],
"source_info" : {
"filename" : "include/int_source.p4",
"line" : 50,
"column" : 8,
"source_fragment" : "hdr.int_header.instruction_mask_0811 = 0"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_header", "instruction_mask_1215"]
},
{
"type" : "hexstr",
"value" : "0x00"
}
],
"source_info" : {
"filename" : "include/int_source.p4",
"line" : 51,
"column" : 8,
"source_fragment" : "hdr.int_header.instruction_mask_1215 = 0"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["ipv4", "len"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["ipv4", "len"]
},
"right" : {
"type" : "hexstr",
"value" : "0x0008"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0x0004"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_source.p4",
"line" : 54,
"column" : 8,
"source_fragment" : "hdr.ipv4.len = hdr.ipv4.len + INT_HEADER_SIZE + INT_SHIM_HEADER_SIZE"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["udp", "length_"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["udp", "length_"]
},
"right" : {
"type" : "hexstr",
"value" : "0x0008"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0x0004"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_source.p4",
"line" : 55,
"column" : 8,
"source_fragment" : "hdr.udp.length_ = hdr.udp.length_ + INT_HEADER_SIZE + INT_SHIM_HEADER_SIZE"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["ipv4", "dscp"]
},
{
"type" : "hexstr",
"value" : "0x17"
}
],
"source_info" : {
"filename" : "include/int_definitions.p4",
"line" : 24,
"column" : 24,
"source_fragment" : "0x17; ..."
}
}
]
},
{
"name" : "act",
"id" : 10,
"runtime_data" : [],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["standard_metadata", "egress_spec"]
},
{
"type" : "field",
"value" : ["packet_out", "egress_port"]
}
],
"source_info" : {
"filename" : "include/packet_io.p4",
"line" : 27,
"column" : 12,
"source_fragment" : "standard_metadata.egress_spec = hdr.packet_out.egress_port"
}
},
{
"op" : "remove_header",
"parameters" : [
{
"type" : "header",
"value" : "packet_out"
}
],
"source_info" : {
"filename" : "include/packet_io.p4",
"line" : 28,
"column" : 12,
"source_fragment" : "hdr.packet_out.setInvalid()"
}
}
]
},
{
"name" : "act_0",
"id" : 11,
"runtime_data" : [],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "tmp_0"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "ingress_port"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/port_counters.p4",
"line" : 29,
"column" : 35,
"source_fragment" : "(bit<32>) standard_metadata.ingress_port"
}
},
{
"op" : "count",
"parameters" : [
{
"type" : "counter_array",
"value" : "ingress.port_counters_ingress.ingress_port_counter"
},
{
"type" : "field",
"value" : ["scalars", "tmp_0"]
}
],
"source_info" : {
"filename" : "include/port_counters.p4",
"line" : 29,
"column" : 8,
"source_fragment" : "ingress_port_counter.count((bit<32>) standard_metadata.ingress_port)"
}
}
]
},
{
"name" : "act_1",
"id" : 12,
"runtime_data" : [],
"primitives" : [
{
"op" : "clone_ingress_pkt_to_egress",
"parameters" : [
{
"type" : "hexstr",
"value" : "0x000001f4"
},
{
"type" : "hexstr",
"value" : "0x1"
}
],
"source_info" : {
"filename" : "int.p4",
"line" : 56,
"column" : 12,
"source_fragment" : "clone3(CloneType.I2E, REPORT_MIRROR_SESSION_ID, standard_metadata)"
}
}
]
},
{
"name" : "nop",
"id" : 13,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "nop",
"id" : 14,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "NoAction",
"id" : 15,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "NoAction",
"id" : 16,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "egress.process_int_transit.init_metadata",
"id" : 17,
"runtime_data" : [
{
"name" : "switch_id",
"bitwidth" : 32
}
],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_transit9"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "b2d",
"left" : null,
"right" : {
"type" : "bool",
"value" : true
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 26,
"column" : 40,
"source_fragment" : "= true; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_switch_id4"]
},
{
"type" : "runtime_data",
"value" : 0
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 27,
"column" : 42,
"source_fragment" : "= switch_id; ..."
}
}
]
},
{
"name" : "egress.process_int_transit.int_set_header_0003_i0",
"id" : 18,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "egress.process_int_transit.int_set_header_0003_i1",
"id" : 19,
"runtime_data" : [],
"primitives" : [
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_q_occupancy"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 49,
"column" : 8,
"source_fragment" : "hdr.int_q_occupancy.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_q_occupancy", "q_id"]
},
{
"type" : "hexstr",
"value" : "0x00"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 50,
"column" : 8,
"source_fragment" : "hdr.int_q_occupancy.q_id = ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_q_occupancy", "q_occupancy"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "deq_qdepth"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 53,
"column" : 8,
"source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
"right" : {
"type" : "hexstr",
"value" : "0x01"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 87,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_words + 1; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
"right" : {
"type" : "hexstr",
"value" : "0x0004"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 88,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_bytes + 4; ..."
}
}
]
},
{
"name" : "egress.process_int_transit.int_set_header_0003_i2",
"id" : 20,
"runtime_data" : [],
"primitives" : [
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_hop_latency"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 43,
"column" : 8,
"source_fragment" : "hdr.int_hop_latency.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_hop_latency", "hop_latency"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "-",
"left" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "egress_global_timestamp"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
},
"right" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "ingress_global_timestamp"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 44,
"column" : 8,
"source_fragment" : "hdr.int_hop_latency.hop_latency = (bit<32>) standard_metadata.egress_global_timestamp - (bit<32>) standard_metadata.ingress_global_timestamp"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
"right" : {
"type" : "hexstr",
"value" : "0x01"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 87,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_words + 1; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
"right" : {
"type" : "hexstr",
"value" : "0x0004"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 88,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_bytes + 4; ..."
}
}
]
},
{
"name" : "egress.process_int_transit.int_set_header_0003_i3",
"id" : 21,
"runtime_data" : [],
"primitives" : [
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_q_occupancy"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 49,
"column" : 8,
"source_fragment" : "hdr.int_q_occupancy.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_q_occupancy", "q_id"]
},
{
"type" : "hexstr",
"value" : "0x00"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 50,
"column" : 8,
"source_fragment" : "hdr.int_q_occupancy.q_id = ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_q_occupancy", "q_occupancy"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "deq_qdepth"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 53,
"column" : 8,
"source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..."
}
},
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_hop_latency"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 43,
"column" : 8,
"source_fragment" : "hdr.int_hop_latency.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_hop_latency", "hop_latency"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "-",
"left" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "egress_global_timestamp"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
},
"right" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "ingress_global_timestamp"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 44,
"column" : 8,
"source_fragment" : "hdr.int_hop_latency.hop_latency = (bit<32>) standard_metadata.egress_global_timestamp - (bit<32>) standard_metadata.ingress_global_timestamp"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
"right" : {
"type" : "hexstr",
"value" : "0x02"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 93,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_words + 2; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
"right" : {
"type" : "hexstr",
"value" : "0x0008"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 94,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_bytes + 8; ..."
}
}
]
},
{
"name" : "egress.process_int_transit.int_set_header_0003_i4",
"id" : 22,
"runtime_data" : [],
"primitives" : [
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_level1_port_ids"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 37,
"column" : 8,
"source_fragment" : "hdr.int_level1_port_ids.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_level1_port_ids", "ingress_port_id"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "ingress_port"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 38,
"column" : 8,
"source_fragment" : "hdr.int_level1_port_ids.ingress_port_id = (bit<16>) standard_metadata.ingress_port"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_level1_port_ids", "egress_port_id"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "egress_port"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 39,
"column" : 8,
"source_fragment" : "hdr.int_level1_port_ids.egress_port_id = (bit<16>) standard_metadata.egress_port"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
"right" : {
"type" : "hexstr",
"value" : "0x01"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 87,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_words + 1; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
"right" : {
"type" : "hexstr",
"value" : "0x0004"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 88,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_bytes + 4; ..."
}
}
]
},
{
"name" : "egress.process_int_transit.int_set_header_0003_i5",
"id" : 23,
"runtime_data" : [],
"primitives" : [
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_q_occupancy"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 49,
"column" : 8,
"source_fragment" : "hdr.int_q_occupancy.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_q_occupancy", "q_id"]
},
{
"type" : "hexstr",
"value" : "0x00"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 50,
"column" : 8,
"source_fragment" : "hdr.int_q_occupancy.q_id = ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_q_occupancy", "q_occupancy"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "deq_qdepth"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 53,
"column" : 8,
"source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..."
}
},
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_level1_port_ids"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 37,
"column" : 8,
"source_fragment" : "hdr.int_level1_port_ids.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_level1_port_ids", "ingress_port_id"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "ingress_port"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 38,
"column" : 8,
"source_fragment" : "hdr.int_level1_port_ids.ingress_port_id = (bit<16>) standard_metadata.ingress_port"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_level1_port_ids", "egress_port_id"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "egress_port"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 39,
"column" : 8,
"source_fragment" : "hdr.int_level1_port_ids.egress_port_id = (bit<16>) standard_metadata.egress_port"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
"right" : {
"type" : "hexstr",
"value" : "0x02"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 93,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_words + 2; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
"right" : {
"type" : "hexstr",
"value" : "0x0008"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 94,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_bytes + 8; ..."
}
}
]
},
{
"name" : "egress.process_int_transit.int_set_header_0003_i6",
"id" : 24,
"runtime_data" : [],
"primitives" : [
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_hop_latency"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 43,
"column" : 8,
"source_fragment" : "hdr.int_hop_latency.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_hop_latency", "hop_latency"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "-",
"left" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "egress_global_timestamp"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
},
"right" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "ingress_global_timestamp"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 44,
"column" : 8,
"source_fragment" : "hdr.int_hop_latency.hop_latency = (bit<32>) standard_metadata.egress_global_timestamp - (bit<32>) standard_metadata.ingress_global_timestamp"
}
},
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_level1_port_ids"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 37,
"column" : 8,
"source_fragment" : "hdr.int_level1_port_ids.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_level1_port_ids", "ingress_port_id"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "ingress_port"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 38,
"column" : 8,
"source_fragment" : "hdr.int_level1_port_ids.ingress_port_id = (bit<16>) standard_metadata.ingress_port"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_level1_port_ids", "egress_port_id"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "egress_port"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 39,
"column" : 8,
"source_fragment" : "hdr.int_level1_port_ids.egress_port_id = (bit<16>) standard_metadata.egress_port"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
"right" : {
"type" : "hexstr",
"value" : "0x02"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 93,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_words + 2; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
"right" : {
"type" : "hexstr",
"value" : "0x0008"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 94,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_bytes + 8; ..."
}
}
]
},
{
"name" : "egress.process_int_transit.int_set_header_0003_i7",
"id" : 25,
"runtime_data" : [],
"primitives" : [
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_q_occupancy"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 49,
"column" : 8,
"source_fragment" : "hdr.int_q_occupancy.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_q_occupancy", "q_id"]
},
{
"type" : "hexstr",
"value" : "0x00"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 50,
"column" : 8,
"source_fragment" : "hdr.int_q_occupancy.q_id = ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_q_occupancy", "q_occupancy"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "deq_qdepth"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 53,
"column" : 8,
"source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..."
}
},
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_hop_latency"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 43,
"column" : 8,
"source_fragment" : "hdr.int_hop_latency.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_hop_latency", "hop_latency"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "-",
"left" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "egress_global_timestamp"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
},
"right" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "ingress_global_timestamp"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 44,
"column" : 8,
"source_fragment" : "hdr.int_hop_latency.hop_latency = (bit<32>) standard_metadata.egress_global_timestamp - (bit<32>) standard_metadata.ingress_global_timestamp"
}
},
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_level1_port_ids"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 37,
"column" : 8,
"source_fragment" : "hdr.int_level1_port_ids.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_level1_port_ids", "ingress_port_id"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "ingress_port"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 38,
"column" : 8,
"source_fragment" : "hdr.int_level1_port_ids.ingress_port_id = (bit<16>) standard_metadata.ingress_port"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_level1_port_ids", "egress_port_id"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "egress_port"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 39,
"column" : 8,
"source_fragment" : "hdr.int_level1_port_ids.egress_port_id = (bit<16>) standard_metadata.egress_port"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
"right" : {
"type" : "hexstr",
"value" : "0x03"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 99,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_words + 3; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
"right" : {
"type" : "hexstr",
"value" : "0x000c"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 100,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_bytes + 12; ..."
}
}
]
},
{
"name" : "egress.process_int_transit.int_set_header_0003_i8",
"id" : 26,
"runtime_data" : [],
"primitives" : [
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_switch_id"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 32,
"column" : 8,
"source_fragment" : "hdr.int_switch_id.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_switch_id", "switch_id"]
},
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_switch_id4"]
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 33,
"column" : 8,
"source_fragment" : "hdr.int_switch_id.switch_id = local_metadata.int_meta.switch_id; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
"right" : {
"type" : "hexstr",
"value" : "0x01"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 87,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_words + 1; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
"right" : {
"type" : "hexstr",
"value" : "0x0004"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 88,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_bytes + 4; ..."
}
}
]
},
{
"name" : "egress.process_int_transit.int_set_header_0003_i9",
"id" : 27,
"runtime_data" : [],
"primitives" : [
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_q_occupancy"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 49,
"column" : 8,
"source_fragment" : "hdr.int_q_occupancy.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_q_occupancy", "q_id"]
},
{
"type" : "hexstr",
"value" : "0x00"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 50,
"column" : 8,
"source_fragment" : "hdr.int_q_occupancy.q_id = ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_q_occupancy", "q_occupancy"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "deq_qdepth"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 53,
"column" : 8,
"source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..."
}
},
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_switch_id"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 32,
"column" : 8,
"source_fragment" : "hdr.int_switch_id.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_switch_id", "switch_id"]
},
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_switch_id4"]
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 33,
"column" : 8,
"source_fragment" : "hdr.int_switch_id.switch_id = local_metadata.int_meta.switch_id; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
"right" : {
"type" : "hexstr",
"value" : "0x02"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 93,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_words + 2; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
"right" : {
"type" : "hexstr",
"value" : "0x0008"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 94,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_bytes + 8; ..."
}
}
]
},
{
"name" : "egress.process_int_transit.int_set_header_0003_i10",
"id" : 28,
"runtime_data" : [],
"primitives" : [
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_hop_latency"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 43,
"column" : 8,
"source_fragment" : "hdr.int_hop_latency.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_hop_latency", "hop_latency"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "-",
"left" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "egress_global_timestamp"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
},
"right" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "ingress_global_timestamp"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 44,
"column" : 8,
"source_fragment" : "hdr.int_hop_latency.hop_latency = (bit<32>) standard_metadata.egress_global_timestamp - (bit<32>) standard_metadata.ingress_global_timestamp"
}
},
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_switch_id"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 32,
"column" : 8,
"source_fragment" : "hdr.int_switch_id.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_switch_id", "switch_id"]
},
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_switch_id4"]
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 33,
"column" : 8,
"source_fragment" : "hdr.int_switch_id.switch_id = local_metadata.int_meta.switch_id; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
"right" : {
"type" : "hexstr",
"value" : "0x02"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 93,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_words + 2; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
"right" : {
"type" : "hexstr",
"value" : "0x0008"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 94,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_bytes + 8; ..."
}
}
]
},
{
"name" : "egress.process_int_transit.int_set_header_0003_i11",
"id" : 29,
"runtime_data" : [],
"primitives" : [
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_q_occupancy"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 49,
"column" : 8,
"source_fragment" : "hdr.int_q_occupancy.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_q_occupancy", "q_id"]
},
{
"type" : "hexstr",
"value" : "0x00"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 50,
"column" : 8,
"source_fragment" : "hdr.int_q_occupancy.q_id = ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_q_occupancy", "q_occupancy"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "deq_qdepth"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 53,
"column" : 8,
"source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..."
}
},
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_hop_latency"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 43,
"column" : 8,
"source_fragment" : "hdr.int_hop_latency.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_hop_latency", "hop_latency"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "-",
"left" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "egress_global_timestamp"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
},
"right" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "ingress_global_timestamp"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 44,
"column" : 8,
"source_fragment" : "hdr.int_hop_latency.hop_latency = (bit<32>) standard_metadata.egress_global_timestamp - (bit<32>) standard_metadata.ingress_global_timestamp"
}
},
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_switch_id"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 32,
"column" : 8,
"source_fragment" : "hdr.int_switch_id.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_switch_id", "switch_id"]
},
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_switch_id4"]
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 33,
"column" : 8,
"source_fragment" : "hdr.int_switch_id.switch_id = local_metadata.int_meta.switch_id; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
"right" : {
"type" : "hexstr",
"value" : "0x03"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 99,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_words + 3; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
"right" : {
"type" : "hexstr",
"value" : "0x000c"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 100,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_bytes + 12; ..."
}
}
]
},
{
"name" : "egress.process_int_transit.int_set_header_0003_i12",
"id" : 30,
"runtime_data" : [],
"primitives" : [
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_level1_port_ids"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 37,
"column" : 8,
"source_fragment" : "hdr.int_level1_port_ids.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_level1_port_ids", "ingress_port_id"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "ingress_port"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 38,
"column" : 8,
"source_fragment" : "hdr.int_level1_port_ids.ingress_port_id = (bit<16>) standard_metadata.ingress_port"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_level1_port_ids", "egress_port_id"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "egress_port"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 39,
"column" : 8,
"source_fragment" : "hdr.int_level1_port_ids.egress_port_id = (bit<16>) standard_metadata.egress_port"
}
},
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_switch_id"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 32,
"column" : 8,
"source_fragment" : "hdr.int_switch_id.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_switch_id", "switch_id"]
},
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_switch_id4"]
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 33,
"column" : 8,
"source_fragment" : "hdr.int_switch_id.switch_id = local_metadata.int_meta.switch_id; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
"right" : {
"type" : "hexstr",
"value" : "0x02"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 93,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_words + 2; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
"right" : {
"type" : "hexstr",
"value" : "0x0008"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 94,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_bytes + 8; ..."
}
}
]
},
{
"name" : "egress.process_int_transit.int_set_header_0003_i13",
"id" : 31,
"runtime_data" : [],
"primitives" : [
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_q_occupancy"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 49,
"column" : 8,
"source_fragment" : "hdr.int_q_occupancy.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_q_occupancy", "q_id"]
},
{
"type" : "hexstr",
"value" : "0x00"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 50,
"column" : 8,
"source_fragment" : "hdr.int_q_occupancy.q_id = ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_q_occupancy", "q_occupancy"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "deq_qdepth"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 53,
"column" : 8,
"source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..."
}
},
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_level1_port_ids"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 37,
"column" : 8,
"source_fragment" : "hdr.int_level1_port_ids.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_level1_port_ids", "ingress_port_id"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "ingress_port"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 38,
"column" : 8,
"source_fragment" : "hdr.int_level1_port_ids.ingress_port_id = (bit<16>) standard_metadata.ingress_port"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_level1_port_ids", "egress_port_id"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "egress_port"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 39,
"column" : 8,
"source_fragment" : "hdr.int_level1_port_ids.egress_port_id = (bit<16>) standard_metadata.egress_port"
}
},
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_switch_id"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 32,
"column" : 8,
"source_fragment" : "hdr.int_switch_id.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_switch_id", "switch_id"]
},
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_switch_id4"]
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 33,
"column" : 8,
"source_fragment" : "hdr.int_switch_id.switch_id = local_metadata.int_meta.switch_id; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
"right" : {
"type" : "hexstr",
"value" : "0x03"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 99,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_words + 3; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
"right" : {
"type" : "hexstr",
"value" : "0x000c"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 100,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_bytes + 12; ..."
}
}
]
},
{
"name" : "egress.process_int_transit.int_set_header_0003_i14",
"id" : 32,
"runtime_data" : [],
"primitives" : [
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_hop_latency"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 43,
"column" : 8,
"source_fragment" : "hdr.int_hop_latency.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_hop_latency", "hop_latency"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "-",
"left" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "egress_global_timestamp"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
},
"right" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "ingress_global_timestamp"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 44,
"column" : 8,
"source_fragment" : "hdr.int_hop_latency.hop_latency = (bit<32>) standard_metadata.egress_global_timestamp - (bit<32>) standard_metadata.ingress_global_timestamp"
}
},
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_level1_port_ids"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 37,
"column" : 8,
"source_fragment" : "hdr.int_level1_port_ids.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_level1_port_ids", "ingress_port_id"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "ingress_port"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 38,
"column" : 8,
"source_fragment" : "hdr.int_level1_port_ids.ingress_port_id = (bit<16>) standard_metadata.ingress_port"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_level1_port_ids", "egress_port_id"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "egress_port"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 39,
"column" : 8,
"source_fragment" : "hdr.int_level1_port_ids.egress_port_id = (bit<16>) standard_metadata.egress_port"
}
},
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_switch_id"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 32,
"column" : 8,
"source_fragment" : "hdr.int_switch_id.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_switch_id", "switch_id"]
},
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_switch_id4"]
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 33,
"column" : 8,
"source_fragment" : "hdr.int_switch_id.switch_id = local_metadata.int_meta.switch_id; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
"right" : {
"type" : "hexstr",
"value" : "0x03"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 99,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_words + 3; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
"right" : {
"type" : "hexstr",
"value" : "0x000c"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 100,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_bytes + 12; ..."
}
}
]
},
{
"name" : "egress.process_int_transit.int_set_header_0003_i15",
"id" : 33,
"runtime_data" : [],
"primitives" : [
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_q_occupancy"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 49,
"column" : 8,
"source_fragment" : "hdr.int_q_occupancy.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_q_occupancy", "q_id"]
},
{
"type" : "hexstr",
"value" : "0x00"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 50,
"column" : 8,
"source_fragment" : "hdr.int_q_occupancy.q_id = ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_q_occupancy", "q_occupancy"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "deq_qdepth"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 53,
"column" : 8,
"source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..."
}
},
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_hop_latency"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 43,
"column" : 8,
"source_fragment" : "hdr.int_hop_latency.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_hop_latency", "hop_latency"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "-",
"left" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "egress_global_timestamp"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
},
"right" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "ingress_global_timestamp"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 44,
"column" : 8,
"source_fragment" : "hdr.int_hop_latency.hop_latency = (bit<32>) standard_metadata.egress_global_timestamp - (bit<32>) standard_metadata.ingress_global_timestamp"
}
},
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_level1_port_ids"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 37,
"column" : 8,
"source_fragment" : "hdr.int_level1_port_ids.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_level1_port_ids", "ingress_port_id"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "ingress_port"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 38,
"column" : 8,
"source_fragment" : "hdr.int_level1_port_ids.ingress_port_id = (bit<16>) standard_metadata.ingress_port"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_level1_port_ids", "egress_port_id"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "egress_port"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 39,
"column" : 8,
"source_fragment" : "hdr.int_level1_port_ids.egress_port_id = (bit<16>) standard_metadata.egress_port"
}
},
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_switch_id"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 32,
"column" : 8,
"source_fragment" : "hdr.int_switch_id.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_switch_id", "switch_id"]
},
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_switch_id4"]
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 33,
"column" : 8,
"source_fragment" : "hdr.int_switch_id.switch_id = local_metadata.int_meta.switch_id; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
"right" : {
"type" : "hexstr",
"value" : "0x04"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 105,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_words + 4; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
"right" : {
"type" : "hexstr",
"value" : "0x0010"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 106,
"column" : 41,
"source_fragment" : "= local_metadata.int_meta.new_bytes + 16; ..."
}
}
]
},
{
"name" : "egress.process_int_transit.int_set_header_0407_i0",
"id" : 34,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "egress.process_int_transit.int_set_header_0407_i1",
"id" : 35,
"runtime_data" : [],
"primitives" : [
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_egress_tx_util"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 78,
"column" : 8,
"source_fragment" : "hdr.int_egress_tx_util.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_egress_tx_util", "egress_port_tx_util"]
},
{
"type" : "hexstr",
"value" : "0x00000000"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 79,
"column" : 8,
"source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
"right" : {
"type" : "hexstr",
"value" : "0x01"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 87,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_words + 1; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
"right" : {
"type" : "hexstr",
"value" : "0x0004"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 88,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_bytes + 4; ..."
}
}
]
},
{
"name" : "egress.process_int_transit.int_set_header_0407_i2",
"id" : 36,
"runtime_data" : [],
"primitives" : [
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_level2_port_ids"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 70,
"column" : 8,
"source_fragment" : "hdr.int_level2_port_ids.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_level2_port_ids", "ingress_port_id"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "ingress_port"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 72,
"column" : 8,
"source_fragment" : "hdr.int_level2_port_ids.ingress_port_id = (bit<32>) standard_metadata.ingress_port"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_level2_port_ids", "egress_port_id"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "egress_port"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 73,
"column" : 8,
"source_fragment" : "hdr.int_level2_port_ids.egress_port_id = (bit<32>) standard_metadata.egress_port"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
"right" : {
"type" : "hexstr",
"value" : "0x02"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 93,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_words + 2; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
"right" : {
"type" : "hexstr",
"value" : "0x0008"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 94,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_bytes + 8; ..."
}
}
]
},
{
"name" : "egress.process_int_transit.int_set_header_0407_i3",
"id" : 37,
"runtime_data" : [],
"primitives" : [
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_egress_tx_util"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 78,
"column" : 8,
"source_fragment" : "hdr.int_egress_tx_util.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_egress_tx_util", "egress_port_tx_util"]
},
{
"type" : "hexstr",
"value" : "0x00000000"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 79,
"column" : 8,
"source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..."
}
},
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_level2_port_ids"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 70,
"column" : 8,
"source_fragment" : "hdr.int_level2_port_ids.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_level2_port_ids", "ingress_port_id"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "ingress_port"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 72,
"column" : 8,
"source_fragment" : "hdr.int_level2_port_ids.ingress_port_id = (bit<32>) standard_metadata.ingress_port"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_level2_port_ids", "egress_port_id"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "egress_port"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 73,
"column" : 8,
"source_fragment" : "hdr.int_level2_port_ids.egress_port_id = (bit<32>) standard_metadata.egress_port"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
"right" : {
"type" : "hexstr",
"value" : "0x03"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 99,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_words + 3; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
"right" : {
"type" : "hexstr",
"value" : "0x000c"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 100,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_bytes + 12; ..."
}
}
]
},
{
"name" : "egress.process_int_transit.int_set_header_0407_i4",
"id" : 38,
"runtime_data" : [],
"primitives" : [
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_egress_tstamp"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 64,
"column" : 8,
"source_fragment" : "hdr.int_egress_tstamp.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_egress_tstamp", "egress_tstamp"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "egress_global_timestamp"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 65,
"column" : 8,
"source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
"right" : {
"type" : "hexstr",
"value" : "0x01"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 87,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_words + 1; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
"right" : {
"type" : "hexstr",
"value" : "0x0004"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 88,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_bytes + 4; ..."
}
}
]
},
{
"name" : "egress.process_int_transit.int_set_header_0407_i5",
"id" : 39,
"runtime_data" : [],
"primitives" : [
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_egress_tx_util"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 78,
"column" : 8,
"source_fragment" : "hdr.int_egress_tx_util.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_egress_tx_util", "egress_port_tx_util"]
},
{
"type" : "hexstr",
"value" : "0x00000000"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 79,
"column" : 8,
"source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..."
}
},
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_egress_tstamp"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 64,
"column" : 8,
"source_fragment" : "hdr.int_egress_tstamp.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_egress_tstamp", "egress_tstamp"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "egress_global_timestamp"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 65,
"column" : 8,
"source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
"right" : {
"type" : "hexstr",
"value" : "0x02"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 93,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_words + 2; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
"right" : {
"type" : "hexstr",
"value" : "0x0008"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 94,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_bytes + 8; ..."
}
}
]
},
{
"name" : "egress.process_int_transit.int_set_header_0407_i6",
"id" : 40,
"runtime_data" : [],
"primitives" : [
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_level2_port_ids"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 70,
"column" : 8,
"source_fragment" : "hdr.int_level2_port_ids.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_level2_port_ids", "ingress_port_id"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "ingress_port"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 72,
"column" : 8,
"source_fragment" : "hdr.int_level2_port_ids.ingress_port_id = (bit<32>) standard_metadata.ingress_port"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_level2_port_ids", "egress_port_id"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "egress_port"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 73,
"column" : 8,
"source_fragment" : "hdr.int_level2_port_ids.egress_port_id = (bit<32>) standard_metadata.egress_port"
}
},
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_egress_tstamp"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 64,
"column" : 8,
"source_fragment" : "hdr.int_egress_tstamp.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_egress_tstamp", "egress_tstamp"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "egress_global_timestamp"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 65,
"column" : 8,
"source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
"right" : {
"type" : "hexstr",
"value" : "0x03"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 99,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_words + 3; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
"right" : {
"type" : "hexstr",
"value" : "0x000c"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 100,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_bytes + 12; ..."
}
}
]
},
{
"name" : "egress.process_int_transit.int_set_header_0407_i7",
"id" : 41,
"runtime_data" : [],
"primitives" : [
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_egress_tx_util"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 78,
"column" : 8,
"source_fragment" : "hdr.int_egress_tx_util.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_egress_tx_util", "egress_port_tx_util"]
},
{
"type" : "hexstr",
"value" : "0x00000000"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 79,
"column" : 8,
"source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..."
}
},
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_level2_port_ids"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 70,
"column" : 8,
"source_fragment" : "hdr.int_level2_port_ids.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_level2_port_ids", "ingress_port_id"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "ingress_port"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 72,
"column" : 8,
"source_fragment" : "hdr.int_level2_port_ids.ingress_port_id = (bit<32>) standard_metadata.ingress_port"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_level2_port_ids", "egress_port_id"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "egress_port"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 73,
"column" : 8,
"source_fragment" : "hdr.int_level2_port_ids.egress_port_id = (bit<32>) standard_metadata.egress_port"
}
},
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_egress_tstamp"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 64,
"column" : 8,
"source_fragment" : "hdr.int_egress_tstamp.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_egress_tstamp", "egress_tstamp"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "egress_global_timestamp"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 65,
"column" : 8,
"source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
"right" : {
"type" : "hexstr",
"value" : "0x04"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 105,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_words + 4; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
"right" : {
"type" : "hexstr",
"value" : "0x0010"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 106,
"column" : 41,
"source_fragment" : "= local_metadata.int_meta.new_bytes + 16; ..."
}
}
]
},
{
"name" : "egress.process_int_transit.int_set_header_0407_i8",
"id" : 42,
"runtime_data" : [],
"primitives" : [
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_ingress_tstamp"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 58,
"column" : 8,
"source_fragment" : "hdr.int_ingress_tstamp.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_ingress_tstamp", "ingress_tstamp"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "ingress_global_timestamp"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 59,
"column" : 8,
"source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
"right" : {
"type" : "hexstr",
"value" : "0x01"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 87,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_words + 1; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
"right" : {
"type" : "hexstr",
"value" : "0x0004"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 88,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_bytes + 4; ..."
}
}
]
},
{
"name" : "egress.process_int_transit.int_set_header_0407_i9",
"id" : 43,
"runtime_data" : [],
"primitives" : [
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_egress_tx_util"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 78,
"column" : 8,
"source_fragment" : "hdr.int_egress_tx_util.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_egress_tx_util", "egress_port_tx_util"]
},
{
"type" : "hexstr",
"value" : "0x00000000"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 79,
"column" : 8,
"source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..."
}
},
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_ingress_tstamp"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 58,
"column" : 8,
"source_fragment" : "hdr.int_ingress_tstamp.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_ingress_tstamp", "ingress_tstamp"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "ingress_global_timestamp"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 59,
"column" : 8,
"source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
"right" : {
"type" : "hexstr",
"value" : "0x02"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 93,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_words + 2; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
"right" : {
"type" : "hexstr",
"value" : "0x0008"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 94,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_bytes + 8; ..."
}
}
]
},
{
"name" : "egress.process_int_transit.int_set_header_0407_i10",
"id" : 44,
"runtime_data" : [],
"primitives" : [
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_level2_port_ids"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 70,
"column" : 8,
"source_fragment" : "hdr.int_level2_port_ids.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_level2_port_ids", "ingress_port_id"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "ingress_port"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 72,
"column" : 8,
"source_fragment" : "hdr.int_level2_port_ids.ingress_port_id = (bit<32>) standard_metadata.ingress_port"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_level2_port_ids", "egress_port_id"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "egress_port"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 73,
"column" : 8,
"source_fragment" : "hdr.int_level2_port_ids.egress_port_id = (bit<32>) standard_metadata.egress_port"
}
},
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_ingress_tstamp"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 58,
"column" : 8,
"source_fragment" : "hdr.int_ingress_tstamp.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_ingress_tstamp", "ingress_tstamp"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "ingress_global_timestamp"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 59,
"column" : 8,
"source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
"right" : {
"type" : "hexstr",
"value" : "0x03"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 99,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_words + 3; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
"right" : {
"type" : "hexstr",
"value" : "0x000c"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 100,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_bytes + 12; ..."
}
}
]
},
{
"name" : "egress.process_int_transit.int_set_header_0407_i11",
"id" : 45,
"runtime_data" : [],
"primitives" : [
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_egress_tx_util"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 78,
"column" : 8,
"source_fragment" : "hdr.int_egress_tx_util.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_egress_tx_util", "egress_port_tx_util"]
},
{
"type" : "hexstr",
"value" : "0x00000000"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 79,
"column" : 8,
"source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..."
}
},
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_level2_port_ids"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 70,
"column" : 8,
"source_fragment" : "hdr.int_level2_port_ids.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_level2_port_ids", "ingress_port_id"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "ingress_port"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 72,
"column" : 8,
"source_fragment" : "hdr.int_level2_port_ids.ingress_port_id = (bit<32>) standard_metadata.ingress_port"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_level2_port_ids", "egress_port_id"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "egress_port"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 73,
"column" : 8,
"source_fragment" : "hdr.int_level2_port_ids.egress_port_id = (bit<32>) standard_metadata.egress_port"
}
},
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_ingress_tstamp"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 58,
"column" : 8,
"source_fragment" : "hdr.int_ingress_tstamp.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_ingress_tstamp", "ingress_tstamp"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "ingress_global_timestamp"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 59,
"column" : 8,
"source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
"right" : {
"type" : "hexstr",
"value" : "0x04"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 105,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_words + 4; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
"right" : {
"type" : "hexstr",
"value" : "0x0010"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 106,
"column" : 41,
"source_fragment" : "= local_metadata.int_meta.new_bytes + 16; ..."
}
}
]
},
{
"name" : "egress.process_int_transit.int_set_header_0407_i12",
"id" : 46,
"runtime_data" : [],
"primitives" : [
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_egress_tstamp"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 64,
"column" : 8,
"source_fragment" : "hdr.int_egress_tstamp.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_egress_tstamp", "egress_tstamp"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "egress_global_timestamp"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 65,
"column" : 8,
"source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..."
}
},
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_ingress_tstamp"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 58,
"column" : 8,
"source_fragment" : "hdr.int_ingress_tstamp.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_ingress_tstamp", "ingress_tstamp"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "ingress_global_timestamp"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 59,
"column" : 8,
"source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
"right" : {
"type" : "hexstr",
"value" : "0x02"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 93,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_words + 2; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
"right" : {
"type" : "hexstr",
"value" : "0x0008"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 94,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_bytes + 8; ..."
}
}
]
},
{
"name" : "egress.process_int_transit.int_set_header_0407_i13",
"id" : 47,
"runtime_data" : [],
"primitives" : [
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_egress_tx_util"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 78,
"column" : 8,
"source_fragment" : "hdr.int_egress_tx_util.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_egress_tx_util", "egress_port_tx_util"]
},
{
"type" : "hexstr",
"value" : "0x00000000"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 79,
"column" : 8,
"source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..."
}
},
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_egress_tstamp"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 64,
"column" : 8,
"source_fragment" : "hdr.int_egress_tstamp.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_egress_tstamp", "egress_tstamp"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "egress_global_timestamp"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 65,
"column" : 8,
"source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..."
}
},
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_ingress_tstamp"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 58,
"column" : 8,
"source_fragment" : "hdr.int_ingress_tstamp.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_ingress_tstamp", "ingress_tstamp"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "ingress_global_timestamp"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 59,
"column" : 8,
"source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
"right" : {
"type" : "hexstr",
"value" : "0x03"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 99,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_words + 3; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
"right" : {
"type" : "hexstr",
"value" : "0x000c"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 100,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_bytes + 12; ..."
}
}
]
},
{
"name" : "egress.process_int_transit.int_set_header_0407_i14",
"id" : 48,
"runtime_data" : [],
"primitives" : [
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_level2_port_ids"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 70,
"column" : 8,
"source_fragment" : "hdr.int_level2_port_ids.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_level2_port_ids", "ingress_port_id"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "ingress_port"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 72,
"column" : 8,
"source_fragment" : "hdr.int_level2_port_ids.ingress_port_id = (bit<32>) standard_metadata.ingress_port"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_level2_port_ids", "egress_port_id"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "egress_port"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 73,
"column" : 8,
"source_fragment" : "hdr.int_level2_port_ids.egress_port_id = (bit<32>) standard_metadata.egress_port"
}
},
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_egress_tstamp"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 64,
"column" : 8,
"source_fragment" : "hdr.int_egress_tstamp.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_egress_tstamp", "egress_tstamp"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "egress_global_timestamp"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 65,
"column" : 8,
"source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..."
}
},
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_ingress_tstamp"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 58,
"column" : 8,
"source_fragment" : "hdr.int_ingress_tstamp.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_ingress_tstamp", "ingress_tstamp"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "ingress_global_timestamp"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 59,
"column" : 8,
"source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
"right" : {
"type" : "hexstr",
"value" : "0x04"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 105,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_words + 4; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
"right" : {
"type" : "hexstr",
"value" : "0x0010"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 106,
"column" : 41,
"source_fragment" : "= local_metadata.int_meta.new_bytes + 16; ..."
}
}
]
},
{
"name" : "egress.process_int_transit.int_set_header_0407_i15",
"id" : 49,
"runtime_data" : [],
"primitives" : [
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_egress_tx_util"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 78,
"column" : 8,
"source_fragment" : "hdr.int_egress_tx_util.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_egress_tx_util", "egress_port_tx_util"]
},
{
"type" : "hexstr",
"value" : "0x00000000"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 79,
"column" : 8,
"source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..."
}
},
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_level2_port_ids"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 70,
"column" : 8,
"source_fragment" : "hdr.int_level2_port_ids.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_level2_port_ids", "ingress_port_id"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "ingress_port"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 72,
"column" : 8,
"source_fragment" : "hdr.int_level2_port_ids.ingress_port_id = (bit<32>) standard_metadata.ingress_port"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_level2_port_ids", "egress_port_id"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "egress_port"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 73,
"column" : 8,
"source_fragment" : "hdr.int_level2_port_ids.egress_port_id = (bit<32>) standard_metadata.egress_port"
}
},
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_egress_tstamp"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 64,
"column" : 8,
"source_fragment" : "hdr.int_egress_tstamp.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_egress_tstamp", "egress_tstamp"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "egress_global_timestamp"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 65,
"column" : 8,
"source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..."
}
},
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "int_ingress_tstamp"
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 58,
"column" : 8,
"source_fragment" : "hdr.int_ingress_tstamp.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_ingress_tstamp", "ingress_tstamp"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "ingress_global_timestamp"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 59,
"column" : 8,
"source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
},
"right" : {
"type" : "hexstr",
"value" : "0x05"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 111,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_words + 5; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
},
"right" : {
"type" : "hexstr",
"value" : "0x0014"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 112,
"column" : 42,
"source_fragment" : "= local_metadata.int_meta.new_bytes + 20; ..."
}
}
]
},
{
"name" : "egress.process_int_report.do_report_encapsulation",
"id" : 50,
"runtime_data" : [
{
"name" : "src_mac",
"bitwidth" : 48
},
{
"name" : "mon_mac",
"bitwidth" : 48
},
{
"name" : "src_ip",
"bitwidth" : 32
},
{
"name" : "mon_ip",
"bitwidth" : 32
},
{
"name" : "mon_port",
"bitwidth" : 16
}
],
"primitives" : [
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "report_ethernet"
}
],
"source_info" : {
"filename" : "include/int_report.p4",
"line" : 55,
"column" : 8,
"source_fragment" : "hdr.report_ethernet.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["report_ethernet", "dst_addr"]
},
{
"type" : "runtime_data",
"value" : 1
}
],
"source_info" : {
"filename" : "include/int_report.p4",
"line" : 56,
"column" : 8,
"source_fragment" : "hdr.report_ethernet.dst_addr = mon_mac"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["report_ethernet", "src_addr"]
},
{
"type" : "runtime_data",
"value" : 0
}
],
"source_info" : {
"filename" : "include/int_report.p4",
"line" : 57,
"column" : 8,
"source_fragment" : "hdr.report_ethernet.src_addr = src_mac"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["report_ethernet", "ether_type"]
},
{
"type" : "hexstr",
"value" : "0x0800"
}
],
"source_info" : {
"filename" : "include/int_report.p4",
"line" : 58,
"column" : 8,
"source_fragment" : "hdr.report_ethernet.ether_type = 0x0800"
}
},
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "report_ipv4"
}
],
"source_info" : {
"filename" : "include/int_report.p4",
"line" : 61,
"column" : 8,
"source_fragment" : "hdr.report_ipv4.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["report_ipv4", "version"]
},
{
"type" : "hexstr",
"value" : "0x04"
}
],
"source_info" : {
"filename" : "include/int_report.p4",
"line" : 62,
"column" : 8,
"source_fragment" : "hdr.report_ipv4.version = 4w4"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["report_ipv4", "ihl"]
},
{
"type" : "hexstr",
"value" : "0x05"
}
],
"source_info" : {
"filename" : "include/int_report.p4",
"line" : 63,
"column" : 8,
"source_fragment" : "hdr.report_ipv4.ihl = 4w5"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["report_ipv4", "dscp"]
},
{
"type" : "hexstr",
"value" : "0x00"
}
],
"source_info" : {
"filename" : "include/int_report.p4",
"line" : 64,
"column" : 8,
"source_fragment" : "hdr.report_ipv4.dscp = 6w0"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["report_ipv4", "ecn"]
},
{
"type" : "hexstr",
"value" : "0x00"
}
],
"source_info" : {
"filename" : "include/int_report.p4",
"line" : 65,
"column" : 8,
"source_fragment" : "hdr.report_ipv4.ecn = 2w0"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["report_ipv4", "len"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "hexstr",
"value" : "0x0056"
},
"right" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "<<",
"left" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["intl4_shim", "len"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0x2"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_report.p4",
"line" : 67,
"column" : 8,
"source_fragment" : "hdr.report_ipv4.len = (bit<16>) IPV4_MIN_HEAD_LEN + (bit<16>) UDP_HEADER_LEN + (bit<16>) REPORT_FIXED_HEADER_LEN + ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["report_ipv4", "identification"]
},
{
"type" : "hexstr",
"value" : "0x0000"
}
],
"source_info" : {
"filename" : "include/int_report.p4",
"line" : 70,
"column" : 8,
"source_fragment" : "hdr.report_ipv4.identification = 0"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["report_ipv4", "flags"]
},
{
"type" : "hexstr",
"value" : "0x00"
}
],
"source_info" : {
"filename" : "include/int_report.p4",
"line" : 71,
"column" : 8,
"source_fragment" : "hdr.report_ipv4.flags = 0"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["report_ipv4", "frag_offset"]
},
{
"type" : "hexstr",
"value" : "0x0000"
}
],
"source_info" : {
"filename" : "include/int_report.p4",
"line" : 72,
"column" : 8,
"source_fragment" : "hdr.report_ipv4.frag_offset = 0"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["report_ipv4", "ttl"]
},
{
"type" : "hexstr",
"value" : "0x40"
}
],
"source_info" : {
"filename" : "include/int_definitions.p4",
"line" : 37,
"column" : 30,
"source_fragment" : "64; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["report_ipv4", "protocol"]
},
{
"type" : "hexstr",
"value" : "0x11"
}
],
"source_info" : {
"filename" : "include/int_report.p4",
"line" : 74,
"column" : 8,
"source_fragment" : "hdr.report_ipv4.protocol = 8w17"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["report_ipv4", "src_addr"]
},
{
"type" : "runtime_data",
"value" : 2
}
],
"source_info" : {
"filename" : "include/int_report.p4",
"line" : 75,
"column" : 8,
"source_fragment" : "hdr.report_ipv4.src_addr = src_ip"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["report_ipv4", "dst_addr"]
},
{
"type" : "runtime_data",
"value" : 3
}
],
"source_info" : {
"filename" : "include/int_report.p4",
"line" : 76,
"column" : 8,
"source_fragment" : "hdr.report_ipv4.dst_addr = mon_ip"
}
},
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "report_udp"
}
],
"source_info" : {
"filename" : "include/int_report.p4",
"line" : 79,
"column" : 8,
"source_fragment" : "hdr.report_udp.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["report_udp", "src_port"]
},
{
"type" : "hexstr",
"value" : "0x0000"
}
],
"source_info" : {
"filename" : "include/int_report.p4",
"line" : 80,
"column" : 8,
"source_fragment" : "hdr.report_udp.src_port = 0"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["report_udp", "dst_port"]
},
{
"type" : "runtime_data",
"value" : 4
}
],
"source_info" : {
"filename" : "include/int_report.p4",
"line" : 81,
"column" : 8,
"source_fragment" : "hdr.report_udp.dst_port = mon_port"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["report_udp", "length_"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "hexstr",
"value" : "0x0042"
},
"right" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "<<",
"left" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["intl4_shim", "len"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0x2"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_report.p4",
"line" : 82,
"column" : 8,
"source_fragment" : "hdr.report_udp.length_ = (bit<16>) UDP_HEADER_LEN + (bit<16>) REPORT_FIXED_HEADER_LEN + ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._compute_checksum11"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "b2d",
"left" : null,
"right" : {
"type" : "bool",
"value" : true
}
}
}
}
],
"source_info" : {
"filename" : "include/int_report.p4",
"line" : 86,
"column" : 40,
"source_fragment" : "= true; ..."
}
},
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "report_fixed_header"
}
],
"source_info" : {
"filename" : "include/int_report.p4",
"line" : 32,
"column" : 8,
"source_fragment" : "hdr.report_fixed_header.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["report_fixed_header", "ver"]
},
{
"type" : "hexstr",
"value" : "0x01"
}
],
"source_info" : {
"filename" : "include/int_report.p4",
"line" : 33,
"column" : 8,
"source_fragment" : "hdr.report_fixed_header.ver = 1"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["report_fixed_header", "len"]
},
{
"type" : "hexstr",
"value" : "0x04"
}
],
"source_info" : {
"filename" : "include/int_report.p4",
"line" : 34,
"column" : 8,
"source_fragment" : "hdr.report_fixed_header.len = 4"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["report_fixed_header", "nproto"]
},
{
"type" : "hexstr",
"value" : "0x00"
}
],
"source_info" : {
"filename" : "include/telemetry_report_headers.p4",
"line" : 21,
"column" : 31,
"source_fragment" : "0; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["report_fixed_header", "rep_md_bits"]
},
{
"type" : "hexstr",
"value" : "0x00"
}
],
"source_info" : {
"filename" : "include/int_report.p4",
"line" : 37,
"column" : 8,
"source_fragment" : "hdr.report_fixed_header.rep_md_bits = 0"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["report_fixed_header", "d"]
},
{
"type" : "hexstr",
"value" : "0x00"
}
],
"source_info" : {
"filename" : "include/int_report.p4",
"line" : 38,
"column" : 8,
"source_fragment" : "hdr.report_fixed_header.d = 0"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["report_fixed_header", "q"]
},
{
"type" : "hexstr",
"value" : "0x00"
}
],
"source_info" : {
"filename" : "include/int_report.p4",
"line" : 39,
"column" : 8,
"source_fragment" : "hdr.report_fixed_header.q = 0"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["report_fixed_header", "f"]
},
{
"type" : "hexstr",
"value" : "0x01"
}
],
"source_info" : {
"filename" : "include/int_report.p4",
"line" : 40,
"column" : 8,
"source_fragment" : "hdr.report_fixed_header.f = 1"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["report_fixed_header", "rsvd"]
},
{
"type" : "hexstr",
"value" : "0x00"
}
],
"source_info" : {
"filename" : "include/int_report.p4",
"line" : 41,
"column" : 8,
"source_fragment" : "hdr.report_fixed_header.rsvd = 0"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["report_fixed_header", "hw_id"]
},
{
"type" : "hexstr",
"value" : "0x01"
}
],
"source_info" : {
"filename" : "include/int_definitions.p4",
"line" : 36,
"column" : 21,
"source_fragment" : "1; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["report_fixed_header", "sw_id"]
},
{
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_switch_id4"]
}
],
"source_info" : {
"filename" : "include/int_report.p4",
"line" : 44,
"column" : 8,
"source_fragment" : "hdr.report_fixed_header.sw_id = local_metadata.int_meta.switch_id; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["report_fixed_header", "seq_no"]
},
{
"type" : "hexstr",
"value" : "0x00000000"
}
],
"source_info" : {
"filename" : "include/int_report.p4",
"line" : 46,
"column" : 8,
"source_fragment" : "hdr.report_fixed_header.seq_no = 0"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["report_fixed_header", "ingress_tstamp"]
},
{
"type" : "field",
"value" : ["standard_metadata", "enq_timestamp"]
}
],
"source_info" : {
"filename" : "include/int_report.p4",
"line" : 48,
"column" : 8,
"source_fragment" : "hdr.report_fixed_header.ingress_tstamp = (bit<32>) standard_metadata.enq_timestamp"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "tmp_1"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "hexstr",
"value" : "0x0056"
},
"right" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "<<",
"left" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["intl4_shim", "len"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0x2"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0x0000000e"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_report.p4",
"line" : 89,
"column" : 17,
"source_fragment" : "(bit<32>)hdr.report_ipv4.len + (bit<32>) ETH_HEADER_LEN"
}
},
{
"op" : "truncate",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "tmp_1"]
}
],
"source_info" : {
"filename" : "include/int_report.p4",
"line" : 89,
"column" : 8,
"source_fragment" : "truncate((bit<32>)hdr.report_ipv4.len + (bit<32>) ETH_HEADER_LEN)"
}
}
]
},
{
"name" : "egress.process_int_sink.restore_header",
"id" : 51,
"runtime_data" : [],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["ipv4", "dscp"]
},
{
"type" : "field",
"value" : ["intl4_shim", "dscp"]
}
],
"source_info" : {
"filename" : "include/int_sink.p4",
"line" : 27,
"column" : 8,
"source_fragment" : "hdr.ipv4.dscp = hdr.intl4_shim.dscp"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["ipv4", "len"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "-",
"left" : {
"type" : "field",
"value" : ["ipv4", "len"]
},
"right" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "<<",
"left" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["intl4_shim", "len"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0x2"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_sink.p4",
"line" : 30,
"column" : 8,
"source_fragment" : "hdr.ipv4.len = hdr.ipv4.len - len_bytes"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["udp", "length_"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "-",
"left" : {
"type" : "field",
"value" : ["udp", "length_"]
},
"right" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "<<",
"left" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["intl4_shim", "len"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0x2"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_sink.p4",
"line" : 31,
"column" : 8,
"source_fragment" : "hdr.udp.length_ = hdr.udp.length_ - len_bytes"
}
}
]
},
{
"name" : "egress.process_int_sink.int_sink",
"id" : 52,
"runtime_data" : [],
"primitives" : [
{
"op" : "remove_header",
"parameters" : [
{
"type" : "header",
"value" : "int_header"
}
],
"source_info" : {
"filename" : "include/int_sink.p4",
"line" : 37,
"column" : 8,
"source_fragment" : "hdr.int_header.setInvalid()"
}
},
{
"op" : "remove_header",
"parameters" : [
{
"type" : "header",
"value" : "int_data"
}
],
"source_info" : {
"filename" : "include/int_sink.p4",
"line" : 38,
"column" : 8,
"source_fragment" : "hdr.int_data.setInvalid()"
}
},
{
"op" : "remove_header",
"parameters" : [
{
"type" : "header",
"value" : "intl4_shim"
}
],
"source_info" : {
"filename" : "include/int_sink.p4",
"line" : 39,
"column" : 8,
"source_fragment" : "hdr.intl4_shim.setInvalid()"
}
},
{
"op" : "remove_header",
"parameters" : [
{
"type" : "header",
"value" : "int_switch_id"
}
],
"source_info" : {
"filename" : "include/int_sink.p4",
"line" : 40,
"column" : 8,
"source_fragment" : "hdr.int_switch_id.setInvalid()"
}
},
{
"op" : "remove_header",
"parameters" : [
{
"type" : "header",
"value" : "int_level1_port_ids"
}
],
"source_info" : {
"filename" : "include/int_sink.p4",
"line" : 41,
"column" : 8,
"source_fragment" : "hdr.int_level1_port_ids.setInvalid()"
}
},
{
"op" : "remove_header",
"parameters" : [
{
"type" : "header",
"value" : "int_hop_latency"
}
],
"source_info" : {
"filename" : "include/int_sink.p4",
"line" : 42,
"column" : 8,
"source_fragment" : "hdr.int_hop_latency.setInvalid()"
}
},
{
"op" : "remove_header",
"parameters" : [
{
"type" : "header",
"value" : "int_q_occupancy"
}
],
"source_info" : {
"filename" : "include/int_sink.p4",
"line" : 43,
"column" : 8,
"source_fragment" : "hdr.int_q_occupancy.setInvalid()"
}
},
{
"op" : "remove_header",
"parameters" : [
{
"type" : "header",
"value" : "int_ingress_tstamp"
}
],
"source_info" : {
"filename" : "include/int_sink.p4",
"line" : 44,
"column" : 8,
"source_fragment" : "hdr.int_ingress_tstamp.setInvalid()"
}
},
{
"op" : "remove_header",
"parameters" : [
{
"type" : "header",
"value" : "int_egress_tstamp"
}
],
"source_info" : {
"filename" : "include/int_sink.p4",
"line" : 45,
"column" : 8,
"source_fragment" : "hdr.int_egress_tstamp.setInvalid()"
}
},
{
"op" : "remove_header",
"parameters" : [
{
"type" : "header",
"value" : "int_level2_port_ids"
}
],
"source_info" : {
"filename" : "include/int_sink.p4",
"line" : 46,
"column" : 8,
"source_fragment" : "hdr.int_level2_port_ids.setInvalid()"
}
},
{
"op" : "remove_header",
"parameters" : [
{
"type" : "header",
"value" : "int_egress_tx_util"
}
],
"source_info" : {
"filename" : "include/int_sink.p4",
"line" : 47,
"column" : 8,
"source_fragment" : "hdr.int_egress_tx_util.setInvalid()"
}
}
]
},
{
"name" : "act_2",
"id" : 53,
"runtime_data" : [],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "process_int_transit_hasReturned"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "b2d",
"left" : null,
"right" : {
"type" : "bool",
"value" : false
}
}
}
}
]
}
]
},
{
"name" : "act_3",
"id" : 54,
"runtime_data" : [],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "process_int_transit_hasReturned"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "b2d",
"left" : null,
"right" : {
"type" : "bool",
"value" : true
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 416,
"column" : 12,
"source_fragment" : "return"
}
}
]
},
{
"name" : "act_4",
"id" : 55,
"runtime_data" : [],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["ipv4", "len"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["ipv4", "len"]
},
"right" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 426,
"column" : 12,
"source_fragment" : "hdr.ipv4.len = hdr.ipv4.len + local_metadata.int_meta.new_bytes"
}
}
]
},
{
"name" : "act_5",
"id" : 56,
"runtime_data" : [],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["int_header", "remaining_hop_cnt"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["int_header", "remaining_hop_cnt"]
},
"right" : {
"type" : "hexstr",
"value" : "0xff"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 422,
"column" : 8,
"source_fragment" : "hdr.int_header.remaining_hop_cnt = hdr.int_header.remaining_hop_cnt - 1"
}
}
]
},
{
"name" : "act_6",
"id" : 57,
"runtime_data" : [],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["udp", "length_"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["udp", "length_"]
},
"right" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 429,
"column" : 12,
"source_fragment" : "hdr.udp.length_ = hdr.udp.length_ + local_metadata.int_meta.new_bytes"
}
}
]
},
{
"name" : "act_7",
"id" : 58,
"runtime_data" : [],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["intl4_shim", "len"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["intl4_shim", "len"]
},
"right" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xff"
}
}
}
}
],
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 432,
"column" : 12,
"source_fragment" : "hdr.intl4_shim.len = hdr.intl4_shim.len + local_metadata.int_meta.new_words"
}
}
]
},
{
"name" : "act_8",
"id" : 59,
"runtime_data" : [],
"primitives" : [
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "packet_in"
}
],
"source_info" : {
"filename" : "include/packet_io.p4",
"line" : 38,
"column" : 12,
"source_fragment" : "hdr.packet_in.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["packet_in", "ingress_port"]
},
{
"type" : "field",
"value" : ["standard_metadata", "ingress_port"]
}
],
"source_info" : {
"filename" : "include/packet_io.p4",
"line" : 39,
"column" : 12,
"source_fragment" : "hdr.packet_in.ingress_port = standard_metadata.ingress_port"
}
}
]
},
{
"name" : "act_9",
"id" : 60,
"runtime_data" : [],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "tmp_2"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "egress_port"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/port_counters.p4",
"line" : 39,
"column" : 34,
"source_fragment" : "(bit<32>) standard_metadata.egress_port"
}
},
{
"op" : "count",
"parameters" : [
{
"type" : "counter_array",
"value" : "egress.port_counters_egress.egress_port_counter"
},
{
"type" : "field",
"value" : ["scalars", "tmp_2"]
}
],
"source_info" : {
"filename" : "include/port_counters.p4",
"line" : 39,
"column" : 8,
"source_fragment" : "egress_port_counter.count((bit<32>) standard_metadata.egress_port)"
}
}
]
}
],
"pipelines" : [
{
"name" : "ingress",
"id" : 0,
"source_info" : {
"filename" : "int.p4",
"line" : 37,
"column" : 8,
"source_fragment" : "ingress"
},
"init_table" : "tbl_act",
"tables" : [
{
"name" : "tbl_act",
"id" : 0,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [11],
"actions" : ["act_0"],
"base_default_next" : "node_3",
"next_tables" : {
"act_0" : "node_3"
},
"default_entry" : {
"action_id" : 11,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "tbl_act_0",
"id" : 1,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [10],
"actions" : ["act"],
"base_default_next" : null,
"next_tables" : {
"act" : null
},
"default_entry" : {
"action_id" : 10,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "ingress.table0_control.table0",
"id" : 2,
"source_info" : {
"filename" : "include/table0.p4",
"line" : 41,
"column" : 10,
"source_fragment" : "table0"
},
"key" : [
{
"match_type" : "ternary",
"name" : "standard_metadata.ingress_port",
"target" : ["standard_metadata", "ingress_port"],
"mask" : null
},
{
"match_type" : "ternary",
"name" : "hdr.ethernet.src_addr",
"target" : ["ethernet", "src_addr"],
"mask" : null
},
{
"match_type" : "ternary",
"name" : "hdr.ethernet.dst_addr",
"target" : ["ethernet", "dst_addr"],
"mask" : null
},
{
"match_type" : "ternary",
"name" : "hdr.ethernet.ether_type",
"target" : ["ethernet", "ether_type"],
"mask" : null
},
{
"match_type" : "ternary",
"name" : "hdr.ipv4.src_addr",
"target" : ["ipv4", "src_addr"],
"mask" : null
},
{
"match_type" : "ternary",
"name" : "hdr.ipv4.dst_addr",
"target" : ["ipv4", "dst_addr"],
"mask" : null
},
{
"match_type" : "ternary",
"name" : "hdr.ipv4.protocol",
"target" : ["ipv4", "protocol"],
"mask" : null
},
{
"match_type" : "ternary",
"name" : "local_metadata.l4_src_port",
"target" : ["scalars", "local_metadata_t._l4_src_port0"],
"mask" : null
},
{
"match_type" : "ternary",
"name" : "local_metadata.l4_dst_port",
"target" : ["scalars", "local_metadata_t._l4_dst_port1"],
"mask" : null
}
],
"match_type" : "ternary",
"type" : "simple",
"max_size" : 1024,
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [6, 5, 4, 0],
"actions" : ["ingress.table0_control.set_egress_port", "ingress.table0_control.send_to_cpu", "ingress.table0_control.set_next_hop_id", "_drop"],
"base_default_next" : "ingress.process_int_source_sink.tb_set_source",
"next_tables" : {
"ingress.table0_control.set_egress_port" : "ingress.process_int_source_sink.tb_set_source",
"ingress.table0_control.send_to_cpu" : "ingress.process_int_source_sink.tb_set_source",
"ingress.table0_control.set_next_hop_id" : "ingress.process_int_source_sink.tb_set_source",
"_drop" : "ingress.process_int_source_sink.tb_set_source"
},
"default_entry" : {
"action_id" : 0,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "ingress.process_int_source_sink.tb_set_source",
"id" : 3,
"source_info" : {
"filename" : "include/int_source.p4",
"line" : 101,
"column" : 10,
"source_fragment" : "tb_set_source"
},
"key" : [
{
"match_type" : "exact",
"name" : "standard_metadata.ingress_port",
"target" : ["standard_metadata", "ingress_port"],
"mask" : null
}
],
"match_type" : "exact",
"type" : "simple",
"max_size" : 511,
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [7, 1],
"actions" : ["ingress.process_int_source_sink.int_set_source", "nop"],
"base_default_next" : "ingress.process_int_source_sink.tb_set_sink",
"next_tables" : {
"ingress.process_int_source_sink.int_set_source" : "ingress.process_int_source_sink.tb_set_sink",
"nop" : "ingress.process_int_source_sink.tb_set_sink"
},
"default_entry" : {
"action_id" : 1,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "ingress.process_int_source_sink.tb_set_sink",
"id" : 4,
"source_info" : {
"filename" : "include/int_source.p4",
"line" : 113,
"column" : 10,
"source_fragment" : "tb_set_sink"
},
"key" : [
{
"match_type" : "exact",
"name" : "standard_metadata.egress_spec",
"target" : ["standard_metadata", "egress_spec"],
"mask" : null
}
],
"match_type" : "exact",
"type" : "simple",
"max_size" : 511,
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [8, 2],
"actions" : ["ingress.process_int_source_sink.int_set_sink", "nop"],
"base_default_next" : "node_8",
"next_tables" : {
"ingress.process_int_source_sink.int_set_sink" : "node_8",
"nop" : "node_8"
},
"default_entry" : {
"action_id" : 2,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "ingress.process_int_source.tb_int_source",
"id" : 5,
"source_info" : {
"filename" : "include/int_source.p4",
"line" : 63,
"column" : 10,
"source_fragment" : "tb_int_source"
},
"key" : [
{
"match_type" : "ternary",
"name" : "hdr.ipv4.src_addr",
"target" : ["ipv4", "src_addr"],
"mask" : null
},
{
"match_type" : "ternary",
"name" : "hdr.ipv4.dst_addr",
"target" : ["ipv4", "dst_addr"],
"mask" : null
},
{
"match_type" : "ternary",
"name" : "local_metadata.l4_src_port",
"target" : ["scalars", "local_metadata_t._l4_src_port0"],
"mask" : null
},
{
"match_type" : "ternary",
"name" : "local_metadata.l4_dst_port",
"target" : ["scalars", "local_metadata_t._l4_dst_port1"],
"mask" : null
}
],
"match_type" : "ternary",
"type" : "simple",
"max_size" : 1024,
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [9, 3],
"actions" : ["ingress.process_int_source.int_source_dscp", "nop"],
"base_default_next" : "node_10",
"next_tables" : {
"ingress.process_int_source.int_source_dscp" : "node_10",
"nop" : "node_10"
},
"default_entry" : {
"action_id" : 3,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "tbl_act_1",
"id" : 6,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [12],
"actions" : ["act_1"],
"base_default_next" : null,
"next_tables" : {
"act_1" : null
},
"default_entry" : {
"action_id" : 12,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
}
],
"action_profiles" : [],
"conditionals" : [
{
"name" : "node_3",
"id" : 0,
"source_info" : {
"filename" : "include/packet_io.p4",
"line" : 26,
"column" : 12,
"source_fragment" : "standard_metadata.ingress_port == CPU_PORT"
},
"expression" : {
"type" : "expression",
"value" : {
"op" : "==",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "ingress_port"]
},
"right" : {
"type" : "hexstr",
"value" : "0x00ff"
}
}
},
"true_next" : "tbl_act_0",
"false_next" : "ingress.table0_control.table0"
},
{
"name" : "node_8",
"id" : 1,
"source_info" : {
"filename" : "int.p4",
"line" : 48,
"column" : 12,
"source_fragment" : "local_metadata.int_meta.source == true"
},
"expression" : {
"type" : "expression",
"value" : {
"op" : "==",
"left" : {
"type" : "expression",
"value" : {
"op" : "d2b",
"left" : null,
"right" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_source7"]
}
}
},
"right" : {
"type" : "bool",
"value" : true
}
}
},
"true_next" : "ingress.process_int_source.tb_int_source",
"false_next" : "node_10"
},
{
"name" : "node_10",
"id" : 2,
"source_info" : {
"filename" : "int.p4",
"line" : 52,
"column" : 12,
"source_fragment" : "local_metadata.int_meta.sink == true && hdr.int_header.isValid()"
},
"expression" : {
"type" : "expression",
"value" : {
"op" : "and",
"left" : {
"type" : "expression",
"value" : {
"op" : "==",
"left" : {
"type" : "expression",
"value" : {
"op" : "d2b",
"left" : null,
"right" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_sink8"]
}
}
},
"right" : {
"type" : "bool",
"value" : true
}
}
},
"right" : {
"type" : "expression",
"value" : {
"op" : "d2b",
"left" : null,
"right" : {
"type" : "field",
"value" : ["int_header", "$valid$"]
}
}
}
}
},
"false_next" : null,
"true_next" : "tbl_act_1"
}
]
},
{
"name" : "egress",
"id" : 1,
"source_info" : {
"filename" : "int.p4",
"line" : 62,
"column" : 8,
"source_fragment" : "egress"
},
"init_table" : "node_14",
"tables" : [
{
"name" : "tbl_act_2",
"id" : 7,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [53],
"actions" : ["act_2"],
"base_default_next" : "egress.process_int_transit.tb_int_insert",
"next_tables" : {
"act_2" : "egress.process_int_transit.tb_int_insert"
},
"default_entry" : {
"action_id" : 53,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "egress.process_int_transit.tb_int_insert",
"id" : 8,
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 311,
"column" : 10,
"source_fragment" : "tb_int_insert"
},
"key" : [
{
"match_type" : "exact",
"name" : "int_is_valid",
"target" : ["int_header", "$valid$"],
"mask" : null
}
],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [17, 13],
"actions" : ["egress.process_int_transit.init_metadata", "nop"],
"base_default_next" : "node_17",
"next_tables" : {
"egress.process_int_transit.init_metadata" : "node_17",
"nop" : "node_17"
},
"default_entry" : {
"action_id" : 13,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "tbl_act_3",
"id" : 9,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [54],
"actions" : ["act_3"],
"base_default_next" : "node_19",
"next_tables" : {
"act_3" : "node_19"
},
"default_entry" : {
"action_id" : 54,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "egress.process_int_transit.tb_int_inst_0003",
"id" : 10,
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 327,
"column" : 10,
"source_fragment" : "tb_int_inst_0003"
},
"key" : [
{
"match_type" : "exact",
"name" : "hdr.int_header.instruction_mask_0003",
"target" : ["int_header", "instruction_mask_0003"],
"mask" : null
}
],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 15],
"actions" : ["egress.process_int_transit.int_set_header_0003_i0", "egress.process_int_transit.int_set_header_0003_i1", "egress.process_int_transit.int_set_header_0003_i2", "egress.process_int_transit.int_set_header_0003_i3", "egress.process_int_transit.int_set_header_0003_i4", "egress.process_int_transit.int_set_header_0003_i5", "egress.process_int_transit.int_set_header_0003_i6", "egress.process_int_transit.int_set_header_0003_i7", "egress.process_int_transit.int_set_header_0003_i8", "egress.process_int_transit.int_set_header_0003_i9", "egress.process_int_transit.int_set_header_0003_i10", "egress.process_int_transit.int_set_header_0003_i11", "egress.process_int_transit.int_set_header_0003_i12", "egress.process_int_transit.int_set_header_0003_i13", "egress.process_int_transit.int_set_header_0003_i14", "egress.process_int_transit.int_set_header_0003_i15", "NoAction"],
"base_default_next" : "egress.process_int_transit.tb_int_inst_0407",
"next_tables" : {
"egress.process_int_transit.int_set_header_0003_i0" : "egress.process_int_transit.tb_int_inst_0407",
"egress.process_int_transit.int_set_header_0003_i1" : "egress.process_int_transit.tb_int_inst_0407",
"egress.process_int_transit.int_set_header_0003_i2" : "egress.process_int_transit.tb_int_inst_0407",
"egress.process_int_transit.int_set_header_0003_i3" : "egress.process_int_transit.tb_int_inst_0407",
"egress.process_int_transit.int_set_header_0003_i4" : "egress.process_int_transit.tb_int_inst_0407",
"egress.process_int_transit.int_set_header_0003_i5" : "egress.process_int_transit.tb_int_inst_0407",
"egress.process_int_transit.int_set_header_0003_i6" : "egress.process_int_transit.tb_int_inst_0407",
"egress.process_int_transit.int_set_header_0003_i7" : "egress.process_int_transit.tb_int_inst_0407",
"egress.process_int_transit.int_set_header_0003_i8" : "egress.process_int_transit.tb_int_inst_0407",
"egress.process_int_transit.int_set_header_0003_i9" : "egress.process_int_transit.tb_int_inst_0407",
"egress.process_int_transit.int_set_header_0003_i10" : "egress.process_int_transit.tb_int_inst_0407",
"egress.process_int_transit.int_set_header_0003_i11" : "egress.process_int_transit.tb_int_inst_0407",
"egress.process_int_transit.int_set_header_0003_i12" : "egress.process_int_transit.tb_int_inst_0407",
"egress.process_int_transit.int_set_header_0003_i13" : "egress.process_int_transit.tb_int_inst_0407",
"egress.process_int_transit.int_set_header_0003_i14" : "egress.process_int_transit.tb_int_inst_0407",
"egress.process_int_transit.int_set_header_0003_i15" : "egress.process_int_transit.tb_int_inst_0407",
"NoAction" : "egress.process_int_transit.tb_int_inst_0407"
},
"default_entry" : {
"action_id" : 15,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
},
"entries" : [
{
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 350,
"column" : 12,
"source_fragment" : "(0x0) : int_set_header_0003_i0()"
},
"match_key" : [
{
"match_type" : "exact",
"key" : "0x00"
}
],
"action_entry" : {
"action_id" : 18,
"action_data" : []
},
"priority" : 1
},
{
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 351,
"column" : 12,
"source_fragment" : "(0x1) : int_set_header_0003_i1()"
},
"match_key" : [
{
"match_type" : "exact",
"key" : "0x01"
}
],
"action_entry" : {
"action_id" : 19,
"action_data" : []
},
"priority" : 2
},
{
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 352,
"column" : 12,
"source_fragment" : "(0x2) : int_set_header_0003_i2()"
},
"match_key" : [
{
"match_type" : "exact",
"key" : "0x02"
}
],
"action_entry" : {
"action_id" : 20,
"action_data" : []
},
"priority" : 3
},
{
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 353,
"column" : 12,
"source_fragment" : "(0x3) : int_set_header_0003_i3()"
},
"match_key" : [
{
"match_type" : "exact",
"key" : "0x03"
}
],
"action_entry" : {
"action_id" : 21,
"action_data" : []
},
"priority" : 4
},
{
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 354,
"column" : 12,
"source_fragment" : "(0x4) : int_set_header_0003_i4()"
},
"match_key" : [
{
"match_type" : "exact",
"key" : "0x04"
}
],
"action_entry" : {
"action_id" : 22,
"action_data" : []
},
"priority" : 5
},
{
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 355,
"column" : 12,
"source_fragment" : "(0x5) : int_set_header_0003_i5()"
},
"match_key" : [
{
"match_type" : "exact",
"key" : "0x05"
}
],
"action_entry" : {
"action_id" : 23,
"action_data" : []
},
"priority" : 6
},
{
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 356,
"column" : 12,
"source_fragment" : "(0x6) : int_set_header_0003_i6()"
},
"match_key" : [
{
"match_type" : "exact",
"key" : "0x06"
}
],
"action_entry" : {
"action_id" : 24,
"action_data" : []
},
"priority" : 7
},
{
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 357,
"column" : 12,
"source_fragment" : "(0x7) : int_set_header_0003_i7()"
},
"match_key" : [
{
"match_type" : "exact",
"key" : "0x07"
}
],
"action_entry" : {
"action_id" : 25,
"action_data" : []
},
"priority" : 8
},
{
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 358,
"column" : 12,
"source_fragment" : "(0x8) : int_set_header_0003_i8()"
},
"match_key" : [
{
"match_type" : "exact",
"key" : "0x08"
}
],
"action_entry" : {
"action_id" : 26,
"action_data" : []
},
"priority" : 9
},
{
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 359,
"column" : 12,
"source_fragment" : "(0x9) : int_set_header_0003_i9()"
},
"match_key" : [
{
"match_type" : "exact",
"key" : "0x09"
}
],
"action_entry" : {
"action_id" : 27,
"action_data" : []
},
"priority" : 10
},
{
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 360,
"column" : 12,
"source_fragment" : "(0xA) : int_set_header_0003_i10()"
},
"match_key" : [
{
"match_type" : "exact",
"key" : "0x0a"
}
],
"action_entry" : {
"action_id" : 28,
"action_data" : []
},
"priority" : 11
},
{
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 361,
"column" : 12,
"source_fragment" : "(0xB) : int_set_header_0003_i11()"
},
"match_key" : [
{
"match_type" : "exact",
"key" : "0x0b"
}
],
"action_entry" : {
"action_id" : 29,
"action_data" : []
},
"priority" : 12
},
{
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 362,
"column" : 12,
"source_fragment" : "(0xC) : int_set_header_0003_i12()"
},
"match_key" : [
{
"match_type" : "exact",
"key" : "0x0c"
}
],
"action_entry" : {
"action_id" : 30,
"action_data" : []
},
"priority" : 13
},
{
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 363,
"column" : 12,
"source_fragment" : "(0xD) : int_set_header_0003_i13()"
},
"match_key" : [
{
"match_type" : "exact",
"key" : "0x0d"
}
],
"action_entry" : {
"action_id" : 31,
"action_data" : []
},
"priority" : 14
},
{
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 364,
"column" : 12,
"source_fragment" : "(0xE) : int_set_header_0003_i14()"
},
"match_key" : [
{
"match_type" : "exact",
"key" : "0x0e"
}
],
"action_entry" : {
"action_id" : 32,
"action_data" : []
},
"priority" : 15
},
{
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 365,
"column" : 12,
"source_fragment" : "(0xF) : int_set_header_0003_i15()"
},
"match_key" : [
{
"match_type" : "exact",
"key" : "0x0f"
}
],
"action_entry" : {
"action_id" : 33,
"action_data" : []
},
"priority" : 16
}
]
},
{
"name" : "egress.process_int_transit.tb_int_inst_0407",
"id" : 11,
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 371,
"column" : 10,
"source_fragment" : "tb_int_inst_0407"
},
"key" : [
{
"match_type" : "exact",
"name" : "hdr.int_header.instruction_mask_0407",
"target" : ["int_header", "instruction_mask_0407"],
"mask" : null
}
],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 16],
"actions" : ["egress.process_int_transit.int_set_header_0407_i0", "egress.process_int_transit.int_set_header_0407_i1", "egress.process_int_transit.int_set_header_0407_i2", "egress.process_int_transit.int_set_header_0407_i3", "egress.process_int_transit.int_set_header_0407_i4", "egress.process_int_transit.int_set_header_0407_i5", "egress.process_int_transit.int_set_header_0407_i6", "egress.process_int_transit.int_set_header_0407_i7", "egress.process_int_transit.int_set_header_0407_i8", "egress.process_int_transit.int_set_header_0407_i9", "egress.process_int_transit.int_set_header_0407_i10", "egress.process_int_transit.int_set_header_0407_i11", "egress.process_int_transit.int_set_header_0407_i12", "egress.process_int_transit.int_set_header_0407_i13", "egress.process_int_transit.int_set_header_0407_i14", "egress.process_int_transit.int_set_header_0407_i15", "NoAction"],
"base_default_next" : "tbl_act_4",
"next_tables" : {
"egress.process_int_transit.int_set_header_0407_i0" : "tbl_act_4",
"egress.process_int_transit.int_set_header_0407_i1" : "tbl_act_4",
"egress.process_int_transit.int_set_header_0407_i2" : "tbl_act_4",
"egress.process_int_transit.int_set_header_0407_i3" : "tbl_act_4",
"egress.process_int_transit.int_set_header_0407_i4" : "tbl_act_4",
"egress.process_int_transit.int_set_header_0407_i5" : "tbl_act_4",
"egress.process_int_transit.int_set_header_0407_i6" : "tbl_act_4",
"egress.process_int_transit.int_set_header_0407_i7" : "tbl_act_4",
"egress.process_int_transit.int_set_header_0407_i8" : "tbl_act_4",
"egress.process_int_transit.int_set_header_0407_i9" : "tbl_act_4",
"egress.process_int_transit.int_set_header_0407_i10" : "tbl_act_4",
"egress.process_int_transit.int_set_header_0407_i11" : "tbl_act_4",
"egress.process_int_transit.int_set_header_0407_i12" : "tbl_act_4",
"egress.process_int_transit.int_set_header_0407_i13" : "tbl_act_4",
"egress.process_int_transit.int_set_header_0407_i14" : "tbl_act_4",
"egress.process_int_transit.int_set_header_0407_i15" : "tbl_act_4",
"NoAction" : "tbl_act_4"
},
"default_entry" : {
"action_id" : 16,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
},
"entries" : [
{
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 394,
"column" : 12,
"source_fragment" : "(0x0) : int_set_header_0407_i0()"
},
"match_key" : [
{
"match_type" : "exact",
"key" : "0x00"
}
],
"action_entry" : {
"action_id" : 34,
"action_data" : []
},
"priority" : 1
},
{
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 395,
"column" : 12,
"source_fragment" : "(0x1) : int_set_header_0407_i1()"
},
"match_key" : [
{
"match_type" : "exact",
"key" : "0x01"
}
],
"action_entry" : {
"action_id" : 35,
"action_data" : []
},
"priority" : 2
},
{
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 396,
"column" : 12,
"source_fragment" : "(0x2) : int_set_header_0407_i2()"
},
"match_key" : [
{
"match_type" : "exact",
"key" : "0x02"
}
],
"action_entry" : {
"action_id" : 36,
"action_data" : []
},
"priority" : 3
},
{
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 397,
"column" : 12,
"source_fragment" : "(0x3) : int_set_header_0407_i3()"
},
"match_key" : [
{
"match_type" : "exact",
"key" : "0x03"
}
],
"action_entry" : {
"action_id" : 37,
"action_data" : []
},
"priority" : 4
},
{
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 398,
"column" : 12,
"source_fragment" : "(0x4) : int_set_header_0407_i4()"
},
"match_key" : [
{
"match_type" : "exact",
"key" : "0x04"
}
],
"action_entry" : {
"action_id" : 38,
"action_data" : []
},
"priority" : 5
},
{
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 399,
"column" : 12,
"source_fragment" : "(0x5) : int_set_header_0407_i5()"
},
"match_key" : [
{
"match_type" : "exact",
"key" : "0x05"
}
],
"action_entry" : {
"action_id" : 39,
"action_data" : []
},
"priority" : 6
},
{
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 400,
"column" : 12,
"source_fragment" : "(0x6) : int_set_header_0407_i6()"
},
"match_key" : [
{
"match_type" : "exact",
"key" : "0x06"
}
],
"action_entry" : {
"action_id" : 40,
"action_data" : []
},
"priority" : 7
},
{
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 401,
"column" : 12,
"source_fragment" : "(0x7) : int_set_header_0407_i7()"
},
"match_key" : [
{
"match_type" : "exact",
"key" : "0x07"
}
],
"action_entry" : {
"action_id" : 41,
"action_data" : []
},
"priority" : 8
},
{
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 402,
"column" : 12,
"source_fragment" : "(0x8) : int_set_header_0407_i8()"
},
"match_key" : [
{
"match_type" : "exact",
"key" : "0x08"
}
],
"action_entry" : {
"action_id" : 42,
"action_data" : []
},
"priority" : 9
},
{
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 403,
"column" : 12,
"source_fragment" : "(0x9) : int_set_header_0407_i9()"
},
"match_key" : [
{
"match_type" : "exact",
"key" : "0x09"
}
],
"action_entry" : {
"action_id" : 43,
"action_data" : []
},
"priority" : 10
},
{
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 404,
"column" : 12,
"source_fragment" : "(0xA) : int_set_header_0407_i10()"
},
"match_key" : [
{
"match_type" : "exact",
"key" : "0x0a"
}
],
"action_entry" : {
"action_id" : 44,
"action_data" : []
},
"priority" : 11
},
{
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 405,
"column" : 12,
"source_fragment" : "(0xB) : int_set_header_0407_i11()"
},
"match_key" : [
{
"match_type" : "exact",
"key" : "0x0b"
}
],
"action_entry" : {
"action_id" : 45,
"action_data" : []
},
"priority" : 12
},
{
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 406,
"column" : 12,
"source_fragment" : "(0xC) : int_set_header_0407_i12()"
},
"match_key" : [
{
"match_type" : "exact",
"key" : "0x0c"
}
],
"action_entry" : {
"action_id" : 46,
"action_data" : []
},
"priority" : 13
},
{
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 407,
"column" : 12,
"source_fragment" : "(0xD) : int_set_header_0407_i13()"
},
"match_key" : [
{
"match_type" : "exact",
"key" : "0x0d"
}
],
"action_entry" : {
"action_id" : 47,
"action_data" : []
},
"priority" : 14
},
{
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 408,
"column" : 12,
"source_fragment" : "(0xE) : int_set_header_0407_i14()"
},
"match_key" : [
{
"match_type" : "exact",
"key" : "0x0e"
}
],
"action_entry" : {
"action_id" : 48,
"action_data" : []
},
"priority" : 15
},
{
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 409,
"column" : 12,
"source_fragment" : "(0xF) : int_set_header_0407_i15()"
},
"match_key" : [
{
"match_type" : "exact",
"key" : "0x0f"
}
],
"action_entry" : {
"action_id" : 49,
"action_data" : []
},
"priority" : 16
}
]
},
{
"name" : "tbl_act_4",
"id" : 12,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [56],
"actions" : ["act_5"],
"base_default_next" : "node_23",
"next_tables" : {
"act_5" : "node_23"
},
"default_entry" : {
"action_id" : 56,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "tbl_act_5",
"id" : 13,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [55],
"actions" : ["act_4"],
"base_default_next" : "node_25",
"next_tables" : {
"act_4" : "node_25"
},
"default_entry" : {
"action_id" : 55,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "tbl_act_6",
"id" : 14,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [57],
"actions" : ["act_6"],
"base_default_next" : "node_27",
"next_tables" : {
"act_6" : "node_27"
},
"default_entry" : {
"action_id" : 57,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "tbl_act_7",
"id" : 15,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [58],
"actions" : ["act_7"],
"base_default_next" : "node_29",
"next_tables" : {
"act_7" : "node_29"
},
"default_entry" : {
"action_id" : 58,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "egress.process_int_report.tb_generate_report",
"id" : 16,
"source_info" : {
"filename" : "include/int_report.p4",
"line" : 93,
"column" : 10,
"source_fragment" : "tb_generate_report"
},
"key" : [
{
"match_type" : "exact",
"name" : "int_is_valid",
"target" : ["int_header", "$valid$"],
"mask" : null
}
],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [50, 14],
"actions" : ["egress.process_int_report.do_report_encapsulation", "nop"],
"base_default_next" : "node_31",
"next_tables" : {
"egress.process_int_report.do_report_encapsulation" : "node_31",
"nop" : "node_31"
},
"default_entry" : {
"action_id" : 14,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
}
},
{
"name" : "tbl_process_int_sink_restore_header",
"id" : 17,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [51],
"actions" : ["egress.process_int_sink.restore_header"],
"base_default_next" : "tbl_process_int_sink_int_sink",
"next_tables" : {
"egress.process_int_sink.restore_header" : "tbl_process_int_sink_int_sink"
},
"default_entry" : {
"action_id" : 51,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "tbl_process_int_sink_int_sink",
"id" : 18,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [52],
"actions" : ["egress.process_int_sink.int_sink"],
"base_default_next" : "tbl_act_8",
"next_tables" : {
"egress.process_int_sink.int_sink" : "tbl_act_8"
},
"default_entry" : {
"action_id" : 52,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "tbl_act_8",
"id" : 19,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [60],
"actions" : ["act_9"],
"base_default_next" : "node_35",
"next_tables" : {
"act_9" : "node_35"
},
"default_entry" : {
"action_id" : 60,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "tbl_act_9",
"id" : 20,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [59],
"actions" : ["act_8"],
"base_default_next" : null,
"next_tables" : {
"act_8" : null
},
"default_entry" : {
"action_id" : 59,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
}
],
"action_profiles" : [],
"conditionals" : [
{
"name" : "node_14",
"id" : 3,
"source_info" : {
"filename" : "int.p4",
"line" : 68,
"column" : 11,
"source_fragment" : "hdr.int_header.isValid()"
},
"expression" : {
"type" : "expression",
"value" : {
"op" : "d2b",
"left" : null,
"right" : {
"type" : "field",
"value" : ["int_header", "$valid$"]
}
}
},
"true_next" : "tbl_act_2",
"false_next" : "tbl_act_8"
},
{
"name" : "node_17",
"id" : 4,
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 415,
"column" : 12,
"source_fragment" : "local_metadata.int_meta.transit == false"
},
"expression" : {
"type" : "expression",
"value" : {
"op" : "==",
"left" : {
"type" : "expression",
"value" : {
"op" : "d2b",
"left" : null,
"right" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_transit9"]
}
}
},
"right" : {
"type" : "bool",
"value" : false
}
}
},
"true_next" : "tbl_act_3",
"false_next" : "node_19"
},
{
"name" : "node_19",
"id" : 5,
"expression" : {
"type" : "expression",
"value" : {
"op" : "not",
"left" : null,
"right" : {
"type" : "expression",
"value" : {
"op" : "d2b",
"left" : null,
"right" : {
"type" : "field",
"value" : ["scalars", "process_int_transit_hasReturned"]
}
}
}
}
},
"true_next" : "egress.process_int_transit.tb_int_inst_0003",
"false_next" : "node_29"
},
{
"name" : "node_23",
"id" : 6,
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 425,
"column" : 12,
"source_fragment" : "hdr.ipv4.isValid()"
},
"expression" : {
"type" : "expression",
"value" : {
"op" : "d2b",
"left" : null,
"right" : {
"type" : "field",
"value" : ["ipv4", "$valid$"]
}
}
},
"true_next" : "tbl_act_5",
"false_next" : "node_25"
},
{
"name" : "node_25",
"id" : 7,
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 428,
"column" : 12,
"source_fragment" : "hdr.udp.isValid()"
},
"expression" : {
"type" : "expression",
"value" : {
"op" : "d2b",
"left" : null,
"right" : {
"type" : "field",
"value" : ["udp", "$valid$"]
}
}
},
"true_next" : "tbl_act_6",
"false_next" : "node_27"
},
{
"name" : "node_27",
"id" : 8,
"source_info" : {
"filename" : "include/int_transit.p4",
"line" : 431,
"column" : 12,
"source_fragment" : "hdr.intl4_shim.isValid()"
},
"expression" : {
"type" : "expression",
"value" : {
"op" : "d2b",
"left" : null,
"right" : {
"type" : "field",
"value" : ["intl4_shim", "$valid$"]
}
}
},
"true_next" : "tbl_act_7",
"false_next" : "node_29"
},
{
"name" : "node_29",
"id" : 9,
"source_info" : {
"filename" : "int.p4",
"line" : 72,
"column" : 17,
"source_fragment" : "standard_metadata.instance_type == BMV2_V1MODEL_INSTANCE_TYPE_INGRESS_CLONE"
},
"expression" : {
"type" : "expression",
"value" : {
"op" : "==",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "instance_type"]
},
"right" : {
"type" : "hexstr",
"value" : "0x00000001"
}
}
},
"true_next" : "egress.process_int_report.tb_generate_report",
"false_next" : "node_31"
},
{
"name" : "node_31",
"id" : 10,
"source_info" : {
"filename" : "int.p4",
"line" : 77,
"column" : 16,
"source_fragment" : "local_metadata.int_meta.sink == true && !(standard_metadata.instance_type == BMV2_V1MODEL_INSTANCE_TYPE_INGRESS_CLONE)"
},
"expression" : {
"type" : "expression",
"value" : {
"op" : "and",
"left" : {
"type" : "expression",
"value" : {
"op" : "==",
"left" : {
"type" : "expression",
"value" : {
"op" : "d2b",
"left" : null,
"right" : {
"type" : "field",
"value" : ["scalars", "local_metadata_t._int_meta_sink8"]
}
}
},
"right" : {
"type" : "bool",
"value" : true
}
}
},
"right" : {
"type" : "expression",
"value" : {
"op" : "!=",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "instance_type"]
},
"right" : {
"type" : "hexstr",
"value" : "0x00000001"
}
}
}
}
},
"true_next" : "tbl_process_int_sink_restore_header",
"false_next" : "tbl_act_8"
},
{
"name" : "node_35",
"id" : 11,
"source_info" : {
"filename" : "include/packet_io.p4",
"line" : 37,
"column" : 12,
"source_fragment" : "standard_metadata.egress_port == CPU_PORT"
},
"expression" : {
"type" : "expression",
"value" : {
"op" : "==",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "egress_port"]
},
"right" : {
"type" : "hexstr",
"value" : "0x00ff"
}
}
},
"false_next" : null,
"true_next" : "tbl_act_9"
}
]
}
],
"checksums" : [
{
"name" : "cksum",
"id" : 0,
"source_info" : {
"filename" : "include/checksums.p4",
"line" : 32,
"column" : 8,
"source_fragment" : "update_checksum(hdr.ipv4.isValid(), ..."
},
"target" : ["ipv4", "hdr_checksum"],
"type" : "generic",
"calculation" : "calc",
"verify" : false,
"update" : true,
"if_cond" : {
"type" : "expression",
"value" : {
"op" : "d2b",
"left" : null,
"right" : {
"type" : "field",
"value" : ["ipv4", "$valid$"]
}
}
}
},
{
"name" : "cksum_0",
"id" : 1,
"source_info" : {
"filename" : "include/checksums.p4",
"line" : 54,
"column" : 8,
"source_fragment" : "update_checksum(hdr.report_ipv4.isValid(), ..."
},
"target" : ["report_ipv4", "hdr_checksum"],
"type" : "generic",
"calculation" : "calc_0",
"verify" : false,
"update" : true,
"if_cond" : {
"type" : "expression",
"value" : {
"op" : "d2b",
"left" : null,
"right" : {
"type" : "field",
"value" : ["report_ipv4", "$valid$"]
}
}
}
}
],
"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.lf_field_list",
["standard_metadata", "lf_field_list"]
],
[
"intrinsic_metadata.mcast_grp",
["standard_metadata", "mcast_grp"]
],
[
"intrinsic_metadata.resubmit_flag",
["standard_metadata", "resubmit_flag"]
],
[
"intrinsic_metadata.egress_rid",
["standard_metadata", "egress_rid"]
],
[
"intrinsic_metadata.recirculate_flag",
["standard_metadata", "recirculate_flag"]
]
],
"program" : "int.p4",
"__meta__" : {
"version" : [2, 18],
"compiler" : "https://github.com/p4lang/p4c"
}
}