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

stack.c (651B)


      1 /*
      2  * 
      3  * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
      4  * 
      5  * Copyright 2007-2019 Broadcom Inc. All rights reserved.
      6  */
      7 
      8 #include <bcm/stack.h>
      9 #include <sal/core/libc.h>
     10 
     11 /*
     12  * Function:
     13  *      bcm_stk_modid_config_t_init
     14  * Purpose:
     15  *      Initialize a bcm_stk_modid_config_t struct.
     16  * Parameters:
     17  *      pconfig - Pointer to the bcm_stk_modid_config_t struct.
     18  * Returns:
     19  *      NONE
     20  */
     21 void
     22 bcm_stk_modid_config_t_init(bcm_stk_modid_config_t *pconfig)
     23 {
     24     if (pconfig != NULL) {
     25         sal_memset(pconfig, 0, sizeof (*pconfig));
     26     }
     27     return;
     28 }
     29