ifa2_pack.h (1854B)
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-2020 Broadcom Inc. All rights reserved. 6 * 7 * File: ifa2_pack.h 8 * Purpose: IFAv2.0 message packing functions. 9 */ 10 11 #ifndef _BCM_INT_IFA2_PACK_H_ 12 #define _BCM_INT_IFA2_PACK_H_ 13 14 #include <soc/shared/ifa2_msg.h> 15 16 uint8 * 17 _bcm_xgs5_ifa2_msg_ctrl_init_pack(uint8 *buf, 18 shr_ifa2_msg_ctrl_init_t *msg); 19 20 uint8 * 21 _bcm_xgs5_ifa2_msg_ctrl_md_format_set_pack(uint8 *buf, 22 shr_ifa2_msg_ctrl_md_format_set_t *msg); 23 24 uint8 * 25 _bcm_xgs5_ifa2_msg_ctrl_config_update_pack(uint8 *buf, 26 shr_ifa2_msg_ctrl_config_update_t *msg); 27 28 uint8 * 29 _bcm_xgs5_ifa2_msg_ctrl_collector_create_pack(uint8 *buf, 30 shr_ifa2_msg_ctrl_collector_create_t *msg); 31 32 uint8 * 33 _bcm_xgs5_ifa2_msg_ctrl_stats_set_pack(uint8 *buf, 34 shr_ifa2_msg_ctrl_stats_set_t *msg); 35 36 uint8 * 37 _bcm_xgs5_ifa2_msg_ctrl_stats_get_unpack(uint8 *buf, 38 shr_ifa2_msg_ctrl_stats_get_t *msg); 39 40 uint8 * 41 _bcm_xgs5_ifa2_msg_ctrl_template_pack(uint8 *buf, 42 shr_ifa2_msg_export_template_info_t *msg); 43 44 uint8 * 45 _bcm_xgs5_ifa2_msg_ctrl_template_unpack(uint8 *buf, 46 shr_ifa2_msg_export_template_info_t *msg); 47 48 uint8 * 49 _bcm_xgs5_ifa2_msg_ctrl_template_xmit_pack(uint8 *buf, 50 shr_ifa2_msg_ctrl_template_xmit_t *msg); 51 52 uint8 * 53 _bcm_xgs5_ifa2_msg_ctrl_template_xmit_unpack(uint8 *buf, 54 shr_ifa2_msg_ctrl_template_xmit_t *msg); 55 #endif /* _BCM_INT_IFA2_PACK_H_ */