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

xflow_macsec_cmn.h (903B)


      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-2019 Broadcom Inc. All rights reserved.
      7  */
      8 #ifndef XFLOW_MACSEC_CMN_H
      9 #define XFLOW_MACSEC_CMN_H
     10 
     11 #if defined(INCLUDE_XFLOW_MACSEC)
     12 
     13 #include <bcm/xflow_macsec.h>
     14 
     15 #define BCM_XFLOW_MACSEC_SUBPORT_ID_INDEX_GET(subport_id)   \
     16         XFLOW_MACSEC_SUBPORT_ID_INDEX_GET(subport_id)
     17 
     18 #define BCM_XFLOW_MACSEC_SUBPORT_ID_DIR_TYPE_GET(subport_id) \
     19         XFLOW_MACSEC_DIR_TYPE_GET(subport_id)
     20 
     21 #define BCM_XFLOW_MACSEC_SUBPORT_ID_CREATE(flag, id) \
     22         XFLOW_MACSEC_SUBPORT_ID_CREATE(flag, id)
     23 
     24 extern int 
     25 _bcm_common_xflow_macsec_init(int unit);
     26 
     27 extern int
     28 _bcm_common_xflow_macsec_deinit(int unit);
     29 
     30 extern int
     31 _bcm_common_xflow_macsec_sync(int unit);
     32 
     33 #endif /* defined(INCLUDE_XFLOW_MACSEC) */
     34 
     35 #endif /* XFLOW_MACSEC_CMN_H */
     36