I add my own attribute between of the CUSTOM_RANGE_START and CUSTOM_RANGE_END, and I got a error when compiled it:
/**
* @brief Attributes for L2MC group
*/
typedef enum _sai_l2mc_group_attr_t
{
/**
* @brief Start of attributes
*/
SAI_L2MC_GROUP_ATTR_START,
/**
* @brief Number of L2MC output in the group
*
* @type sai_uint32_t
* @flags READ_ONLY
*/
SAI_L2MC_GROUP_ATTR_L2MC_OUTPUT_COUNT = SAI_L2MC_GROUP_ATTR_START,
/**
* @brief L2MC member list
*
* @type sai_object_list_t
* @flags READ_ONLY
* @objects SAI_OBJECT_TYPE_L2MC_GROUP_MEMBER
*/
SAI_L2MC_GROUP_ATTR_L2MC_MEMBER_LIST,
/**
* @brief End of attributes
*/
SAI_L2MC_GROUP_ATTR_END,
/** Custom range base value */
SAI_L2MC_GROUP_ATTR_CUSTOM_RANGE_START = 0x10000000,
/**
* @brief L2MC Container default bridge id
*
* @type sai_object_id_t
* @flags CREATE_ONLY
* @objects SAI_OBJECT_TYPE_BRIDGE
* @allownull true
* @default SAI_NULL_OBJECT_ID
*/
SAI_L2MC_GROUP_ATTR_CUSTOM_L2MC_CONTAINER_BRIDGE_ID,
/** End of custom range base */
SAI_L2MC_GROUP_ATTR_CUSTOM_RANGE_END
} sai_l2mc_group_attr_t;