algo_instru.h (1176B)
1 /** 2 * \file algo_instru.h 3 * Internal DNX instru Managment APIs 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 9 #ifndef ALGO_INSTRU_H_INCLUDED 10 /* 11 * { 12 */ 13 #define ALGO_INSTRU_H_INCLUDED 14 15 #include <shared/shrextend/shrextend_debug.h> 16 #include <bcm_int/dnx/algo/template_mngr/template_manager_types.h> 17 18 #ifndef BCM_DNX_SUPPORT 19 #error "This file is for use by DNX (JR2) family only!" 20 #endif 21 22 /** 23 * \brief - Print an entry of the UDP tunnel profile. Fields are UDP tunnel and RAW outlif 24 * entries. 25 * 26 * \param [in] unit - unit id 27 * \param [in] data - Pointer to the struct to be printed. 28 * \return 29 * \remark 30 * * None 31 * \see 32 * * None 33 */ 34 void dnx_algo_instru_sflow_destination_profile_print_cb( 35 int unit, 36 const void *data); 37 38 /** 39 * \brief - Intialize instru algorithms. 40 * 41 * \param [in] unit - unit id 42 * 43 * \return 44 * shr_error_e 45 * 46 * \remark 47 * * None 48 * \see 49 * * None 50 */ 51 shr_error_e dnx_algo_instru_init( 52 int unit); 53 54 /* 55 * } 56 */ 57 #endif/*_ALGO_INSTRU_API_INCLUDED__*/