text: /*******************************************************************************
   *
   * DO NOT EDIT THIS FILE!
   * This file is auto-generated by fltg from
   *    INTERNAL/fltg/xgs/mon/bcm56996_a0/bcm56996_a0_MON_INBAND_TELEMETRY_DATAPLANE_PARSE.map.ltl for
   *      bcm56996_a0
   *
   * Tool: $SDK/INTERNAL/fltg/bin/fltg
   *
   * Edits to this file will be lost when it is regenerated.
   *
   * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
   * 
   * Copyright 2007-2020 Broadcom Inc. All rights reserved.
   */
  #include <bcmlrd/bcmlrd_internal.h>
  #include <bcmlrd/chip/bcmlrd_id.h>
  #include <bcmlrd/chip/bcm56996_a0/bcm56996_a0_lrd_field_data.h>
  #include <bcmlrd/chip/bcm56996_a0/bcm56996_a0_lrd_ltm_intf.h>
  #include <bcmlrd/chip/bcm56996_a0/bcm56996_a0_lrd_xfrm_field_desc.h>
  #include <bcmdrd/chip/bcm56996_a0_enum.h>
  #include "bcmltd/chip/bcmltd_common_enumpool.h"
  #include "bcm56996_a0_lrd_enumpool.h"
  #include <bcmltd/bcmltd_handler.h>
  /* MON_INBAND_TELEMETRY_DATAPLANE_PARSE field init */
  static const bcmlrd_field_data_t bcm56996_a0_lrd_mon_inband_telemetry_dataplane_parse_map_field_data_mmd[] = {
      { /* 0 VERSION */
        .flags = 0,
        .min = &bcm56996_a0_lrd_ifd_u8_0x0,
        .def = &bcm56996_a0_lrd_ifd_u8_0x0,
        .max = &bcm56996_a0_lrd_ifd_u8_0xff,
        .depth = 0,
        .width = 8,
        .edata = NULL,
      },
      { /* 1 USE_PROBE_MARKER_1 */
        .flags = 0,
        .min = &bcm56996_a0_lrd_ifd_is_true_0x0,
        .def = &bcm56996_a0_lrd_ifd_is_true_0x0,
        .max = &bcm56996_a0_lrd_ifd_is_true_0x1,
        .depth = 0,
        .width = 1,
        .edata = NULL,
      },
      { /* 2 PROBE_MARKER_1 */
        .flags = 0,
        .min = &bcm56996_a0_lrd_ifd_u32_0x0,
        .def = &bcm56996_a0_lrd_ifd_u32_0x0,
        .max = &bcm56996_a0_lrd_ifd_u32_0xffffffff,
        .depth = 0,
        .width = 32,
        .edata = NULL,
      },
      { /* 3 USE_PROBE_MARKER_2 */
        .flags = 0,
        .min = &bcm56996_a0_lrd_ifd_is_true_0x0,
        .def = &bcm56996_a0_lrd_ifd_is_true_0x0,
        .max = &bcm56996_a0_lrd_ifd_is_true_0x1,
        .depth = 0,
        .width = 1,
        .edata = NULL,
      },
      { /* 4 PROBE_MARKER_2 */
        .flags = 0,
        .min = &bcm56996_a0_lrd_ifd_u32_0x0,
        .def = &bcm56996_a0_lrd_ifd_u32_0x0,
        .max = &bcm56996_a0_lrd_ifd_u32_0xffffffff,
        .depth = 0,
        .width = 32,
        .edata = NULL,
      },
      { /* 5 USE_L4_DST_PORT */
        .flags = 0,
        .min = &bcm56996_a0_lrd_ifd_is_true_0x0,
        .def = &bcm56996_a0_lrd_ifd_is_true_0x0,
        .max = &bcm56996_a0_lrd_ifd_is_true_0x1,
        .depth = 2,
        .width = 1,
        .edata = NULL,
      },
      { /* 6 L4_DST_PORT */
        .flags = 0,
        .min = &bcm56996_a0_lrd_ifd_u16_0x0,
        .def = &bcm56996_a0_lrd_ifd_u16_0x0,
        .max = &bcm56996_a0_lrd_ifd_u16_0xffff,
        .depth = 2,
        .width = 16,
        .edata = NULL,
      },
  };
  const bcmlrd_map_field_data_t bcm56996_a0_lrd_mon_inband_telemetry_dataplane_parse_map_field_data = {
      .fields = 7,
      .field = bcm56996_a0_lrd_mon_inband_telemetry_dataplane_parse_map_field_data_mmd
  };
  
  static const bcmlrd_map_table_attr_t bcm56996_a0_lrd_mon_inband_telemetry_dataplane_parset_attr_entry[] = {
      { /* 0 */
          .key   = BCMLRD_MAP_TABLE_ATTRIBUTE_INTERACTIVE,
          .value = FALSE,
      },
  };
  
  static const bcmlrd_map_attr_t bcm56996_a0_lrd_mon_inband_telemetry_dataplane_parset_attr_group = {
      .attributes = 1,
      .attr = bcm56996_a0_lrd_mon_inband_telemetry_dataplane_parset_attr_entry,
  };
  
  
  const bcmltd_field_desc_t
  bcm56996_a0_lrd_bcmltx_array_to_multi_fields_set_src_field_desc_s5[1] = {
      {
          .field_id  = MON_INBAND_TELEMETRY_DATAPLANE_PARSEt_USE_L4_DST_PORTf,
          .field_idx = 0,
          .minbit    = 0,
          .maxbit    = 0,
          .entry_idx = 0,
          .reserved  = 0
      },
  };
  
  const bcmltd_field_desc_t
  bcm56996_a0_lrd_bcmltx_array_to_multi_fields_set_mon_inband_telemetry_dataplane_parse_dst_field_desc_d3[2] = {
      {
          .field_id  = UDP_DST_PORT1_ENf,
          .field_idx = 0,
          .minbit    = 16,
          .maxbit    = 16,
          .entry_idx = 0,
          .reserved  = 0,
      },
      {
          .field_id  = UDP_DST_PORT2_ENf,
          .field_idx = 0,
          .minbit    = 33,
          .maxbit    = 33,
          .entry_idx = 0,
          .reserved  = 0,
      },
  };
  
  const bcmltd_field_desc_t
  bcm56996_a0_lrd_bcmltx_array_to_multi_fields_set_src_field_desc_s6[1] = {
      {
          .field_id  = MON_INBAND_TELEMETRY_DATAPLANE_PARSEt_L4_DST_PORTf,
          .field_idx = 0,
          .minbit    = 0,
          .maxbit    = 15,
          .entry_idx = 0,
          .reserved  = 0
      },
  };
  
  const bcmltd_field_desc_t
  bcm56996_a0_lrd_bcmltx_array_to_multi_fields_set_mon_inband_telemetry_dataplane_parse_dst_field_desc_d4[2] = {
      {
          .field_id  = UDP_DST_PORT1f,
          .field_idx = 0,
          .minbit    = 0,
          .maxbit    = 15,
          .entry_idx = 0,
          .reserved  = 0,
      },
      {
          .field_id  = UDP_DST_PORT2f,
          .field_idx = 0,
          .minbit    = 17,
          .maxbit    = 32,
          .entry_idx = 0,
          .reserved  = 0,
      },
  };
  
  const bcmlrd_field_xfrm_desc_t
  bcm56996_a0_lta_bcmltx_array_to_multi_fields_set_xfrm_handler_fwd_s5_d3_desc = {
      .handler_id = BCMLTD_TRANSFORM_BCM56996_A0_LTA_BCMLTX_ARRAY_TO_MULTI_FIELDS_SET_XFRM_HANDLER_FWD_S5_D3_ID,
      .src_fields = 1,
      .src = bcm56996_a0_lrd_bcmltx_array_to_multi_fields_set_src_field_desc_s5,
      .dst_fields = 2,
      .dst = bcm56996_a0_lrd_bcmltx_array_to_multi_fields_set_mon_inband_telemetry_dataplane_parse_dst_field_desc_d3,
  };
  
  const bcmlrd_field_xfrm_desc_t
  bcm56996_a0_lta_bcmltx_array_to_multi_fields_set_xfrm_handler_rev_s5_d3_desc = {
      .handler_id = BCMLTD_TRANSFORM_BCM56996_A0_LTA_BCMLTX_ARRAY_TO_MULTI_FIELDS_SET_XFRM_HANDLER_REV_S5_D3_ID,
      .src_fields = 2,
      .src = bcm56996_a0_lrd_bcmltx_array_to_multi_fields_set_mon_inband_telemetry_dataplane_parse_dst_field_desc_d3,
      .dst_fields = 1,
      .dst = bcm56996_a0_lrd_bcmltx_array_to_multi_fields_set_src_field_desc_s5,
  };
  
  const bcmlrd_field_xfrm_desc_t
  bcm56996_a0_lta_bcmltx_array_to_multi_fields_set_xfrm_handler_fwd_s6_d4_desc = {
      .handler_id = BCMLTD_TRANSFORM_BCM56996_A0_LTA_BCMLTX_ARRAY_TO_MULTI_FIELDS_SET_XFRM_HANDLER_FWD_S6_D4_ID,
      .src_fields = 1,
      .src = bcm56996_a0_lrd_bcmltx_array_to_multi_fields_set_src_field_desc_s6,
      .dst_fields = 2,
      .dst = bcm56996_a0_lrd_bcmltx_array_to_multi_fields_set_mon_inband_telemetry_dataplane_parse_dst_field_desc_d4,
  };
  
  const bcmlrd_field_xfrm_desc_t
  bcm56996_a0_lta_bcmltx_array_to_multi_fields_set_xfrm_handler_rev_s6_d4_desc = {
      .handler_id = BCMLTD_TRANSFORM_BCM56996_A0_LTA_BCMLTX_ARRAY_TO_MULTI_FIELDS_SET_XFRM_HANDLER_REV_S6_D4_ID,
      .src_fields = 2,
      .src = bcm56996_a0_lrd_bcmltx_array_to_multi_fields_set_mon_inband_telemetry_dataplane_parse_dst_field_desc_d4,
      .dst_fields = 1,
      .dst = bcm56996_a0_lrd_bcmltx_array_to_multi_fields_set_src_field_desc_s6,
  };
  
  
  static const bcmlrd_map_entry_t bcm56996_a0_lrd_mon_inband_telemetry_dataplane_parset_int_dp_detect_config_0_map_entry[] = {
      { /* 0 */
          .entry_type = BCMLRD_MAP_ENTRY_MAPPED_VALUE,
          .desc = {
              .field_id  = VERSIONf,
              .field_idx = 0,
              .minbit    = 34,
              .maxbit    = 41,
              .entry_idx = 0,
              .reserved  = 0
          },
          .u = {
              .mapped = {
                  .src = {
                      .field_id = MON_INBAND_TELEMETRY_DATAPLANE_PARSEt_VERSIONf,
                      .field_idx = 0,
                      .minbit    = 0,
                      .maxbit    = 7,
                      .entry_idx = 0,
                      .reserved  = 0
                  }
              }
          },
      },
      { /* 1 */
          .entry_type = BCMLRD_MAP_ENTRY_FWD_VALUE_FIELD_XFRM_HANDLER,
          .desc = {
              .field_id  = 0,
              .field_idx = 0,
              .minbit    = 0,
              .maxbit    = 0,
              .entry_idx = 0,
              .reserved  = 0
          },
          .u = {
              .xfrm = {
                  /* handler: bcm56996_a0_lta_bcmltx_array_to_multi_fields_set_xfrm_handler_fwd_s5_d3 */
                  .desc = &bcm56996_a0_lta_bcmltx_array_to_multi_fields_set_xfrm_handler_fwd_s5_d3_desc,
              },
          },
      },
      { /* 2 */
          .entry_type = BCMLRD_MAP_ENTRY_REV_VALUE_FIELD_XFRM_HANDLER,
          .desc = {
              .field_id  = 0,
              .field_idx = 0,
              .minbit    = 0,
              .maxbit    = 0,
              .entry_idx = 0,
              .reserved  = 0
          },
          .u = {
              .xfrm = {
                  /* handler: bcm56996_a0_lta_bcmltx_array_to_multi_fields_set_xfrm_handler_rev_s5_d3 */
                  .desc = &bcm56996_a0_lta_bcmltx_array_to_multi_fields_set_xfrm_handler_rev_s5_d3_desc,
              },
          },
      },
      { /* 3 */
          .entry_type = BCMLRD_MAP_ENTRY_FWD_VALUE_FIELD_XFRM_HANDLER,
          .desc = {
              .field_id  = 0,
              .field_idx = 0,
              .minbit    = 0,
              .maxbit    = 0,
              .entry_idx = 0,
              .reserved  = 0
          },
          .u = {
              .xfrm = {
                  /* handler: bcm56996_a0_lta_bcmltx_array_to_multi_fields_set_xfrm_handler_fwd_s6_d4 */
                  .desc = &bcm56996_a0_lta_bcmltx_array_to_multi_fields_set_xfrm_handler_fwd_s6_d4_desc,
              },
          },
      },
      { /* 4 */
          .entry_type = BCMLRD_MAP_ENTRY_REV_VALUE_FIELD_XFRM_HANDLER,
          .desc = {
              .field_id  = 0,
              .field_idx = 0,
              .minbit    = 0,
              .maxbit    = 0,
              .entry_idx = 0,
              .reserved  = 0
          },
          .u = {
              .xfrm = {
                  /* handler: bcm56996_a0_lta_bcmltx_array_to_multi_fields_set_xfrm_handler_rev_s6_d4 */
                  .desc = &bcm56996_a0_lta_bcmltx_array_to_multi_fields_set_xfrm_handler_rev_s6_d4_desc,
              },
          },
      },
  };
  static const bcmlrd_map_entry_t bcm56996_a0_lrd_mon_inband_telemetry_dataplane_parset_int_dp_detect_config_1_map_entry[] = {
      { /* 0 */
          .entry_type = BCMLRD_MAP_ENTRY_MAPPED_VALUE,
          .desc = {
              .field_id  = PROBE_MARKER1_ENf,
              .field_idx = 0,
              .minbit    = 32,
              .maxbit    = 32,
              .entry_idx = 0,
              .reserved  = 0
          },
          .u = {
              .mapped = {
                  .src = {
                      .field_id = MON_INBAND_TELEMETRY_DATAPLANE_PARSEt_USE_PROBE_MARKER_1f,
                      .field_idx = 0,
                      .minbit    = 0,
                      .maxbit    = 0,
                      .entry_idx = 0,
                      .reserved  = 0
                  }
              }
          },
      },
      { /* 1 */
          .entry_type = BCMLRD_MAP_ENTRY_MAPPED_VALUE,
          .desc = {
              .field_id  = PROBE_MARKER1f,
              .field_idx = 0,
              .minbit    = 0,
              .maxbit    = 31,
              .entry_idx = 0,
              .reserved  = 0
          },
          .u = {
              .mapped = {
                  .src = {
                      .field_id = MON_INBAND_TELEMETRY_DATAPLANE_PARSEt_PROBE_MARKER_1f,
                      .field_idx = 0,
                      .minbit    = 0,
                      .maxbit    = 31,
                      .entry_idx = 0,
                      .reserved  = 0
                  }
              }
          },
      },
  };
  static const bcmlrd_map_entry_t bcm56996_a0_lrd_mon_inband_telemetry_dataplane_parset_int_dp_detect_config_2_map_entry[] = {
      { /* 0 */
          .entry_type = BCMLRD_MAP_ENTRY_MAPPED_VALUE,
          .desc = {
              .field_id  = PROBE_MARKER2_ENf,
              .field_idx = 0,
              .minbit    = 32,
              .maxbit    = 32,
              .entry_idx = 0,
              .reserved  = 0
          },
          .u = {
              .mapped = {
                  .src = {
                      .field_id = MON_INBAND_TELEMETRY_DATAPLANE_PARSEt_USE_PROBE_MARKER_2f,
                      .field_idx = 0,
                      .minbit    = 0,
                      .maxbit    = 0,
                      .entry_idx = 0,
                      .reserved  = 0
                  }
              }
          },
      },
      { /* 1 */
          .entry_type = BCMLRD_MAP_ENTRY_MAPPED_VALUE,
          .desc = {
              .field_id  = PROBE_MARKER2f,
              .field_idx = 0,
              .minbit    = 0,
              .maxbit    = 31,
              .entry_idx = 0,
              .reserved  = 0
          },
          .u = {
              .mapped = {
                  .src = {
                      .field_id = MON_INBAND_TELEMETRY_DATAPLANE_PARSEt_PROBE_MARKER_2f,
                      .field_idx = 0,
                      .minbit    = 0,
                      .maxbit    = 31,
                      .entry_idx = 0,
                      .reserved  = 0
                  }
              }
          },
      },
  };
  static const bcmlrd_map_group_t bcm56996_a0_lrd_mon_inband_telemetry_dataplane_parse_map_group[] = {
      {
          .dest = {
              .kind = BCMLRD_MAP_PHYSICAL,
              .id = INT_DP_DETECT_CONFIG_0r,
          },
          .entries = 5,
          .entry = bcm56996_a0_lrd_mon_inband_telemetry_dataplane_parset_int_dp_detect_config_0_map_entry
      },
      {
          .dest = {
              .kind = BCMLRD_MAP_PHYSICAL,
              .id = INT_DP_DETECT_CONFIG_1r,
          },
          .entries = 2,
          .entry = bcm56996_a0_lrd_mon_inband_telemetry_dataplane_parset_int_dp_detect_config_1_map_entry
      },
      {
          .dest = {
              .kind = BCMLRD_MAP_PHYSICAL,
              .id = INT_DP_DETECT_CONFIG_2r,
          },
          .entries = 2,
          .entry = bcm56996_a0_lrd_mon_inband_telemetry_dataplane_parset_int_dp_detect_config_2_map_entry
      },
  };
  const bcmlrd_map_t bcm56996_a0_lrd_mon_inband_telemetry_dataplane_parse_map = {
      .src_id = MON_INBAND_TELEMETRY_DATAPLANE_PARSEt,
      .field_data = &bcm56996_a0_lrd_mon_inband_telemetry_dataplane_parse_map_field_data,
      .groups = 3,
      .group  = bcm56996_a0_lrd_mon_inband_telemetry_dataplane_parse_map_group,
      .table_attr = &bcm56996_a0_lrd_mon_inband_telemetry_dataplane_parset_attr_group,
      .entry_ops = BCMLRD_MAP_TABLE_ENTRY_OPERATION_LOOKUP | BCMLRD_MAP_TABLE_ENTRY_OPERATION_TRAVERSE | BCMLRD_MAP_TABLE_ENTRY_OPERATION_INSERT | BCMLRD_MAP_TABLE_ENTRY_OPERATION_UPDATE | BCMLRD_MAP_TABLE_ENTRY_OPERATION_DELETE
  };
  