sum_pack.h (794B)
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 * File: sum_pack.h 8 */ 9 10 #ifndef SHR_SUM_PACK_H_ 11 #define SHR_SUM_PACK_H_ 12 13 #ifdef BCM_UKERNEL 14 /* Build for uKernel not SDK */ 15 #include "sdk_typedefs.h" 16 #else 17 #include <sal/types.h> 18 #endif 19 #include <soc/shared/sum_msg.h> 20 21 uint8* 22 shr_sum_msg_ctrl_config_pack(uint8 *buf, shr_sum_msg_ctrl_config_t *msg); 23 24 uint8* 25 shr_sum_msg_ctrl_config_unpack(uint8 *buf, shr_sum_msg_ctrl_config_t *msg); 26 27 uint8* 28 shr_sum_msg_ctrl_stat_config_pack(uint8 *buf, shr_sum_msg_buf_info_t *msg); 29 30 uint8* 31 shr_sum_msg_ctrl_stat_config_unpack(uint8 *buf, shr_sum_msg_buf_info_t *msg); 32 #endif /* SHR_SUM_PACK_H_ */