text: /*******************************************************************************
   *
   * DO NOT EDIT THIS FILE!
   * This file is auto-generated by fltg from
   *    INTERNAL/fltg/xgs/tm/bcm56880_a0/bcm56880_a0_TM_OBM_PC_PM_PKT_PARSE.map.ltl for
   *      bcm56880_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/bcm56880_a0/bcm56880_a0_lrd_field_data.h>
  #include <bcmlrd/chip/bcm56880_a0/bcm56880_a0_lrd_ltm_intf.h>
  #include <bcmlrd/chip/bcm56880_a0/bcm56880_a0_lrd_xfrm_field_desc.h>
  #include <bcmdrd/chip/bcm56880_a0_enum.h>
  #include "bcmltd/chip/bcmltd_common_enumpool.h"
  #include "bcm56880_a0_lrd_enumpool.h"
  #include <bcmltd/bcmltd_handler.h>
  /* TM_OBM_PC_PM_PKT_PARSE field init */
  static const bcmlrd_field_data_t bcm56880_a0_lrd_tm_obm_pc_pm_pkt_parse_map_field_data_mmd[] = {
      { /* 0 PC_PM_ID */
        .flags = BCMLTD_FIELD_F_KEY,
        .min = &bcm56880_a0_lrd_ifd_u8_0x1,
        .def = &bcm56880_a0_lrd_ifd_u8_0x1,
        .max = &bcm56880_a0_lrd_ifd_u8_0x20,
        .depth = 0,
        .width = 6,
        .edata = NULL,
      },
      { /* 1 INNER_TPID */
        .flags = 0,
        .min = &bcm56880_a0_lrd_ifd_u16_0x0,
        .def = &bcm56880_a0_lrd_ifd_u16_0x0,
        .max = &bcm56880_a0_lrd_ifd_u16_0xffff,
        .depth = 0,
        .width = 16,
        .edata = NULL,
      },
      { /* 2 OUTER_TPID */
        .flags = 0,
        .min = &bcm56880_a0_lrd_ifd_u16_0x0,
        .def = &bcm56880_a0_lrd_ifd_u16_0x0,
        .max = &bcm56880_a0_lrd_ifd_u16_0xffff,
        .depth = 4,
        .width = 16,
        .edata = NULL,
      },
      { /* 3 ETAG_PARSE */
        .flags = 0,
        .min = &bcm56880_a0_lrd_ifd_is_true_0x0,
        .def = &bcm56880_a0_lrd_ifd_is_true_0x0,
        .max = &bcm56880_a0_lrd_ifd_is_true_0x1,
        .depth = 0,
        .width = 1,
        .edata = NULL,
      },
      { /* 4 ETAG_ETHERTYPE */
        .flags = 0,
        .min = &bcm56880_a0_lrd_ifd_u16_0x0,
        .def = &bcm56880_a0_lrd_ifd_u16_0x0,
        .max = &bcm56880_a0_lrd_ifd_u16_0xffff,
        .depth = 0,
        .width = 16,
        .edata = NULL,
      },
      { /* 5 VNTAG_PARSE */
        .flags = 0,
        .min = &bcm56880_a0_lrd_ifd_is_true_0x0,
        .def = &bcm56880_a0_lrd_ifd_is_true_0x0,
        .max = &bcm56880_a0_lrd_ifd_is_true_0x1,
        .depth = 0,
        .width = 1,
        .edata = NULL,
      },
      { /* 6 VNTAG_ETHERTYPE */
        .flags = 0,
        .min = &bcm56880_a0_lrd_ifd_u16_0x0,
        .def = &bcm56880_a0_lrd_ifd_u16_0x0,
        .max = &bcm56880_a0_lrd_ifd_u16_0xffff,
        .depth = 0,
        .width = 16,
        .edata = NULL,
      },
      { /* 7 HIGIG3_ETHERTYPE */
        .flags = 0,
        .min = &bcm56880_a0_lrd_ifd_u16_0x0,
        .def = &bcm56880_a0_lrd_ifd_u16_0x0,
        .max = &bcm56880_a0_lrd_ifd_u16_0xffff,
        .depth = 0,
        .width = 16,
        .edata = NULL,
      },
      { /* 8 HIGIG3_ETHERTYPE_MASK */
        .flags = 0,
        .min = &bcm56880_a0_lrd_ifd_u16_0x0,
        .def = &bcm56880_a0_lrd_ifd_u16_0x0,
        .max = &bcm56880_a0_lrd_ifd_u16_0xffff,
        .depth = 0,
        .width = 16,
        .edata = NULL,
      },
      { /* 9 USER_DEFINED_PROTOCOL_MATCH */
        .flags = 0,
        .min = &bcm56880_a0_lrd_ifd_is_true_0x0,
        .def = &bcm56880_a0_lrd_ifd_is_true_0x0,
        .max = &bcm56880_a0_lrd_ifd_is_true_0x1,
        .depth = 4,
        .width = 1,
        .edata = NULL,
      },
      { /* 10 USER_DEFINED_PROTOCOL_ETHERTYPE */
        .flags = 0,
        .min = &bcm56880_a0_lrd_ifd_u16_0x0,
        .def = &bcm56880_a0_lrd_ifd_u16_0x0,
        .max = &bcm56880_a0_lrd_ifd_u16_0xffff,
        .depth = 4,
        .width = 16,
        .edata = NULL,
      },
      { /* 11 USER_DEFINED_PROTOCOL_ETHERTYPE_MASK */
        .flags = 0,
        .min = &bcm56880_a0_lrd_ifd_u16_0x0,
        .def = &bcm56880_a0_lrd_ifd_u16_0x0,
        .max = &bcm56880_a0_lrd_ifd_u16_0xffff,
        .depth = 4,
        .width = 16,
        .edata = NULL,
      },
      { /* 12 USER_DEFINED_PROTOCOL_DST_MAC */
        .flags = 0,
        .min = &bcm56880_a0_lrd_ifd_u64_0x0,
        .def = &bcm56880_a0_lrd_ifd_u64_0x0,
        .max = &bcm56880_a0_lrd_ifd_u64_0xffffffffffff,
        .depth = 4,
        .width = 48,
        .edata = NULL,
      },
      { /* 13 USER_DEFINED_PROTOCOL_DST_MAC_MASK */
        .flags = 0,
        .min = &bcm56880_a0_lrd_ifd_u64_0x0,
        .def = &bcm56880_a0_lrd_ifd_u64_0x0,
        .max = &bcm56880_a0_lrd_ifd_u64_0xffffffffffff,
        .depth = 4,
        .width = 48,
        .edata = NULL,
      },
      { /* 14 USER_DEFINED_PROTOCOL_TRAFFIC_CLASS */
        .flags = 0,
        .min = &bcm56880_a0_lrd_ifd_u8_0x0,
        .def = &bcm56880_a0_lrd_ifd_u8_0x0,
        .max = &bcm56880_a0_lrd_ifd_u8_0xff,
        .depth = 4,
        .width = 8,
        .edata = NULL,
      },
  };
  const bcmlrd_map_field_data_t bcm56880_a0_lrd_tm_obm_pc_pm_pkt_parse_map_field_data = {
      .fields = 15,
      .field = bcm56880_a0_lrd_tm_obm_pc_pm_pkt_parse_map_field_data_mmd
  };
  
  static const bcmlrd_map_table_attr_t bcm56880_a0_lrd_tm_obm_pc_pm_pkt_parset_attr_entry[] = {
      { /* 0 */
          .key   = BCMLRD_MAP_TABLE_ATTRIBUTE_ENTRY_LIMIT,
          .value = 32,
      },
      { /* 1 */
          .key   = BCMLRD_MAP_TABLE_ATTRIBUTE_INTERACTIVE,
          .value = true,
      },
  };
  
  static const bcmlrd_map_attr_t bcm56880_a0_lrd_tm_obm_pc_pm_pkt_parset_attr_group = {
      .attributes = 2,
      .attr = bcm56880_a0_lrd_tm_obm_pc_pm_pkt_parset_attr_entry,
  };
  
  static const bcmlrd_map_entry_t bcm56880_a0_lrd_bcmimm_tm_obm_pc_pm_pkt_parse_entry[] = {
      { /* 0 */
          .entry_type = BCMLRD_MAP_ENTRY_TABLE_HANDLER,
          .desc = {
              .field_id  = 0,
              .field_idx = 0,
              .minbit    = 0,
              .maxbit    = 0,
              .entry_idx = 0,
              .reserved  = 0
          },
          .u = {
              /* handler: bcm56880_a0_lta_bcmimm_tm_obm_pc_pm_pkt_parse_cth_handler */
              .handler_id = BCMLTD_TABLE_BCM56880_A0_LTA_BCMIMM_TM_OBM_PC_PM_PKT_PARSE_CTH_HANDLER_ID
          }
      },
  };
  static const bcmlrd_map_group_t bcm56880_a0_lrd_tm_obm_pc_pm_pkt_parse_map_group[] = {
      {
          .dest = {
              .kind = BCMLRD_MAP_CUSTOM,
              .id = 0,
          },
          .entries = 1,
          .entry = bcm56880_a0_lrd_bcmimm_tm_obm_pc_pm_pkt_parse_entry
      },
  };
  const bcmlrd_map_t bcm56880_a0_lrd_tm_obm_pc_pm_pkt_parse_map = {
      .src_id = TM_OBM_PC_PM_PKT_PARSEt,
      .field_data = &bcm56880_a0_lrd_tm_obm_pc_pm_pkt_parse_map_field_data,
      .groups = 1,
      .group  = bcm56880_a0_lrd_tm_obm_pc_pm_pkt_parse_map_group,
      .table_attr = &bcm56880_a0_lrd_tm_obm_pc_pm_pkt_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
  };
  