text: /* 
   * 
   * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
   * 
   * Copyright 2007-2019 Broadcom Inc. All rights reserved.
   * 
   * DO NOT EDIT THIS FILE!
   * This file is auto-generated.
   * Edits to this file will be lost when it is regenerated.
   * search for 'sw_state_cbs_t' for the root of the struct
   */
  
  #ifndef _SHR_SW_STATE_DPP_BCM_QOS_ACCESS_H_
  #define _SHR_SW_STATE_DPP_BCM_QOS_ACCESS_H_
  
  /********************************* access calbacks definitions *************************************/
  /* this set of callbacks, are the callbacks used in the access calbacks struct 'sw_state_cbs_t' to */
  /* access the data in 'sw_state_t'.                                                                */
  /* the calbacks are inserted into the access struct by 'sw_state_access_cb_init'.                  */
  /***************************************************************************************************/
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_alloc */
  typedef int (*sw_state_dpp_bcm_qos_alloc_cb)(
      int unit);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_is_allocated */
  typedef int (*sw_state_dpp_bcm_qos_is_allocated_cb)(
      int unit, uint8 *is_allocated);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_free */
  typedef int (*sw_state_dpp_bcm_qos_free_cb)(
      int unit);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_verify */
  typedef int (*sw_state_dpp_bcm_qos_verify_cb)(
      int unit);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_init_set */
  typedef int (*sw_state_dpp_bcm_qos_init_set_cb)(
      int unit, int init);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_init_get */
  typedef int (*sw_state_dpp_bcm_qos_init_get_cb)(
      int unit, int *init);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_init_verify */
  typedef int (*sw_state_dpp_bcm_qos_init_verify_cb)(
      int unit);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_alloc_bitmap */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_alloc_bitmap_cb)(
      int unit, int _nof_bits_to_alloc);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_free */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_free_cb)(
      int unit);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_bit_set */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_bit_set_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_bit_clear */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_bit_clear_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_bit_get */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_bit_get_cb)(
      int unit, int _bit_num, uint8* result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_bit_range_read */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_bit_range_read_cb)(
      int unit, int sw_state_bmp_first, int result_first, int _range, SHR_BITDCL *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_bit_range_write */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_bit_range_write_cb)(
      int unit, int sw_state_bmp_first, int input_bmp_first, int _range, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_bit_range_and */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_bit_range_and_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_bit_range_or */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_bit_range_or_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_bit_range_xor */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_bit_range_xor_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_bit_range_remove */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_bit_range_remove_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_bit_range_negate */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_bit_range_negate_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_bit_range_clear */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_bit_range_clear_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_bit_range_set */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_bit_range_set_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_bit_range_null */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_bit_range_null_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_bit_range_test */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_bit_range_test_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_bit_range_eq */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_bit_range_eq_cb)(
      int unit, SHR_BITDCL *input_bmp, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_bit_range_count */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_bit_range_count_cb)(
      int unit, int _first, int _range, int *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_alloc_bitmap */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_alloc_bitmap_cb)(
      int unit, int _nof_bits_to_alloc);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_free */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_free_cb)(
      int unit);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_bit_set */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_bit_set_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_bit_clear */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_bit_clear_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_bit_get */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_bit_get_cb)(
      int unit, int _bit_num, uint8* result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_bit_range_read */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_bit_range_read_cb)(
      int unit, int sw_state_bmp_first, int result_first, int _range, SHR_BITDCL *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_bit_range_write */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_bit_range_write_cb)(
      int unit, int sw_state_bmp_first, int input_bmp_first, int _range, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_bit_range_and */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_bit_range_and_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_bit_range_or */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_bit_range_or_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_bit_range_xor */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_bit_range_xor_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_bit_range_remove */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_bit_range_remove_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_bit_range_negate */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_bit_range_negate_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_bit_range_clear */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_bit_range_clear_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_bit_range_set */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_bit_range_set_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_bit_range_null */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_bit_range_null_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_bit_range_test */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_bit_range_test_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_bit_range_eq */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_bit_range_eq_cb)(
      int unit, SHR_BITDCL *input_bmp, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_bit_range_count */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_bit_range_count_cb)(
      int unit, int _first, int _range, int *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_alloc_bitmap */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_alloc_bitmap_cb)(
      int unit, int _nof_bits_to_alloc);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_free */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_free_cb)(
      int unit);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_bit_set */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_bit_set_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_bit_clear */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_bit_clear_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_bit_get */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_bit_get_cb)(
      int unit, int _bit_num, uint8* result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_bit_range_read */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_bit_range_read_cb)(
      int unit, int sw_state_bmp_first, int result_first, int _range, SHR_BITDCL *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_bit_range_write */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_bit_range_write_cb)(
      int unit, int sw_state_bmp_first, int input_bmp_first, int _range, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_bit_range_and */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_bit_range_and_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_bit_range_or */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_bit_range_or_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_bit_range_xor */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_bit_range_xor_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_bit_range_remove */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_bit_range_remove_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_bit_range_negate */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_bit_range_negate_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_bit_range_clear */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_bit_range_clear_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_bit_range_set */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_bit_range_set_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_bit_range_null */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_bit_range_null_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_bit_range_test */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_bit_range_test_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_bit_range_eq */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_bit_range_eq_cb)(
      int unit, SHR_BITDCL *input_bmp, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_bit_range_count */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_bit_range_count_cb)(
      int unit, int _first, int _range, int *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_alloc_bitmap */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_alloc_bitmap_cb)(
      int unit, int _nof_bits_to_alloc);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_free */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_free_cb)(
      int unit);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_bit_set */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_bit_set_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_bit_clear */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_bit_clear_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_bit_get */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_bit_get_cb)(
      int unit, int _bit_num, uint8* result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_bit_range_read */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_bit_range_read_cb)(
      int unit, int sw_state_bmp_first, int result_first, int _range, SHR_BITDCL *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_bit_range_write */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_bit_range_write_cb)(
      int unit, int sw_state_bmp_first, int input_bmp_first, int _range, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_bit_range_and */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_bit_range_and_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_bit_range_or */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_bit_range_or_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_bit_range_xor */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_bit_range_xor_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_bit_range_remove */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_bit_range_remove_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_bit_range_negate */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_bit_range_negate_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_bit_range_clear */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_bit_range_clear_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_bit_range_set */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_bit_range_set_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_bit_range_null */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_bit_range_null_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_bit_range_test */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_bit_range_test_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_bit_range_eq */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_bit_range_eq_cb)(
      int unit, SHR_BITDCL *input_bmp, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_bit_range_count */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_bit_range_count_cb)(
      int unit, int _first, int _range, int *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_alloc_bitmap */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_alloc_bitmap_cb)(
      int unit, int _nof_bits_to_alloc);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_free */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_free_cb)(
      int unit);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_bit_set */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_bit_set_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_bit_clear */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_bit_clear_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_bit_get */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_bit_get_cb)(
      int unit, int _bit_num, uint8* result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_bit_range_read */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_bit_range_read_cb)(
      int unit, int sw_state_bmp_first, int result_first, int _range, SHR_BITDCL *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_bit_range_write */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_bit_range_write_cb)(
      int unit, int sw_state_bmp_first, int input_bmp_first, int _range, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_bit_range_and */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_bit_range_and_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_bit_range_or */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_bit_range_or_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_bit_range_xor */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_bit_range_xor_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_bit_range_remove */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_bit_range_remove_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_bit_range_negate */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_bit_range_negate_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_bit_range_clear */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_bit_range_clear_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_bit_range_set */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_bit_range_set_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_bit_range_null */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_bit_range_null_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_bit_range_test */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_bit_range_test_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_bit_range_eq */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_bit_range_eq_cb)(
      int unit, SHR_BITDCL *input_bmp, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_bit_range_count */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_bit_range_count_cb)(
      int unit, int _first, int _range, int *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_alloc_bitmap */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_alloc_bitmap_cb)(
      int unit, int _nof_bits_to_alloc);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_free */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_free_cb)(
      int unit);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_bit_set */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_bit_set_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_bit_clear */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_bit_clear_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_bit_get */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_bit_get_cb)(
      int unit, int _bit_num, uint8* result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_bit_range_read */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_bit_range_read_cb)(
      int unit, int sw_state_bmp_first, int result_first, int _range, SHR_BITDCL *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_bit_range_write */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_bit_range_write_cb)(
      int unit, int sw_state_bmp_first, int input_bmp_first, int _range, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_bit_range_and */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_bit_range_and_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_bit_range_or */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_bit_range_or_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_bit_range_xor */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_bit_range_xor_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_bit_range_remove */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_bit_range_remove_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_bit_range_negate */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_bit_range_negate_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_bit_range_clear */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_bit_range_clear_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_bit_range_set */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_bit_range_set_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_bit_range_null */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_bit_range_null_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_bit_range_test */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_bit_range_test_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_bit_range_eq */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_bit_range_eq_cb)(
      int unit, SHR_BITDCL *input_bmp, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_bit_range_count */
  typedef int (*sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_bit_range_count_cb)(
      int unit, int _first, int _range, int *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_alloc_bitmap */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_alloc_bitmap_cb)(
      int unit, int _nof_bits_to_alloc);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_free */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_free_cb)(
      int unit);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_bit_set */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_bit_set_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_bit_clear */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_bit_clear_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_bit_get */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_bit_get_cb)(
      int unit, int _bit_num, uint8* result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_bit_range_read */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_bit_range_read_cb)(
      int unit, int sw_state_bmp_first, int result_first, int _range, SHR_BITDCL *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_bit_range_write */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_bit_range_write_cb)(
      int unit, int sw_state_bmp_first, int input_bmp_first, int _range, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_bit_range_and */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_bit_range_and_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_bit_range_or */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_bit_range_or_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_bit_range_xor */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_bit_range_xor_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_bit_range_remove */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_bit_range_remove_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_bit_range_negate */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_bit_range_negate_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_bit_range_clear */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_bit_range_clear_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_bit_range_set */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_bit_range_set_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_bit_range_null */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_bit_range_null_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_bit_range_test */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_bit_range_test_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_bit_range_eq */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_bit_range_eq_cb)(
      int unit, SHR_BITDCL *input_bmp, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_bit_range_count */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_bit_range_count_cb)(
      int unit, int _first, int _range, int *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_alloc_bitmap */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_alloc_bitmap_cb)(
      int unit, int _nof_bits_to_alloc);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_free */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_free_cb)(
      int unit);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_bit_set */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_bit_set_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_bit_clear */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_bit_clear_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_bit_get */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_bit_get_cb)(
      int unit, int _bit_num, uint8* result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_bit_range_read */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_bit_range_read_cb)(
      int unit, int sw_state_bmp_first, int result_first, int _range, SHR_BITDCL *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_bit_range_write */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_bit_range_write_cb)(
      int unit, int sw_state_bmp_first, int input_bmp_first, int _range, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_bit_range_and */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_bit_range_and_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_bit_range_or */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_bit_range_or_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_bit_range_xor */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_bit_range_xor_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_bit_range_remove */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_bit_range_remove_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_bit_range_negate */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_bit_range_negate_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_bit_range_clear */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_bit_range_clear_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_bit_range_set */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_bit_range_set_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_bit_range_null */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_bit_range_null_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_bit_range_test */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_bit_range_test_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_bit_range_eq */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_bit_range_eq_cb)(
      int unit, SHR_BITDCL *input_bmp, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_bit_range_count */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_bit_range_count_cb)(
      int unit, int _first, int _range, int *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_alloc_bitmap */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_alloc_bitmap_cb)(
      int unit, int _nof_bits_to_alloc);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_free */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_free_cb)(
      int unit);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_bit_set */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_bit_set_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_bit_clear */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_bit_clear_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_bit_get */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_bit_get_cb)(
      int unit, int _bit_num, uint8* result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_bit_range_read */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_bit_range_read_cb)(
      int unit, int sw_state_bmp_first, int result_first, int _range, SHR_BITDCL *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_bit_range_write */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_bit_range_write_cb)(
      int unit, int sw_state_bmp_first, int input_bmp_first, int _range, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_bit_range_and */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_bit_range_and_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_bit_range_or */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_bit_range_or_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_bit_range_xor */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_bit_range_xor_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_bit_range_remove */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_bit_range_remove_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_bit_range_negate */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_bit_range_negate_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_bit_range_clear */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_bit_range_clear_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_bit_range_set */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_bit_range_set_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_bit_range_null */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_bit_range_null_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_bit_range_test */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_bit_range_test_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_bit_range_eq */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_bit_range_eq_cb)(
      int unit, SHR_BITDCL *input_bmp, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_bit_range_count */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_bit_range_count_cb)(
      int unit, int _first, int _range, int *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_alloc_bitmap */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_alloc_bitmap_cb)(
      int unit, int _nof_bits_to_alloc);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_free */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_free_cb)(
      int unit);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_bit_set */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_bit_set_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_bit_clear */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_bit_clear_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_bit_get */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_bit_get_cb)(
      int unit, int _bit_num, uint8* result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_bit_range_read */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_bit_range_read_cb)(
      int unit, int sw_state_bmp_first, int result_first, int _range, SHR_BITDCL *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_bit_range_write */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_bit_range_write_cb)(
      int unit, int sw_state_bmp_first, int input_bmp_first, int _range, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_bit_range_and */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_bit_range_and_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_bit_range_or */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_bit_range_or_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_bit_range_xor */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_bit_range_xor_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_bit_range_remove */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_bit_range_remove_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_bit_range_negate */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_bit_range_negate_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_bit_range_clear */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_bit_range_clear_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_bit_range_set */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_bit_range_set_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_bit_range_null */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_bit_range_null_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_bit_range_test */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_bit_range_test_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_bit_range_eq */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_bit_range_eq_cb)(
      int unit, SHR_BITDCL *input_bmp, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_bit_range_count */
  typedef int (*sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_bit_range_count_cb)(
      int unit, int _first, int _range, int *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_alloc_bitmap */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_alloc_bitmap_cb)(
      int unit, int _nof_bits_to_alloc);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_free */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_free_cb)(
      int unit);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_bit_set */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_bit_set_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_bit_clear */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_bit_clear_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_bit_get */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_bit_get_cb)(
      int unit, int _bit_num, uint8* result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_bit_range_read */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_bit_range_read_cb)(
      int unit, int sw_state_bmp_first, int result_first, int _range, SHR_BITDCL *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_bit_range_write */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_bit_range_write_cb)(
      int unit, int sw_state_bmp_first, int input_bmp_first, int _range, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_bit_range_and */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_bit_range_and_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_bit_range_or */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_bit_range_or_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_bit_range_xor */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_bit_range_xor_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_bit_range_remove */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_bit_range_remove_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_bit_range_negate */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_bit_range_negate_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_bit_range_clear */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_bit_range_clear_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_bit_range_set */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_bit_range_set_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_bit_range_null */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_bit_range_null_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_bit_range_test */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_bit_range_test_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_bit_range_eq */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_bit_range_eq_cb)(
      int unit, SHR_BITDCL *input_bmp, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_bit_range_count */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_bit_range_count_cb)(
      int unit, int _first, int _range, int *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_alloc_bitmap */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_alloc_bitmap_cb)(
      int unit, int _nof_bits_to_alloc);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_free */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_free_cb)(
      int unit);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_bit_set */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_bit_set_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_bit_clear */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_bit_clear_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_bit_get */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_bit_get_cb)(
      int unit, int _bit_num, uint8* result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_bit_range_read */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_bit_range_read_cb)(
      int unit, int sw_state_bmp_first, int result_first, int _range, SHR_BITDCL *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_bit_range_write */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_bit_range_write_cb)(
      int unit, int sw_state_bmp_first, int input_bmp_first, int _range, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_bit_range_and */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_bit_range_and_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_bit_range_or */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_bit_range_or_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_bit_range_xor */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_bit_range_xor_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_bit_range_remove */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_bit_range_remove_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_bit_range_negate */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_bit_range_negate_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_bit_range_clear */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_bit_range_clear_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_bit_range_set */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_bit_range_set_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_bit_range_null */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_bit_range_null_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_bit_range_test */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_bit_range_test_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_bit_range_eq */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_bit_range_eq_cb)(
      int unit, SHR_BITDCL *input_bmp, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_bit_range_count */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_bit_range_count_cb)(
      int unit, int _first, int _range, int *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_alloc_bitmap */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_alloc_bitmap_cb)(
      int unit, int _nof_bits_to_alloc);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_free */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_free_cb)(
      int unit);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_bit_set */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_bit_set_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_bit_clear */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_bit_clear_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_bit_get */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_bit_get_cb)(
      int unit, int _bit_num, uint8* result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_bit_range_read */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_bit_range_read_cb)(
      int unit, int sw_state_bmp_first, int result_first, int _range, SHR_BITDCL *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_bit_range_write */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_bit_range_write_cb)(
      int unit, int sw_state_bmp_first, int input_bmp_first, int _range, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_bit_range_and */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_bit_range_and_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_bit_range_or */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_bit_range_or_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_bit_range_xor */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_bit_range_xor_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_bit_range_remove */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_bit_range_remove_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_bit_range_negate */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_bit_range_negate_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_bit_range_clear */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_bit_range_clear_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_bit_range_set */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_bit_range_set_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_bit_range_null */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_bit_range_null_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_bit_range_test */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_bit_range_test_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_bit_range_eq */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_bit_range_eq_cb)(
      int unit, SHR_BITDCL *input_bmp, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_bit_range_count */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_bit_range_count_cb)(
      int unit, int _first, int _range, int *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_alloc_bitmap */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_alloc_bitmap_cb)(
      int unit, int _nof_bits_to_alloc);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_free */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_free_cb)(
      int unit);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_bit_set */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_bit_set_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_bit_clear */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_bit_clear_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_bit_get */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_bit_get_cb)(
      int unit, int _bit_num, uint8* result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_bit_range_read */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_bit_range_read_cb)(
      int unit, int sw_state_bmp_first, int result_first, int _range, SHR_BITDCL *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_bit_range_write */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_bit_range_write_cb)(
      int unit, int sw_state_bmp_first, int input_bmp_first, int _range, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_bit_range_and */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_bit_range_and_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_bit_range_or */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_bit_range_or_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_bit_range_xor */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_bit_range_xor_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_bit_range_remove */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_bit_range_remove_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_bit_range_negate */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_bit_range_negate_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_bit_range_clear */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_bit_range_clear_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_bit_range_set */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_bit_range_set_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_bit_range_null */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_bit_range_null_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_bit_range_test */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_bit_range_test_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_bit_range_eq */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_bit_range_eq_cb)(
      int unit, SHR_BITDCL *input_bmp, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_bit_range_count */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_bit_range_count_cb)(
      int unit, int _first, int _range, int *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_alloc_bitmap */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_alloc_bitmap_cb)(
      int unit, int _nof_bits_to_alloc);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_free */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_free_cb)(
      int unit);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_bit_set */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_bit_set_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_bit_clear */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_bit_clear_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_bit_get */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_bit_get_cb)(
      int unit, int _bit_num, uint8* result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_bit_range_read */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_bit_range_read_cb)(
      int unit, int sw_state_bmp_first, int result_first, int _range, SHR_BITDCL *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_bit_range_write */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_bit_range_write_cb)(
      int unit, int sw_state_bmp_first, int input_bmp_first, int _range, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_bit_range_and */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_bit_range_and_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_bit_range_or */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_bit_range_or_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_bit_range_xor */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_bit_range_xor_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_bit_range_remove */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_bit_range_remove_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_bit_range_negate */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_bit_range_negate_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_bit_range_clear */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_bit_range_clear_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_bit_range_set */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_bit_range_set_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_bit_range_null */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_bit_range_null_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_bit_range_test */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_bit_range_test_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_bit_range_eq */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_bit_range_eq_cb)(
      int unit, SHR_BITDCL *input_bmp, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_bit_range_count */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_bit_range_count_cb)(
      int unit, int _first, int _range, int *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_alloc_bitmap */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_alloc_bitmap_cb)(
      int unit, int _nof_bits_to_alloc);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_free */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_free_cb)(
      int unit);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_bit_set */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_bit_set_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_bit_clear */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_bit_clear_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_bit_get */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_bit_get_cb)(
      int unit, int _bit_num, uint8* result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_bit_range_read */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_bit_range_read_cb)(
      int unit, int sw_state_bmp_first, int result_first, int _range, SHR_BITDCL *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_bit_range_write */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_bit_range_write_cb)(
      int unit, int sw_state_bmp_first, int input_bmp_first, int _range, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_bit_range_and */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_bit_range_and_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_bit_range_or */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_bit_range_or_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_bit_range_xor */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_bit_range_xor_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_bit_range_remove */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_bit_range_remove_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_bit_range_negate */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_bit_range_negate_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_bit_range_clear */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_bit_range_clear_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_bit_range_set */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_bit_range_set_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_bit_range_null */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_bit_range_null_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_bit_range_test */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_bit_range_test_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_bit_range_eq */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_bit_range_eq_cb)(
      int unit, SHR_BITDCL *input_bmp, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_bit_range_count */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_bit_range_count_cb)(
      int unit, int _first, int _range, int *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_alloc_bitmap */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_alloc_bitmap_cb)(
      int unit, int _nof_bits_to_alloc);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_free */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_free_cb)(
      int unit);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_bit_set */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_bit_set_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_bit_clear */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_bit_clear_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_bit_get */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_bit_get_cb)(
      int unit, int _bit_num, uint8* result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_bit_range_read */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_bit_range_read_cb)(
      int unit, int sw_state_bmp_first, int result_first, int _range, SHR_BITDCL *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_bit_range_write */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_bit_range_write_cb)(
      int unit, int sw_state_bmp_first, int input_bmp_first, int _range, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_bit_range_and */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_bit_range_and_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_bit_range_or */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_bit_range_or_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_bit_range_xor */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_bit_range_xor_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_bit_range_remove */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_bit_range_remove_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_bit_range_negate */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_bit_range_negate_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_bit_range_clear */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_bit_range_clear_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_bit_range_set */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_bit_range_set_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_bit_range_null */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_bit_range_null_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_bit_range_test */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_bit_range_test_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_bit_range_eq */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_bit_range_eq_cb)(
      int unit, SHR_BITDCL *input_bmp, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_bit_range_count */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_bit_range_count_cb)(
      int unit, int _first, int _range, int *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_alloc_bitmap */
  typedef int (*sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_alloc_bitmap_cb)(
      int unit, int _nof_bits_to_alloc);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_free */
  typedef int (*sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_free_cb)(
      int unit);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_bit_set */
  typedef int (*sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_bit_set_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_bit_clear */
  typedef int (*sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_bit_clear_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_bit_get */
  typedef int (*sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_bit_get_cb)(
      int unit, int _bit_num, uint8* result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_bit_range_read */
  typedef int (*sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_bit_range_read_cb)(
      int unit, int sw_state_bmp_first, int result_first, int _range, SHR_BITDCL *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_bit_range_write */
  typedef int (*sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_bit_range_write_cb)(
      int unit, int sw_state_bmp_first, int input_bmp_first, int _range, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_bit_range_and */
  typedef int (*sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_bit_range_and_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_bit_range_or */
  typedef int (*sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_bit_range_or_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_bit_range_xor */
  typedef int (*sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_bit_range_xor_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_bit_range_remove */
  typedef int (*sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_bit_range_remove_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_bit_range_negate */
  typedef int (*sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_bit_range_negate_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_bit_range_clear */
  typedef int (*sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_bit_range_clear_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_bit_range_set */
  typedef int (*sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_bit_range_set_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_bit_range_null */
  typedef int (*sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_bit_range_null_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_bit_range_test */
  typedef int (*sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_bit_range_test_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_bit_range_eq */
  typedef int (*sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_bit_range_eq_cb)(
      int unit, SHR_BITDCL *input_bmp, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_bit_range_count */
  typedef int (*sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_bit_range_count_cb)(
      int unit, int _first, int _range, int *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_alloc_bitmap */
  typedef int (*sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_alloc_bitmap_cb)(
      int unit, int _nof_bits_to_alloc);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_free */
  typedef int (*sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_free_cb)(
      int unit);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_bit_set */
  typedef int (*sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_bit_set_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_bit_clear */
  typedef int (*sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_bit_clear_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_bit_get */
  typedef int (*sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_bit_get_cb)(
      int unit, int _bit_num, uint8* result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_bit_range_read */
  typedef int (*sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_bit_range_read_cb)(
      int unit, int sw_state_bmp_first, int result_first, int _range, SHR_BITDCL *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_bit_range_write */
  typedef int (*sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_bit_range_write_cb)(
      int unit, int sw_state_bmp_first, int input_bmp_first, int _range, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_bit_range_and */
  typedef int (*sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_bit_range_and_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_bit_range_or */
  typedef int (*sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_bit_range_or_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_bit_range_xor */
  typedef int (*sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_bit_range_xor_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_bit_range_remove */
  typedef int (*sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_bit_range_remove_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_bit_range_negate */
  typedef int (*sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_bit_range_negate_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_bit_range_clear */
  typedef int (*sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_bit_range_clear_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_bit_range_set */
  typedef int (*sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_bit_range_set_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_bit_range_null */
  typedef int (*sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_bit_range_null_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_bit_range_test */
  typedef int (*sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_bit_range_test_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_bit_range_eq */
  typedef int (*sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_bit_range_eq_cb)(
      int unit, SHR_BITDCL *input_bmp, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_bit_range_count */
  typedef int (*sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_bit_range_count_cb)(
      int unit, int _first, int _range, int *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_alloc_bitmap */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_alloc_bitmap_cb)(
      int unit, int _nof_bits_to_alloc);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_free */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_free_cb)(
      int unit);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_bit_set */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_bit_set_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_bit_clear */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_bit_clear_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_bit_get */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_bit_get_cb)(
      int unit, int _bit_num, uint8* result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_bit_range_read */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_bit_range_read_cb)(
      int unit, int sw_state_bmp_first, int result_first, int _range, SHR_BITDCL *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_bit_range_write */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_bit_range_write_cb)(
      int unit, int sw_state_bmp_first, int input_bmp_first, int _range, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_bit_range_and */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_bit_range_and_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_bit_range_or */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_bit_range_or_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_bit_range_xor */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_bit_range_xor_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_bit_range_remove */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_bit_range_remove_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_bit_range_negate */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_bit_range_negate_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_bit_range_clear */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_bit_range_clear_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_bit_range_set */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_bit_range_set_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_bit_range_null */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_bit_range_null_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_bit_range_test */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_bit_range_test_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_bit_range_eq */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_bit_range_eq_cb)(
      int unit, SHR_BITDCL *input_bmp, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_bit_range_count */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_bit_range_count_cb)(
      int unit, int _first, int _range, int *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_alloc_bitmap */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_alloc_bitmap_cb)(
      int unit, int _nof_bits_to_alloc);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_free */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_free_cb)(
      int unit);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_bit_set */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_bit_set_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_bit_clear */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_bit_clear_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_bit_get */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_bit_get_cb)(
      int unit, int _bit_num, uint8* result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_bit_range_read */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_bit_range_read_cb)(
      int unit, int sw_state_bmp_first, int result_first, int _range, SHR_BITDCL *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_bit_range_write */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_bit_range_write_cb)(
      int unit, int sw_state_bmp_first, int input_bmp_first, int _range, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_bit_range_and */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_bit_range_and_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_bit_range_or */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_bit_range_or_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_bit_range_xor */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_bit_range_xor_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_bit_range_remove */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_bit_range_remove_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_bit_range_negate */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_bit_range_negate_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_bit_range_clear */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_bit_range_clear_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_bit_range_set */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_bit_range_set_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_bit_range_null */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_bit_range_null_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_bit_range_test */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_bit_range_test_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_bit_range_eq */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_bit_range_eq_cb)(
      int unit, SHR_BITDCL *input_bmp, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_bit_range_count */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_bit_range_count_cb)(
      int unit, int _first, int _range, int *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_alloc_bitmap */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_alloc_bitmap_cb)(
      int unit, int _nof_bits_to_alloc);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_free */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_free_cb)(
      int unit);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_bit_set */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_bit_set_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_bit_clear */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_bit_clear_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_bit_get */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_bit_get_cb)(
      int unit, int _bit_num, uint8* result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_bit_range_read */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_bit_range_read_cb)(
      int unit, int sw_state_bmp_first, int result_first, int _range, SHR_BITDCL *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_bit_range_write */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_bit_range_write_cb)(
      int unit, int sw_state_bmp_first, int input_bmp_first, int _range, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_bit_range_and */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_bit_range_and_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_bit_range_or */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_bit_range_or_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_bit_range_xor */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_bit_range_xor_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_bit_range_remove */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_bit_range_remove_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_bit_range_negate */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_bit_range_negate_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_bit_range_clear */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_bit_range_clear_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_bit_range_set */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_bit_range_set_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_bit_range_null */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_bit_range_null_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_bit_range_test */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_bit_range_test_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_bit_range_eq */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_bit_range_eq_cb)(
      int unit, SHR_BITDCL *input_bmp, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_bit_range_count */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_bit_range_count_cb)(
      int unit, int _first, int _range, int *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_alloc_bitmap */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_alloc_bitmap_cb)(
      int unit, int _nof_bits_to_alloc);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_free */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_free_cb)(
      int unit);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_bit_set */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_bit_set_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_bit_clear */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_bit_clear_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_bit_get */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_bit_get_cb)(
      int unit, int _bit_num, uint8* result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_bit_range_read */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_bit_range_read_cb)(
      int unit, int sw_state_bmp_first, int result_first, int _range, SHR_BITDCL *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_bit_range_write */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_bit_range_write_cb)(
      int unit, int sw_state_bmp_first, int input_bmp_first, int _range, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_bit_range_and */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_bit_range_and_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_bit_range_or */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_bit_range_or_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_bit_range_xor */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_bit_range_xor_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_bit_range_remove */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_bit_range_remove_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_bit_range_negate */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_bit_range_negate_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_bit_range_clear */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_bit_range_clear_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_bit_range_set */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_bit_range_set_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_bit_range_null */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_bit_range_null_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_bit_range_test */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_bit_range_test_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_bit_range_eq */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_bit_range_eq_cb)(
      int unit, SHR_BITDCL *input_bmp, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_bit_range_count */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_bit_range_count_cb)(
      int unit, int _first, int _range, int *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_alloc_bitmap */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_alloc_bitmap_cb)(
      int unit, int _nof_bits_to_alloc);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_free */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_free_cb)(
      int unit);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_bit_set */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_bit_set_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_bit_clear */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_bit_clear_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_bit_get */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_bit_get_cb)(
      int unit, int _bit_num, uint8* result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_bit_range_read */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_bit_range_read_cb)(
      int unit, int sw_state_bmp_first, int result_first, int _range, SHR_BITDCL *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_bit_range_write */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_bit_range_write_cb)(
      int unit, int sw_state_bmp_first, int input_bmp_first, int _range, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_bit_range_and */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_bit_range_and_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_bit_range_or */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_bit_range_or_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_bit_range_xor */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_bit_range_xor_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_bit_range_remove */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_bit_range_remove_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_bit_range_negate */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_bit_range_negate_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_bit_range_clear */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_bit_range_clear_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_bit_range_set */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_bit_range_set_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_bit_range_null */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_bit_range_null_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_bit_range_test */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_bit_range_test_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_bit_range_eq */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_bit_range_eq_cb)(
      int unit, SHR_BITDCL *input_bmp, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_bit_range_count */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_bit_range_count_cb)(
      int unit, int _first, int _range, int *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_alloc_bitmap */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_alloc_bitmap_cb)(
      int unit, int _nof_bits_to_alloc);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_free */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_free_cb)(
      int unit);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_bit_set */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_bit_set_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_bit_clear */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_bit_clear_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_bit_get */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_bit_get_cb)(
      int unit, int _bit_num, uint8* result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_bit_range_read */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_bit_range_read_cb)(
      int unit, int sw_state_bmp_first, int result_first, int _range, SHR_BITDCL *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_bit_range_write */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_bit_range_write_cb)(
      int unit, int sw_state_bmp_first, int input_bmp_first, int _range, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_bit_range_and */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_bit_range_and_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_bit_range_or */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_bit_range_or_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_bit_range_xor */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_bit_range_xor_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_bit_range_remove */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_bit_range_remove_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_bit_range_negate */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_bit_range_negate_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_bit_range_clear */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_bit_range_clear_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_bit_range_set */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_bit_range_set_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_bit_range_null */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_bit_range_null_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_bit_range_test */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_bit_range_test_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_bit_range_eq */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_bit_range_eq_cb)(
      int unit, SHR_BITDCL *input_bmp, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_bit_range_count */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_bit_range_count_cb)(
      int unit, int _first, int _range, int *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_alloc_bitmap */
  typedef int (*sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_alloc_bitmap_cb)(
      int unit, int _nof_bits_to_alloc);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_free */
  typedef int (*sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_free_cb)(
      int unit);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_bit_set */
  typedef int (*sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_bit_set_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_bit_clear */
  typedef int (*sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_bit_clear_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_bit_get */
  typedef int (*sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_bit_get_cb)(
      int unit, int _bit_num, uint8* result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_bit_range_read */
  typedef int (*sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_bit_range_read_cb)(
      int unit, int sw_state_bmp_first, int result_first, int _range, SHR_BITDCL *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_bit_range_write */
  typedef int (*sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_bit_range_write_cb)(
      int unit, int sw_state_bmp_first, int input_bmp_first, int _range, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_bit_range_and */
  typedef int (*sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_bit_range_and_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_bit_range_or */
  typedef int (*sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_bit_range_or_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_bit_range_xor */
  typedef int (*sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_bit_range_xor_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_bit_range_remove */
  typedef int (*sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_bit_range_remove_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_bit_range_negate */
  typedef int (*sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_bit_range_negate_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_bit_range_clear */
  typedef int (*sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_bit_range_clear_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_bit_range_set */
  typedef int (*sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_bit_range_set_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_bit_range_null */
  typedef int (*sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_bit_range_null_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_bit_range_test */
  typedef int (*sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_bit_range_test_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_bit_range_eq */
  typedef int (*sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_bit_range_eq_cb)(
      int unit, SHR_BITDCL *input_bmp, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_bit_range_count */
  typedef int (*sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_bit_range_count_cb)(
      int unit, int _first, int _range, int *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_88660
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_alloc_bitmap */
  typedef int (*sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_alloc_bitmap_cb)(
      int unit, int _nof_bits_to_alloc);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #endif /* BCM_88660*/ 
  
  #ifdef BCM_88660
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_free */
  typedef int (*sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_free_cb)(
      int unit);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #endif /* BCM_88660*/ 
  
  #ifdef BCM_88660
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_bit_set */
  typedef int (*sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_bit_set_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #endif /* BCM_88660*/ 
  
  #ifdef BCM_88660
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_bit_clear */
  typedef int (*sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_bit_clear_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #endif /* BCM_88660*/ 
  
  #ifdef BCM_88660
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_bit_get */
  typedef int (*sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_bit_get_cb)(
      int unit, int _bit_num, uint8* result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #endif /* BCM_88660*/ 
  
  #ifdef BCM_88660
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_bit_range_read */
  typedef int (*sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_bit_range_read_cb)(
      int unit, int sw_state_bmp_first, int result_first, int _range, SHR_BITDCL *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #endif /* BCM_88660*/ 
  
  #ifdef BCM_88660
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_bit_range_write */
  typedef int (*sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_bit_range_write_cb)(
      int unit, int sw_state_bmp_first, int input_bmp_first, int _range, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #endif /* BCM_88660*/ 
  
  #ifdef BCM_88660
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_bit_range_and */
  typedef int (*sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_bit_range_and_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #endif /* BCM_88660*/ 
  
  #ifdef BCM_88660
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_bit_range_or */
  typedef int (*sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_bit_range_or_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #endif /* BCM_88660*/ 
  
  #ifdef BCM_88660
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_bit_range_xor */
  typedef int (*sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_bit_range_xor_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #endif /* BCM_88660*/ 
  
  #ifdef BCM_88660
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_bit_range_remove */
  typedef int (*sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_bit_range_remove_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #endif /* BCM_88660*/ 
  
  #ifdef BCM_88660
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_bit_range_negate */
  typedef int (*sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_bit_range_negate_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #endif /* BCM_88660*/ 
  
  #ifdef BCM_88660
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_bit_range_clear */
  typedef int (*sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_bit_range_clear_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #endif /* BCM_88660*/ 
  
  #ifdef BCM_88660
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_bit_range_set */
  typedef int (*sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_bit_range_set_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #endif /* BCM_88660*/ 
  
  #ifdef BCM_88660
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_bit_range_null */
  typedef int (*sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_bit_range_null_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #endif /* BCM_88660*/ 
  
  #ifdef BCM_88660
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_bit_range_test */
  typedef int (*sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_bit_range_test_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #endif /* BCM_88660*/ 
  
  #ifdef BCM_88660
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_bit_range_eq */
  typedef int (*sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_bit_range_eq_cb)(
      int unit, SHR_BITDCL *input_bmp, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #endif /* BCM_88660*/ 
  
  #ifdef BCM_88660
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_bit_range_count */
  typedef int (*sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_bit_range_count_cb)(
      int unit, int _first, int _range, int *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #endif /* BCM_88660*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_cos_opcode_flags_set */
  typedef int (*sw_state_dpp_bcm_qos_ing_cos_opcode_flags_set_cb)(
      int unit, int ing_cos_opcode_flags_idx_0, int ing_cos_opcode_flags);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_cos_opcode_flags_get */
  typedef int (*sw_state_dpp_bcm_qos_ing_cos_opcode_flags_get_cb)(
      int unit, int ing_cos_opcode_flags_idx_0, int *ing_cos_opcode_flags);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_cos_opcode_flags_alloc */
  typedef int (*sw_state_dpp_bcm_qos_ing_cos_opcode_flags_alloc_cb)(
      int unit, int nof_instances_to_alloc);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_cos_opcode_flags_is_allocated */
  typedef int (*sw_state_dpp_bcm_qos_ing_cos_opcode_flags_is_allocated_cb)(
      int unit, uint8 *is_allocated);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_cos_opcode_flags_free */
  typedef int (*sw_state_dpp_bcm_qos_ing_cos_opcode_flags_free_cb)(
      int unit);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_ing_cos_opcode_flags_verify */
  typedef int (*sw_state_dpp_bcm_qos_ing_cos_opcode_flags_verify_cb)(
      int unit, int ing_cos_opcode_flags_idx_0);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_dscp_exp_profile_id_set */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_dscp_exp_profile_id_set_cb)(
      int unit, int egr_pcp_vlan_dscp_exp_profile_id);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_dscp_exp_profile_id_get */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_dscp_exp_profile_id_get_cb)(
      int unit, int *egr_pcp_vlan_dscp_exp_profile_id);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_dscp_exp_profile_id_alloc */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_dscp_exp_profile_id_alloc_cb)(
      int unit);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_dscp_exp_profile_id_is_allocated */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_dscp_exp_profile_id_is_allocated_cb)(
      int unit, uint8 *is_allocated);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_dscp_exp_profile_id_free */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_dscp_exp_profile_id_free_cb)(
      int unit);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_dscp_exp_profile_id_verify */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_dscp_exp_profile_id_verify_cb)(
      int unit);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_dscp_exp_enable_set */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_dscp_exp_enable_set_cb)(
      int unit, int egr_pcp_vlan_dscp_exp_enable);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_dscp_exp_enable_get */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_dscp_exp_enable_get_cb)(
      int unit, int *egr_pcp_vlan_dscp_exp_enable);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_dscp_exp_enable_alloc */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_dscp_exp_enable_alloc_cb)(
      int unit);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_dscp_exp_enable_is_allocated */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_dscp_exp_enable_is_allocated_cb)(
      int unit, uint8 *is_allocated);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_dscp_exp_enable_free */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_dscp_exp_enable_free_cb)(
      int unit);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_pcp_vlan_dscp_exp_enable_verify */
  typedef int (*sw_state_dpp_bcm_qos_egr_pcp_vlan_dscp_exp_enable_verify_cb)(
      int unit);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_enable_set */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_enable_set_cb)(
      int unit, int egr_remark_encap_enable);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_enable_get */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_enable_get_cb)(
      int unit, int *egr_remark_encap_enable);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_enable_alloc */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_enable_alloc_cb)(
      int unit);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_enable_is_allocated */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_enable_is_allocated_cb)(
      int unit, uint8 *is_allocated);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_enable_free */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_enable_free_cb)(
      int unit);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_egr_remark_encap_enable_verify */
  typedef int (*sw_state_dpp_bcm_qos_egr_remark_encap_enable_verify_cb)(
      int unit);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_dp_max_set */
  typedef int (*sw_state_dpp_bcm_qos_dp_max_set_cb)(
      int unit, int dp_max);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_dp_max_get */
  typedef int (*sw_state_dpp_bcm_qos_dp_max_get_cb)(
      int unit, int *dp_max);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_dp_max_alloc */
  typedef int (*sw_state_dpp_bcm_qos_dp_max_alloc_cb)(
      int unit);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_dp_max_is_allocated */
  typedef int (*sw_state_dpp_bcm_qos_dp_max_is_allocated_cb)(
      int unit, uint8 *is_allocated);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_dp_max_free */
  typedef int (*sw_state_dpp_bcm_qos_dp_max_free_cb)(
      int unit);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_dp_max_verify */
  typedef int (*sw_state_dpp_bcm_qos_dp_max_verify_cb)(
      int unit);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_opcode_bmp_alloc_bitmap */
  typedef int (*sw_state_dpp_bcm_qos_opcode_bmp_alloc_bitmap_cb)(
      int unit, int _nof_bits_to_alloc);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_opcode_bmp_free */
  typedef int (*sw_state_dpp_bcm_qos_opcode_bmp_free_cb)(
      int unit);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_opcode_bmp_bit_set */
  typedef int (*sw_state_dpp_bcm_qos_opcode_bmp_bit_set_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_opcode_bmp_bit_clear */
  typedef int (*sw_state_dpp_bcm_qos_opcode_bmp_bit_clear_cb)(
      int unit, int _bit_num);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_opcode_bmp_bit_get */
  typedef int (*sw_state_dpp_bcm_qos_opcode_bmp_bit_get_cb)(
      int unit, int _bit_num, uint8* result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_opcode_bmp_bit_range_read */
  typedef int (*sw_state_dpp_bcm_qos_opcode_bmp_bit_range_read_cb)(
      int unit, int sw_state_bmp_first, int result_first, int _range, SHR_BITDCL *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_opcode_bmp_bit_range_write */
  typedef int (*sw_state_dpp_bcm_qos_opcode_bmp_bit_range_write_cb)(
      int unit, int sw_state_bmp_first, int input_bmp_first, int _range, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_opcode_bmp_bit_range_and */
  typedef int (*sw_state_dpp_bcm_qos_opcode_bmp_bit_range_and_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_opcode_bmp_bit_range_or */
  typedef int (*sw_state_dpp_bcm_qos_opcode_bmp_bit_range_or_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_opcode_bmp_bit_range_xor */
  typedef int (*sw_state_dpp_bcm_qos_opcode_bmp_bit_range_xor_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_opcode_bmp_bit_range_remove */
  typedef int (*sw_state_dpp_bcm_qos_opcode_bmp_bit_range_remove_cb)(
      int unit, int _first, int _count, SHR_BITDCL *input_bmp);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_opcode_bmp_bit_range_negate */
  typedef int (*sw_state_dpp_bcm_qos_opcode_bmp_bit_range_negate_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_opcode_bmp_bit_range_clear */
  typedef int (*sw_state_dpp_bcm_qos_opcode_bmp_bit_range_clear_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_opcode_bmp_bit_range_set */
  typedef int (*sw_state_dpp_bcm_qos_opcode_bmp_bit_range_set_cb)(
      int unit, int _first, int _count);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_opcode_bmp_bit_range_null */
  typedef int (*sw_state_dpp_bcm_qos_opcode_bmp_bit_range_null_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_opcode_bmp_bit_range_test */
  typedef int (*sw_state_dpp_bcm_qos_opcode_bmp_bit_range_test_cb)(
      int unit, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_opcode_bmp_bit_range_eq */
  typedef int (*sw_state_dpp_bcm_qos_opcode_bmp_bit_range_eq_cb)(
      int unit, SHR_BITDCL *input_bmp, int _first, int _count, uint8 *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* implemented by: sw_state_dpp_bcm_qos_opcode_bmp_bit_range_count */
  typedef int (*sw_state_dpp_bcm_qos_opcode_bmp_bit_range_count_cb)(
      int unit, int _first, int _range, int *result);
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  /*********************************** access calbacks struct ****************************************/
  /* this set of structs, rooted at 'sw_state_cbs_t' define the access layer for the entire SW state.*/
  /* use this tree to alloc/free/set/get fields in the sw state rooted at 'sw_state_t'.              */
  /* NOTE: 'sw_state_t' data should not be accessed directly.                                        */
  /***************************************************************************************************/
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  typedef struct sw_state_dpp_bcm_qos_init_cbs_s {
      sw_state_dpp_bcm_qos_init_set_cb set;
      sw_state_dpp_bcm_qos_init_get_cb get;
      sw_state_dpp_bcm_qos_init_verify_cb verify;
  } sw_state_dpp_bcm_qos_init_cbs_t;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  typedef struct sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_cbs_s {
      sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_alloc_bitmap_cb alloc_bitmap;
      sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_free_cb free;
      sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_bit_set_cb bit_set;
      sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_bit_clear_cb bit_clear;
      sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_bit_get_cb bit_get;
      sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_bit_range_read_cb bit_range_read;
      sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_bit_range_write_cb bit_range_write;
      sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_bit_range_and_cb bit_range_and;
      sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_bit_range_or_cb bit_range_or;
      sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_bit_range_xor_cb bit_range_xor;
      sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_bit_range_remove_cb bit_range_remove;
      sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_bit_range_negate_cb bit_range_negate;
      sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_bit_range_clear_cb bit_range_clear;
      sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_bit_range_set_cb bit_range_set;
      sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_bit_range_null_cb bit_range_null;
      sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_bit_range_test_cb bit_range_test;
      sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_bit_range_eq_cb bit_range_eq;
      sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_bit_range_count_cb bit_range_count;
  } sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_cbs_t;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  typedef struct sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_cbs_s {
      sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_alloc_bitmap_cb alloc_bitmap;
      sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_free_cb free;
      sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_bit_set_cb bit_set;
      sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_bit_clear_cb bit_clear;
      sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_bit_get_cb bit_get;
      sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_bit_range_read_cb bit_range_read;
      sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_bit_range_write_cb bit_range_write;
      sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_bit_range_and_cb bit_range_and;
      sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_bit_range_or_cb bit_range_or;
      sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_bit_range_xor_cb bit_range_xor;
      sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_bit_range_remove_cb bit_range_remove;
      sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_bit_range_negate_cb bit_range_negate;
      sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_bit_range_clear_cb bit_range_clear;
      sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_bit_range_set_cb bit_range_set;
      sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_bit_range_null_cb bit_range_null;
      sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_bit_range_test_cb bit_range_test;
      sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_bit_range_eq_cb bit_range_eq;
      sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_bit_range_count_cb bit_range_count;
  } sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_cbs_t;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  typedef struct sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_cbs_s {
      sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_alloc_bitmap_cb alloc_bitmap;
      sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_free_cb free;
      sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_bit_set_cb bit_set;
      sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_bit_clear_cb bit_clear;
      sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_bit_get_cb bit_get;
      sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_bit_range_read_cb bit_range_read;
      sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_bit_range_write_cb bit_range_write;
      sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_bit_range_and_cb bit_range_and;
      sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_bit_range_or_cb bit_range_or;
      sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_bit_range_xor_cb bit_range_xor;
      sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_bit_range_remove_cb bit_range_remove;
      sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_bit_range_negate_cb bit_range_negate;
      sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_bit_range_clear_cb bit_range_clear;
      sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_bit_range_set_cb bit_range_set;
      sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_bit_range_null_cb bit_range_null;
      sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_bit_range_test_cb bit_range_test;
      sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_bit_range_eq_cb bit_range_eq;
      sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_bit_range_count_cb bit_range_count;
  } sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_cbs_t;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  typedef struct sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_cbs_s {
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_alloc_bitmap_cb alloc_bitmap;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_free_cb free;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_bit_set_cb bit_set;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_bit_clear_cb bit_clear;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_bit_get_cb bit_get;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_bit_range_read_cb bit_range_read;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_bit_range_write_cb bit_range_write;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_bit_range_and_cb bit_range_and;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_bit_range_or_cb bit_range_or;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_bit_range_xor_cb bit_range_xor;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_bit_range_remove_cb bit_range_remove;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_bit_range_negate_cb bit_range_negate;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_bit_range_clear_cb bit_range_clear;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_bit_range_set_cb bit_range_set;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_bit_range_null_cb bit_range_null;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_bit_range_test_cb bit_range_test;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_bit_range_eq_cb bit_range_eq;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_bit_range_count_cb bit_range_count;
  } sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_cbs_t;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  typedef struct sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_cbs_s {
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_alloc_bitmap_cb alloc_bitmap;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_free_cb free;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_bit_set_cb bit_set;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_bit_clear_cb bit_clear;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_bit_get_cb bit_get;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_bit_range_read_cb bit_range_read;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_bit_range_write_cb bit_range_write;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_bit_range_and_cb bit_range_and;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_bit_range_or_cb bit_range_or;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_bit_range_xor_cb bit_range_xor;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_bit_range_remove_cb bit_range_remove;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_bit_range_negate_cb bit_range_negate;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_bit_range_clear_cb bit_range_clear;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_bit_range_set_cb bit_range_set;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_bit_range_null_cb bit_range_null;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_bit_range_test_cb bit_range_test;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_bit_range_eq_cb bit_range_eq;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_bit_range_count_cb bit_range_count;
  } sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_cbs_t;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  typedef struct sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_cbs_s {
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_alloc_bitmap_cb alloc_bitmap;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_free_cb free;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_bit_set_cb bit_set;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_bit_clear_cb bit_clear;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_bit_get_cb bit_get;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_bit_range_read_cb bit_range_read;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_bit_range_write_cb bit_range_write;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_bit_range_and_cb bit_range_and;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_bit_range_or_cb bit_range_or;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_bit_range_xor_cb bit_range_xor;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_bit_range_remove_cb bit_range_remove;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_bit_range_negate_cb bit_range_negate;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_bit_range_clear_cb bit_range_clear;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_bit_range_set_cb bit_range_set;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_bit_range_null_cb bit_range_null;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_bit_range_test_cb bit_range_test;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_bit_range_eq_cb bit_range_eq;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_bit_range_count_cb bit_range_count;
  } sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_cbs_t;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  typedef struct sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_cbs_s {
      sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_alloc_bitmap_cb alloc_bitmap;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_free_cb free;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_bit_set_cb bit_set;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_bit_clear_cb bit_clear;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_bit_get_cb bit_get;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_bit_range_read_cb bit_range_read;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_bit_range_write_cb bit_range_write;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_bit_range_and_cb bit_range_and;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_bit_range_or_cb bit_range_or;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_bit_range_xor_cb bit_range_xor;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_bit_range_remove_cb bit_range_remove;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_bit_range_negate_cb bit_range_negate;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_bit_range_clear_cb bit_range_clear;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_bit_range_set_cb bit_range_set;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_bit_range_null_cb bit_range_null;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_bit_range_test_cb bit_range_test;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_bit_range_eq_cb bit_range_eq;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_bit_range_count_cb bit_range_count;
  } sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_cbs_t;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  typedef struct sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_cbs_s {
      sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_alloc_bitmap_cb alloc_bitmap;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_free_cb free;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_bit_set_cb bit_set;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_bit_clear_cb bit_clear;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_bit_get_cb bit_get;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_bit_range_read_cb bit_range_read;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_bit_range_write_cb bit_range_write;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_bit_range_and_cb bit_range_and;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_bit_range_or_cb bit_range_or;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_bit_range_xor_cb bit_range_xor;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_bit_range_remove_cb bit_range_remove;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_bit_range_negate_cb bit_range_negate;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_bit_range_clear_cb bit_range_clear;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_bit_range_set_cb bit_range_set;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_bit_range_null_cb bit_range_null;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_bit_range_test_cb bit_range_test;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_bit_range_eq_cb bit_range_eq;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_bit_range_count_cb bit_range_count;
  } sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_cbs_t;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  typedef struct sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_cbs_s {
      sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_alloc_bitmap_cb alloc_bitmap;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_free_cb free;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_bit_set_cb bit_set;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_bit_clear_cb bit_clear;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_bit_get_cb bit_get;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_bit_range_read_cb bit_range_read;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_bit_range_write_cb bit_range_write;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_bit_range_and_cb bit_range_and;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_bit_range_or_cb bit_range_or;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_bit_range_xor_cb bit_range_xor;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_bit_range_remove_cb bit_range_remove;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_bit_range_negate_cb bit_range_negate;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_bit_range_clear_cb bit_range_clear;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_bit_range_set_cb bit_range_set;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_bit_range_null_cb bit_range_null;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_bit_range_test_cb bit_range_test;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_bit_range_eq_cb bit_range_eq;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_bit_range_count_cb bit_range_count;
  } sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_cbs_t;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  typedef struct sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_cbs_s {
      sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_alloc_bitmap_cb alloc_bitmap;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_free_cb free;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_bit_set_cb bit_set;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_bit_clear_cb bit_clear;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_bit_get_cb bit_get;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_bit_range_read_cb bit_range_read;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_bit_range_write_cb bit_range_write;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_bit_range_and_cb bit_range_and;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_bit_range_or_cb bit_range_or;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_bit_range_xor_cb bit_range_xor;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_bit_range_remove_cb bit_range_remove;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_bit_range_negate_cb bit_range_negate;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_bit_range_clear_cb bit_range_clear;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_bit_range_set_cb bit_range_set;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_bit_range_null_cb bit_range_null;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_bit_range_test_cb bit_range_test;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_bit_range_eq_cb bit_range_eq;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_bit_range_count_cb bit_range_count;
  } sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_cbs_t;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  typedef struct sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_cbs_s {
      sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_alloc_bitmap_cb alloc_bitmap;
      sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_free_cb free;
      sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_bit_set_cb bit_set;
      sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_bit_clear_cb bit_clear;
      sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_bit_get_cb bit_get;
      sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_bit_range_read_cb bit_range_read;
      sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_bit_range_write_cb bit_range_write;
      sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_bit_range_and_cb bit_range_and;
      sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_bit_range_or_cb bit_range_or;
      sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_bit_range_xor_cb bit_range_xor;
      sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_bit_range_remove_cb bit_range_remove;
      sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_bit_range_negate_cb bit_range_negate;
      sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_bit_range_clear_cb bit_range_clear;
      sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_bit_range_set_cb bit_range_set;
      sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_bit_range_null_cb bit_range_null;
      sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_bit_range_test_cb bit_range_test;
      sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_bit_range_eq_cb bit_range_eq;
      sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_bit_range_count_cb bit_range_count;
  } sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_cbs_t;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  typedef struct sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_cbs_s {
      sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_alloc_bitmap_cb alloc_bitmap;
      sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_free_cb free;
      sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_bit_set_cb bit_set;
      sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_bit_clear_cb bit_clear;
      sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_bit_get_cb bit_get;
      sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_bit_range_read_cb bit_range_read;
      sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_bit_range_write_cb bit_range_write;
      sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_bit_range_and_cb bit_range_and;
      sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_bit_range_or_cb bit_range_or;
      sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_bit_range_xor_cb bit_range_xor;
      sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_bit_range_remove_cb bit_range_remove;
      sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_bit_range_negate_cb bit_range_negate;
      sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_bit_range_clear_cb bit_range_clear;
      sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_bit_range_set_cb bit_range_set;
      sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_bit_range_null_cb bit_range_null;
      sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_bit_range_test_cb bit_range_test;
      sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_bit_range_eq_cb bit_range_eq;
      sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_bit_range_count_cb bit_range_count;
  } sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_cbs_t;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  typedef struct sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_cbs_s {
      sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_alloc_bitmap_cb alloc_bitmap;
      sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_free_cb free;
      sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_bit_set_cb bit_set;
      sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_bit_clear_cb bit_clear;
      sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_bit_get_cb bit_get;
      sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_bit_range_read_cb bit_range_read;
      sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_bit_range_write_cb bit_range_write;
      sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_bit_range_and_cb bit_range_and;
      sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_bit_range_or_cb bit_range_or;
      sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_bit_range_xor_cb bit_range_xor;
      sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_bit_range_remove_cb bit_range_remove;
      sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_bit_range_negate_cb bit_range_negate;
      sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_bit_range_clear_cb bit_range_clear;
      sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_bit_range_set_cb bit_range_set;
      sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_bit_range_null_cb bit_range_null;
      sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_bit_range_test_cb bit_range_test;
      sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_bit_range_eq_cb bit_range_eq;
      sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_bit_range_count_cb bit_range_count;
  } sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_cbs_t;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  typedef struct sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_cbs_s {
      sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_alloc_bitmap_cb alloc_bitmap;
      sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_free_cb free;
      sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_bit_set_cb bit_set;
      sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_bit_clear_cb bit_clear;
      sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_bit_get_cb bit_get;
      sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_bit_range_read_cb bit_range_read;
      sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_bit_range_write_cb bit_range_write;
      sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_bit_range_and_cb bit_range_and;
      sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_bit_range_or_cb bit_range_or;
      sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_bit_range_xor_cb bit_range_xor;
      sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_bit_range_remove_cb bit_range_remove;
      sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_bit_range_negate_cb bit_range_negate;
      sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_bit_range_clear_cb bit_range_clear;
      sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_bit_range_set_cb bit_range_set;
      sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_bit_range_null_cb bit_range_null;
      sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_bit_range_test_cb bit_range_test;
      sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_bit_range_eq_cb bit_range_eq;
      sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_bit_range_count_cb bit_range_count;
  } sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_cbs_t;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  typedef struct sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_cbs_s {
      sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_alloc_bitmap_cb alloc_bitmap;
      sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_free_cb free;
      sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_bit_set_cb bit_set;
      sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_bit_clear_cb bit_clear;
      sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_bit_get_cb bit_get;
      sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_bit_range_read_cb bit_range_read;
      sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_bit_range_write_cb bit_range_write;
      sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_bit_range_and_cb bit_range_and;
      sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_bit_range_or_cb bit_range_or;
      sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_bit_range_xor_cb bit_range_xor;
      sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_bit_range_remove_cb bit_range_remove;
      sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_bit_range_negate_cb bit_range_negate;
      sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_bit_range_clear_cb bit_range_clear;
      sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_bit_range_set_cb bit_range_set;
      sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_bit_range_null_cb bit_range_null;
      sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_bit_range_test_cb bit_range_test;
      sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_bit_range_eq_cb bit_range_eq;
      sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_bit_range_count_cb bit_range_count;
  } sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_cbs_t;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  typedef struct sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_cbs_s {
      sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_alloc_bitmap_cb alloc_bitmap;
      sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_free_cb free;
      sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_bit_set_cb bit_set;
      sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_bit_clear_cb bit_clear;
      sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_bit_get_cb bit_get;
      sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_bit_range_read_cb bit_range_read;
      sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_bit_range_write_cb bit_range_write;
      sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_bit_range_and_cb bit_range_and;
      sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_bit_range_or_cb bit_range_or;
      sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_bit_range_xor_cb bit_range_xor;
      sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_bit_range_remove_cb bit_range_remove;
      sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_bit_range_negate_cb bit_range_negate;
      sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_bit_range_clear_cb bit_range_clear;
      sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_bit_range_set_cb bit_range_set;
      sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_bit_range_null_cb bit_range_null;
      sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_bit_range_test_cb bit_range_test;
      sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_bit_range_eq_cb bit_range_eq;
      sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_bit_range_count_cb bit_range_count;
  } sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_cbs_t;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  typedef struct sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_cbs_s {
      sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_alloc_bitmap_cb alloc_bitmap;
      sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_free_cb free;
      sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_bit_set_cb bit_set;
      sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_bit_clear_cb bit_clear;
      sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_bit_get_cb bit_get;
      sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_bit_range_read_cb bit_range_read;
      sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_bit_range_write_cb bit_range_write;
      sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_bit_range_and_cb bit_range_and;
      sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_bit_range_or_cb bit_range_or;
      sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_bit_range_xor_cb bit_range_xor;
      sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_bit_range_remove_cb bit_range_remove;
      sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_bit_range_negate_cb bit_range_negate;
      sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_bit_range_clear_cb bit_range_clear;
      sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_bit_range_set_cb bit_range_set;
      sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_bit_range_null_cb bit_range_null;
      sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_bit_range_test_cb bit_range_test;
      sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_bit_range_eq_cb bit_range_eq;
      sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_bit_range_count_cb bit_range_count;
  } sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_cbs_t;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  typedef struct sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_cbs_s {
      sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_alloc_bitmap_cb alloc_bitmap;
      sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_free_cb free;
      sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_bit_set_cb bit_set;
      sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_bit_clear_cb bit_clear;
      sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_bit_get_cb bit_get;
      sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_bit_range_read_cb bit_range_read;
      sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_bit_range_write_cb bit_range_write;
      sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_bit_range_and_cb bit_range_and;
      sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_bit_range_or_cb bit_range_or;
      sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_bit_range_xor_cb bit_range_xor;
      sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_bit_range_remove_cb bit_range_remove;
      sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_bit_range_negate_cb bit_range_negate;
      sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_bit_range_clear_cb bit_range_clear;
      sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_bit_range_set_cb bit_range_set;
      sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_bit_range_null_cb bit_range_null;
      sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_bit_range_test_cb bit_range_test;
      sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_bit_range_eq_cb bit_range_eq;
      sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_bit_range_count_cb bit_range_count;
  } sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_cbs_t;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  typedef struct sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_cbs_s {
      sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_alloc_bitmap_cb alloc_bitmap;
      sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_free_cb free;
      sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_bit_set_cb bit_set;
      sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_bit_clear_cb bit_clear;
      sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_bit_get_cb bit_get;
      sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_bit_range_read_cb bit_range_read;
      sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_bit_range_write_cb bit_range_write;
      sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_bit_range_and_cb bit_range_and;
      sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_bit_range_or_cb bit_range_or;
      sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_bit_range_xor_cb bit_range_xor;
      sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_bit_range_remove_cb bit_range_remove;
      sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_bit_range_negate_cb bit_range_negate;
      sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_bit_range_clear_cb bit_range_clear;
      sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_bit_range_set_cb bit_range_set;
      sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_bit_range_null_cb bit_range_null;
      sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_bit_range_test_cb bit_range_test;
      sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_bit_range_eq_cb bit_range_eq;
      sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_bit_range_count_cb bit_range_count;
  } sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_cbs_t;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  typedef struct sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_cbs_s {
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_alloc_bitmap_cb alloc_bitmap;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_free_cb free;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_bit_set_cb bit_set;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_bit_clear_cb bit_clear;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_bit_get_cb bit_get;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_bit_range_read_cb bit_range_read;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_bit_range_write_cb bit_range_write;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_bit_range_and_cb bit_range_and;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_bit_range_or_cb bit_range_or;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_bit_range_xor_cb bit_range_xor;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_bit_range_remove_cb bit_range_remove;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_bit_range_negate_cb bit_range_negate;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_bit_range_clear_cb bit_range_clear;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_bit_range_set_cb bit_range_set;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_bit_range_null_cb bit_range_null;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_bit_range_test_cb bit_range_test;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_bit_range_eq_cb bit_range_eq;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_bit_range_count_cb bit_range_count;
  } sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_cbs_t;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  typedef struct sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_cbs_s {
      sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_alloc_bitmap_cb alloc_bitmap;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_free_cb free;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_bit_set_cb bit_set;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_bit_clear_cb bit_clear;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_bit_get_cb bit_get;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_bit_range_read_cb bit_range_read;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_bit_range_write_cb bit_range_write;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_bit_range_and_cb bit_range_and;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_bit_range_or_cb bit_range_or;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_bit_range_xor_cb bit_range_xor;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_bit_range_remove_cb bit_range_remove;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_bit_range_negate_cb bit_range_negate;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_bit_range_clear_cb bit_range_clear;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_bit_range_set_cb bit_range_set;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_bit_range_null_cb bit_range_null;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_bit_range_test_cb bit_range_test;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_bit_range_eq_cb bit_range_eq;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_bit_range_count_cb bit_range_count;
  } sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_cbs_t;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  typedef struct sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_cbs_s {
      sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_alloc_bitmap_cb alloc_bitmap;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_free_cb free;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_bit_set_cb bit_set;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_bit_clear_cb bit_clear;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_bit_get_cb bit_get;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_bit_range_read_cb bit_range_read;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_bit_range_write_cb bit_range_write;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_bit_range_and_cb bit_range_and;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_bit_range_or_cb bit_range_or;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_bit_range_xor_cb bit_range_xor;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_bit_range_remove_cb bit_range_remove;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_bit_range_negate_cb bit_range_negate;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_bit_range_clear_cb bit_range_clear;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_bit_range_set_cb bit_range_set;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_bit_range_null_cb bit_range_null;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_bit_range_test_cb bit_range_test;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_bit_range_eq_cb bit_range_eq;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_bit_range_count_cb bit_range_count;
  } sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_cbs_t;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  typedef struct sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_cbs_s {
      sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_alloc_bitmap_cb alloc_bitmap;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_free_cb free;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_bit_set_cb bit_set;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_bit_clear_cb bit_clear;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_bit_get_cb bit_get;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_bit_range_read_cb bit_range_read;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_bit_range_write_cb bit_range_write;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_bit_range_and_cb bit_range_and;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_bit_range_or_cb bit_range_or;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_bit_range_xor_cb bit_range_xor;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_bit_range_remove_cb bit_range_remove;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_bit_range_negate_cb bit_range_negate;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_bit_range_clear_cb bit_range_clear;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_bit_range_set_cb bit_range_set;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_bit_range_null_cb bit_range_null;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_bit_range_test_cb bit_range_test;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_bit_range_eq_cb bit_range_eq;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_bit_range_count_cb bit_range_count;
  } sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_cbs_t;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  typedef struct sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_cbs_s {
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_alloc_bitmap_cb alloc_bitmap;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_free_cb free;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_bit_set_cb bit_set;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_bit_clear_cb bit_clear;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_bit_get_cb bit_get;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_bit_range_read_cb bit_range_read;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_bit_range_write_cb bit_range_write;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_bit_range_and_cb bit_range_and;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_bit_range_or_cb bit_range_or;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_bit_range_xor_cb bit_range_xor;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_bit_range_remove_cb bit_range_remove;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_bit_range_negate_cb bit_range_negate;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_bit_range_clear_cb bit_range_clear;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_bit_range_set_cb bit_range_set;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_bit_range_null_cb bit_range_null;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_bit_range_test_cb bit_range_test;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_bit_range_eq_cb bit_range_eq;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_bit_range_count_cb bit_range_count;
  } sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_cbs_t;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  typedef struct sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_cbs_s {
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_alloc_bitmap_cb alloc_bitmap;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_free_cb free;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_bit_set_cb bit_set;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_bit_clear_cb bit_clear;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_bit_get_cb bit_get;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_bit_range_read_cb bit_range_read;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_bit_range_write_cb bit_range_write;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_bit_range_and_cb bit_range_and;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_bit_range_or_cb bit_range_or;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_bit_range_xor_cb bit_range_xor;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_bit_range_remove_cb bit_range_remove;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_bit_range_negate_cb bit_range_negate;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_bit_range_clear_cb bit_range_clear;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_bit_range_set_cb bit_range_set;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_bit_range_null_cb bit_range_null;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_bit_range_test_cb bit_range_test;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_bit_range_eq_cb bit_range_eq;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_bit_range_count_cb bit_range_count;
  } sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_cbs_t;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  typedef struct sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_cbs_s {
      sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_alloc_bitmap_cb alloc_bitmap;
      sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_free_cb free;
      sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_bit_set_cb bit_set;
      sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_bit_clear_cb bit_clear;
      sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_bit_get_cb bit_get;
      sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_bit_range_read_cb bit_range_read;
      sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_bit_range_write_cb bit_range_write;
      sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_bit_range_and_cb bit_range_and;
      sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_bit_range_or_cb bit_range_or;
      sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_bit_range_xor_cb bit_range_xor;
      sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_bit_range_remove_cb bit_range_remove;
      sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_bit_range_negate_cb bit_range_negate;
      sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_bit_range_clear_cb bit_range_clear;
      sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_bit_range_set_cb bit_range_set;
      sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_bit_range_null_cb bit_range_null;
      sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_bit_range_test_cb bit_range_test;
      sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_bit_range_eq_cb bit_range_eq;
      sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_bit_range_count_cb bit_range_count;
  } sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_cbs_t;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_88660
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  typedef struct sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_cbs_s {
  #ifdef BCM_88660
      sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_alloc_bitmap_cb alloc_bitmap;
  #endif /* BCM_88660*/ 
  #ifdef BCM_88660
      sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_free_cb free;
  #endif /* BCM_88660*/ 
  #ifdef BCM_88660
      sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_bit_set_cb bit_set;
  #endif /* BCM_88660*/ 
  #ifdef BCM_88660
      sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_bit_clear_cb bit_clear;
  #endif /* BCM_88660*/ 
  #ifdef BCM_88660
      sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_bit_get_cb bit_get;
  #endif /* BCM_88660*/ 
  #ifdef BCM_88660
      sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_bit_range_read_cb bit_range_read;
  #endif /* BCM_88660*/ 
  #ifdef BCM_88660
      sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_bit_range_write_cb bit_range_write;
  #endif /* BCM_88660*/ 
  #ifdef BCM_88660
      sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_bit_range_and_cb bit_range_and;
  #endif /* BCM_88660*/ 
  #ifdef BCM_88660
      sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_bit_range_or_cb bit_range_or;
  #endif /* BCM_88660*/ 
  #ifdef BCM_88660
      sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_bit_range_xor_cb bit_range_xor;
  #endif /* BCM_88660*/ 
  #ifdef BCM_88660
      sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_bit_range_remove_cb bit_range_remove;
  #endif /* BCM_88660*/ 
  #ifdef BCM_88660
      sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_bit_range_negate_cb bit_range_negate;
  #endif /* BCM_88660*/ 
  #ifdef BCM_88660
      sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_bit_range_clear_cb bit_range_clear;
  #endif /* BCM_88660*/ 
  #ifdef BCM_88660
      sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_bit_range_set_cb bit_range_set;
  #endif /* BCM_88660*/ 
  #ifdef BCM_88660
      sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_bit_range_null_cb bit_range_null;
  #endif /* BCM_88660*/ 
  #ifdef BCM_88660
      sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_bit_range_test_cb bit_range_test;
  #endif /* BCM_88660*/ 
  #ifdef BCM_88660
      sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_bit_range_eq_cb bit_range_eq;
  #endif /* BCM_88660*/ 
  #ifdef BCM_88660
      sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_bit_range_count_cb bit_range_count;
  #endif /* BCM_88660*/ 
  } sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_cbs_t;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #endif /* BCM_88660*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  typedef struct sw_state_dpp_bcm_qos_ing_cos_opcode_flags_cbs_s {
      sw_state_dpp_bcm_qos_ing_cos_opcode_flags_set_cb set;
      sw_state_dpp_bcm_qos_ing_cos_opcode_flags_get_cb get;
      sw_state_dpp_bcm_qos_ing_cos_opcode_flags_alloc_cb alloc;
      sw_state_dpp_bcm_qos_ing_cos_opcode_flags_is_allocated_cb is_allocated;
      sw_state_dpp_bcm_qos_ing_cos_opcode_flags_free_cb free;
      sw_state_dpp_bcm_qos_ing_cos_opcode_flags_verify_cb verify;
  } sw_state_dpp_bcm_qos_ing_cos_opcode_flags_cbs_t;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  typedef struct sw_state_dpp_bcm_qos_egr_pcp_vlan_dscp_exp_profile_id_cbs_s {
      sw_state_dpp_bcm_qos_egr_pcp_vlan_dscp_exp_profile_id_set_cb set;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_dscp_exp_profile_id_get_cb get;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_dscp_exp_profile_id_alloc_cb alloc;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_dscp_exp_profile_id_is_allocated_cb is_allocated;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_dscp_exp_profile_id_free_cb free;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_dscp_exp_profile_id_verify_cb verify;
  } sw_state_dpp_bcm_qos_egr_pcp_vlan_dscp_exp_profile_id_cbs_t;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  typedef struct sw_state_dpp_bcm_qos_egr_pcp_vlan_dscp_exp_enable_cbs_s {
      sw_state_dpp_bcm_qos_egr_pcp_vlan_dscp_exp_enable_set_cb set;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_dscp_exp_enable_get_cb get;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_dscp_exp_enable_alloc_cb alloc;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_dscp_exp_enable_is_allocated_cb is_allocated;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_dscp_exp_enable_free_cb free;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_dscp_exp_enable_verify_cb verify;
  } sw_state_dpp_bcm_qos_egr_pcp_vlan_dscp_exp_enable_cbs_t;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  typedef struct sw_state_dpp_bcm_qos_egr_remark_encap_enable_cbs_s {
      sw_state_dpp_bcm_qos_egr_remark_encap_enable_set_cb set;
      sw_state_dpp_bcm_qos_egr_remark_encap_enable_get_cb get;
      sw_state_dpp_bcm_qos_egr_remark_encap_enable_alloc_cb alloc;
      sw_state_dpp_bcm_qos_egr_remark_encap_enable_is_allocated_cb is_allocated;
      sw_state_dpp_bcm_qos_egr_remark_encap_enable_free_cb free;
      sw_state_dpp_bcm_qos_egr_remark_encap_enable_verify_cb verify;
  } sw_state_dpp_bcm_qos_egr_remark_encap_enable_cbs_t;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  typedef struct sw_state_dpp_bcm_qos_dp_max_cbs_s {
      sw_state_dpp_bcm_qos_dp_max_set_cb set;
      sw_state_dpp_bcm_qos_dp_max_get_cb get;
      sw_state_dpp_bcm_qos_dp_max_alloc_cb alloc;
      sw_state_dpp_bcm_qos_dp_max_is_allocated_cb is_allocated;
      sw_state_dpp_bcm_qos_dp_max_free_cb free;
      sw_state_dpp_bcm_qos_dp_max_verify_cb verify;
  } sw_state_dpp_bcm_qos_dp_max_cbs_t;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  typedef struct sw_state_dpp_bcm_qos_opcode_bmp_cbs_s {
      sw_state_dpp_bcm_qos_opcode_bmp_alloc_bitmap_cb alloc_bitmap;
      sw_state_dpp_bcm_qos_opcode_bmp_free_cb free;
      sw_state_dpp_bcm_qos_opcode_bmp_bit_set_cb bit_set;
      sw_state_dpp_bcm_qos_opcode_bmp_bit_clear_cb bit_clear;
      sw_state_dpp_bcm_qos_opcode_bmp_bit_get_cb bit_get;
      sw_state_dpp_bcm_qos_opcode_bmp_bit_range_read_cb bit_range_read;
      sw_state_dpp_bcm_qos_opcode_bmp_bit_range_write_cb bit_range_write;
      sw_state_dpp_bcm_qos_opcode_bmp_bit_range_and_cb bit_range_and;
      sw_state_dpp_bcm_qos_opcode_bmp_bit_range_or_cb bit_range_or;
      sw_state_dpp_bcm_qos_opcode_bmp_bit_range_xor_cb bit_range_xor;
      sw_state_dpp_bcm_qos_opcode_bmp_bit_range_remove_cb bit_range_remove;
      sw_state_dpp_bcm_qos_opcode_bmp_bit_range_negate_cb bit_range_negate;
      sw_state_dpp_bcm_qos_opcode_bmp_bit_range_clear_cb bit_range_clear;
      sw_state_dpp_bcm_qos_opcode_bmp_bit_range_set_cb bit_range_set;
      sw_state_dpp_bcm_qos_opcode_bmp_bit_range_null_cb bit_range_null;
      sw_state_dpp_bcm_qos_opcode_bmp_bit_range_test_cb bit_range_test;
      sw_state_dpp_bcm_qos_opcode_bmp_bit_range_eq_cb bit_range_eq;
      sw_state_dpp_bcm_qos_opcode_bmp_bit_range_count_cb bit_range_count;
  } sw_state_dpp_bcm_qos_opcode_bmp_cbs_t;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  typedef struct sw_state_dpp_bcm_qos_cbs_s {
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_dpp_bcm_qos_alloc_cb alloc;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_dpp_bcm_qos_is_allocated_cb is_allocated;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_dpp_bcm_qos_free_cb free;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_dpp_bcm_qos_verify_cb verify;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
      sw_state_dpp_bcm_qos_init_cbs_t init;
      sw_state_dpp_bcm_qos_ing_lif_cos_mpls_bitmap_cbs_t ing_lif_cos_mpls_bitmap;
      sw_state_dpp_bcm_qos_ing_lif_cos_ipv4_bitmap_cbs_t ing_lif_cos_ipv4_bitmap;
      sw_state_dpp_bcm_qos_ing_lif_cos_ipv6_bitmap_cbs_t ing_lif_cos_ipv6_bitmap;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_inner_bitmap_cbs_t ing_lif_cos_l2_inner_bitmap;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_outer_bitmap_cbs_t ing_lif_cos_l2_outer_bitmap;
      sw_state_dpp_bcm_qos_ing_lif_cos_l2_untag_bitmap_cbs_t ing_lif_cos_l2_untag_bitmap;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_ctag_bitmap_cbs_t ing_pcp_vlan_ctag_bitmap;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_utag_bitmap_cbs_t ing_pcp_vlan_utag_bitmap;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_stag_bitmap_cbs_t ing_pcp_vlan_stag_bitmap;
      sw_state_dpp_bcm_qos_ing_pcp_vlan_color_bitmap_cbs_t ing_pcp_vlan_color_bitmap;
      sw_state_dpp_bcm_qos_egr_remark_encap_mpls_bitmap_cbs_t egr_remark_encap_mpls_bitmap;
      sw_state_dpp_bcm_qos_egr_remark_encap_ipv6_bitmap_cbs_t egr_remark_encap_ipv6_bitmap;
      sw_state_dpp_bcm_qos_egr_remark_encap_ipv4_bitmap_cbs_t egr_remark_encap_ipv4_bitmap;
      sw_state_dpp_bcm_qos_egr_remark_encap_l2_bitmap_cbs_t egr_remark_encap_l2_bitmap;
      sw_state_dpp_bcm_qos_egr_remark_mpls_bitmap_cbs_t egr_remark_mpls_bitmap;
      sw_state_dpp_bcm_qos_egr_remark_ipv6_bitmap_cbs_t egr_remark_ipv6_bitmap;
      sw_state_dpp_bcm_qos_egr_remark_ipv4_bitmap_cbs_t egr_remark_ipv4_bitmap;
      sw_state_dpp_bcm_qos_egr_mpls_php_ipv6_bitmap_cbs_t egr_mpls_php_ipv6_bitmap;
      sw_state_dpp_bcm_qos_egr_mpls_php_ipv4_bitmap_cbs_t egr_mpls_php_ipv4_bitmap;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ctag_bitmap_cbs_t egr_pcp_vlan_ctag_bitmap;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_utag_bitmap_cbs_t egr_pcp_vlan_utag_bitmap;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_stag_bitmap_cbs_t egr_pcp_vlan_stag_bitmap;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_mpls_bitmap_cbs_t egr_pcp_vlan_mpls_bitmap;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv6_bitmap_cbs_t egr_pcp_vlan_ipv6_bitmap;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_ipv4_bitmap_cbs_t egr_pcp_vlan_ipv4_bitmap;
      sw_state_dpp_bcm_qos_egr_l2_i_tag_bitmap_cbs_t egr_l2_i_tag_bitmap;
  #ifdef BCM_88660
      sw_state_dpp_bcm_qos_egr_dscp_exp_marking_bitmap_cbs_t egr_dscp_exp_marking_bitmap;
  #endif /* BCM_88660*/ 
      sw_state_dpp_bcm_qos_ing_cos_opcode_flags_cbs_t ing_cos_opcode_flags;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_dscp_exp_profile_id_cbs_t egr_pcp_vlan_dscp_exp_profile_id;
      sw_state_dpp_bcm_qos_egr_pcp_vlan_dscp_exp_enable_cbs_t egr_pcp_vlan_dscp_exp_enable;
      sw_state_dpp_bcm_qos_egr_remark_encap_enable_cbs_t egr_remark_encap_enable;
      sw_state_dpp_bcm_qos_dp_max_cbs_t dp_max;
      sw_state_dpp_bcm_qos_opcode_bmp_cbs_t opcode_bmp;
  } sw_state_dpp_bcm_qos_cbs_t;
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  int sw_state_dpp_bcm_qos_access_cb_init(int unit);
  
  #endif /* _SHR_SW_STATE_DPP_BCM_QOS_ACCESS_H_ */
  