text: /*************************************************************************
   *
   * DO NOT EDIT THIS FILE!
   * This file is auto-generated by HA parser from YAML formated file.
   * Edits to this file will be lost when it is regenerated.
   * Tool: bcmha/scripts/issu_db_gen.py
   *
   * 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 <bcmissu/issu_types.h>
  #include "bcmptm_rm_tcam_trans_info_ha.h"
  
  static const issu_field_t bcmissu_fields_bcmptm_rm_tcam_trans_info_t[] = {
      {
          .fid = 0x4dfc1486,
          .width = sizeof(uint8_t),
          .ha_ptr = HA_PTR_NONE,
          .lt_attrib = HA_LT_NONE,
          .ltid_var_for_fid = ISSU_INVALID_FIELD_ID,
          .is_array = false,
          .var_size_id = ISSU_INVALID_FIELD_ID,
          .size = 0,
          .struct_id = ISSU_INVALID_STRUCT_ID,
          .enum_type_name = NULL,
      },
      {
          .fid = 0x6b7d600c,
          .width = sizeof(uint8_t),
          .ha_ptr = HA_PTR_NONE,
          .lt_attrib = HA_LT_NONE,
          .ltid_var_for_fid = ISSU_INVALID_FIELD_ID,
          .is_array = false,
          .var_size_id = ISSU_INVALID_FIELD_ID,
          .size = 0,
          .struct_id = ISSU_INVALID_STRUCT_ID,
          .enum_type_name = NULL,
      },
      {
          .fid = 0xc76a5e84,
          .width = sizeof(bool),
          .ha_ptr = HA_PTR_NONE,
          .lt_attrib = HA_LT_NONE,
          .ltid_var_for_fid = ISSU_INVALID_FIELD_ID,
          .is_array = false,
          .var_size_id = ISSU_INVALID_FIELD_ID,
          .size = 0,
          .struct_id = ISSU_INVALID_STRUCT_ID,
          .enum_type_name = NULL,
      },
      {
          .fid = 0xc5c37a71,
          .width = sizeof(uint8_t),
          .ha_ptr = HA_PTR_NONE,
          .lt_attrib = HA_LT_NONE,
          .ltid_var_for_fid = ISSU_INVALID_FIELD_ID,
          .is_array = false,
          .var_size_id = ISSU_INVALID_FIELD_ID,
          .size = 0,
          .struct_id = ISSU_INVALID_STRUCT_ID,
          .enum_type_name = NULL,
      },
      {
          .fid = 0xe27a0c75,
          .width = sizeof(uint32_t),
          .ha_ptr = HA_PTR_NONE,
          .lt_attrib = HA_LT_LTID,
          .ltid_var_for_fid = ISSU_INVALID_FIELD_ID,
          .is_array = false,
          .var_size_id = ISSU_INVALID_FIELD_ID,
          .size = 0,
          .struct_id = ISSU_INVALID_STRUCT_ID,
          .enum_type_name = NULL,
      },
      {
          .fid = 0x9c60819b,
          .width = sizeof(uint32_t),
          .ha_ptr = HA_PTR_NONE,
          .lt_attrib = HA_LT_NONE,
          .ltid_var_for_fid = ISSU_INVALID_FIELD_ID,
          .is_array = false,
          .var_size_id = ISSU_INVALID_FIELD_ID,
          .size = 0,
          .struct_id = ISSU_INVALID_STRUCT_ID,
          .enum_type_name = NULL,
      },
      {
          .fid = 0x3bef7784,
          .width = sizeof(uint32_t),
          .ha_ptr = HA_PTR_NONE,
          .lt_attrib = HA_LT_NONE,
          .ltid_var_for_fid = ISSU_INVALID_FIELD_ID,
          .is_array = false,
          .var_size_id = ISSU_INVALID_FIELD_ID,
          .size = 0,
          .struct_id = ISSU_INVALID_STRUCT_ID,
          .enum_type_name = NULL,
      },
  };
  
  static uint32_t bcmptm_rm_tcam_trans_info_t_field_offset_get (bcmissu_field_id_t field_id)
  {
      bcmptm_rm_tcam_trans_info_t var;
  
      switch (field_id) {
          case 0x4dfc1486:
              return ((uint8_t *)&var.trans_state) - (uint8_t *)&var;
          case 0x6b7d600c:
              return ((uint8_t *)&var.next_sub_id) - (uint8_t *)&var;
          case 0xc76a5e84:
              return ((uint8_t *)&var.active) - (uint8_t *)&var;
          case 0xc5c37a71:
              return ((uint8_t *)&var.tbl_inst) - (uint8_t *)&var;
          case 0xe27a0c75:
              return ((uint8_t *)&var.tbl_id) - (uint8_t *)&var;
          case 0x9c60819b:
              return ((uint8_t *)&var.state_size) - (uint8_t *)&var;
          case 0x3bef7784:
              return ((uint8_t *)&var.sign_word) - (uint8_t *)&var;
          default:
              return ISSU_INVALID_FLD_OFFSET;
      }
  }
  
  const issu_struct_t bcmissu_struct_bcmptm_rm_tcam_trans_info_ha_bcmptm_rm_tcam_trans_info_t_v1_3 = {
      .offset_get_func = bcmptm_rm_tcam_trans_info_t_field_offset_get,
      .generic_size = sizeof(bcmptm_rm_tcam_trans_info_t),
      .field_count = 7,
      .fields = bcmissu_fields_bcmptm_rm_tcam_trans_info_t,
  };
  