switch_reflector.h (835B)
1 /** \file bcm_int/dnx/switch/switch_reflector.h 2 * 3 * Internal DNX SWITCH-REFLECTOR APIs 4 * 5 * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. 6 * 7 * Copyright 2007-2020 Broadcom Inc. All rights reserved. 8 */ 9 10 #ifndef SWITCH_REFLECTOR_H_INCLUDED 11 /* { */ 12 # define SWITCH_REFLECOTR_H_INCLUDED 13 14 # ifndef BCM_DNX_SUPPORT 15 # error "This file is for use by DNX (JR2) family only!" 16 # endif 17 /** 18 * \brief 19 * Init switch reflector module 20 * \param [in] unit - unit #. 21 * \return 22 * \retval Zero if no error was detected 23 * \retval Negative if error was detected. See \ref 24 * shr_error_e 25 * \remark 26 * * None 27 * \see 28 * * None 29 */ 30 shr_error_e dnx_switch_reflector_init( 31 int unit); 32 33 /* } */ 34 #endif /* SWITCH_REFLECTOR_H_INCLUDED */