int_pack.h (1120B)
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: int_pack.h 8 */ 9 10 #ifndef SHR_INT_PACK_H_ 11 #define SHR_INT_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/int_msg.h> 20 21 uint8* 22 shr_int_turnaround_msg_ctrl_init_pack(uint8 *buf, 23 shr_int_turnaround_msg_ctrl_init_t *msg); 24 25 uint8* 26 shr_int_turnaround_msg_ctrl_init_unpack(uint8 *buf, 27 shr_int_turnaround_msg_ctrl_init_t *msg); 28 29 uint8* 30 shr_int_turnaround_msg_ctrl_config_pack(uint8* buf, 31 shr_int_turnaround_msg_ctrl_config_t *msg); 32 33 uint8* 34 shr_int_turnaround_msg_ctrl_config_unpack(uint8* buf, 35 shr_int_turnaround_msg_ctrl_config_t *msg); 36 37 uint8* 38 shr_int_turnaround_msg_ctrl_stat_pack(uint8* buf, 39 shr_int_turnaround_msg_ctrl_stat_t *msg); 40 41 uint8* 42 shr_int_turnaround_msg_ctrl_stat_unpack(uint8* buf, 43 shr_int_turnaround_msg_ctrl_stat_t *msg); 44 #endif /* SHR_INT_PACK_H_ */