openbcm

Git mirror of https://github.com/Broadcom-Network-Switching-Software/OpenBCM
git clone git://git.finwo.net/mirror/broadcom/openbcm
Log | Files | Refs | README

dfe_multicast_id_map.h (842B)


      1 /*
      2  * 
      3  *
      4  * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
      5  * 
      6  * Copyright 2007-2020 Broadcom Inc. All rights reserved.
      7  *
      8  * DFE MULTICAST ID MAP H
      9  */
     10  
     11 #ifndef _BCM_DFE_MULTICAST_ID_MAP_H_
     12 #define _BCM_DFE_MULTICAST_ID_MAP_H_
     13 
     14 #include <bcm/types.h>
     15 #include <soc/dfe/cmn/dfe_defs.h>
     16 
     17 int bcm_dfe_multicst_id_map_init(int unit, soc_dfe_multicast_table_mode_t mc_mode);
     18 int bcm_dfe_multicst_id_map_clear_id(int unit, int id);
     19 int bcm_dfe_multicst_id_map_mark_id(int unit, int id);
     20 int bcm_dfe_multicst_id_map_is_legal_id(int unit, bcm_multicast_t id, int* is_legal);
     21 int bcm_dfe_multicst_id_map_is_free_id(int unit, int id, int* is_free);
     22 int bcm_dfe_multicst_id_map_get_free_id(int unit, bcm_multicast_t* id);
     23 
     24 
     25 #endif /*_BCM_DFE_MULTICAST_ID_MAP_H_*/