niv.h (1004B)
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-2020 Broadcom Inc. All rights reserved. 6 * 7 * This file contains NIV definitions internal to the BCM library. 8 */ 9 10 #ifndef _BCM_INT_NIV_H 11 #define _BCM_INT_NIV_H 12 13 #if defined(INCLUDE_L3) 14 15 extern int _bcm_esw_niv_port_source_vp_lag_set(int unit, bcm_gport_t gport, 16 int vp_lag_vp); 17 extern int _bcm_esw_niv_port_source_vp_lag_clear(int unit, bcm_gport_t gport, 18 int vp_lag_vp); 19 extern int _bcm_esw_niv_port_source_vp_lag_get(int unit, bcm_gport_t gport, 20 int *vp_lag_vp); 21 22 #ifdef BCM_WARM_BOOT_SUPPORT 23 extern int _bcm_esw_niv_sync(int unit); 24 #endif /* BCM_WARM_BOOT_SUPPORT */ 25 26 #ifndef BCM_SW_STATE_DUMP_DISABLE 27 extern void _bcm_niv_sw_dump(int unit); 28 #endif /* BCM_SW_STATE_DUMP_DISABLE */ 29 30 int _bcm_niv_check_init(int unit); 31 32 #define BCM_NIV_GET_ONE_EGR_OBJECT -1 33 34 #endif /* INCLUDE_L3 */ 35 36 #endif /* !_BCM_INT_NIV_H */