ifa_pack.h (1226B)
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: ifa_pack.h 8 */ 9 10 #ifndef SHR_IFA_PACK_H_ 11 #define SHR_IFA_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/ifa_msg.h> 20 21 uint8* 22 shr_ifa_msg_ctrl_init_pack(uint8 *buf, shr_ifa_msg_ctrl_init_t *msg); 23 24 uint8* 25 shr_ifa_msg_ctrl_init_unpack(uint8 *buf, shr_ifa_msg_ctrl_init_t *msg); 26 27 uint8* 28 shr_ifa_msg_ctrl_collector_info_pack(uint8* buf, 29 shr_ifa_msg_ctrl_collector_info_t *msg); 30 31 uint8* 32 shr_ifa_msg_ctrl_collector_info_unpack(uint8* buf, 33 shr_ifa_msg_ctrl_collector_info_t *msg); 34 35 uint8* 36 shr_ifa_msg_ctrl_config_info_pack(uint8* buf, 37 shr_ifa_msg_ctrl_config_info_t *msg); 38 39 uint8* 40 shr_ifa_msg_ctrl_config_info_unpack(uint8* buf, 41 shr_ifa_msg_ctrl_config_info_t *msg); 42 43 uint8* 44 shr_ifa_msg_ctrl_stat_info_pack(uint8* buf, 45 shr_ifa_msg_ctrl_stat_info_t *msg); 46 47 uint8* 48 shr_ifa_msg_ctrl_stat_info_unpack(uint8* buf, 49 shr_ifa_msg_ctrl_stat_info_t *msg); 50 #endif /* SHR_IFA_PACK_H_ */