ft_pack.h (6478B)
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: ft_pack.h 8 */ 9 10 #ifndef SHR_FT_PACK_H_ 11 #define SHR_FT_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/ft_msg.h> 20 21 uint8* 22 shr_ft_msg_ctrl_init_pack(uint8 *buf, shr_ft_msg_ctrl_init_t *msg); 23 24 uint8* 25 shr_ft_msg_ctrl_init_unpack(uint8 *buf, shr_ft_msg_ctrl_init_t *msg); 26 27 uint8* 28 shr_ft_msg_ctrl_em_key_format_pack(uint8 *buf, 29 shr_ft_msg_ctrl_em_key_format_t *msg); 30 31 uint8* 32 shr_ft_msg_ctrl_em_key_format_unpack(uint8 *buf, 33 shr_ft_msg_ctrl_em_key_format_t *msg); 34 35 uint8* 36 shr_ft_msg_ctrl_em_group_create_pack(uint8 *buf, 37 shr_ft_msg_ctrl_em_group_create_t *msg); 38 39 uint8* 40 shr_ft_msg_ctrl_em_group_create_unpack(uint8 *buf, 41 shr_ft_msg_ctrl_em_group_create_t *msg); 42 43 uint8* 44 shr_ft_msg_ctrl_group_create_pack(uint8 *buf, 45 shr_ft_msg_ctrl_group_create_t *msg); 46 47 uint8* 48 shr_ft_msg_ctrl_group_create_unpack(uint8 *buf, 49 shr_ft_msg_ctrl_group_create_t *msg); 50 51 uint8* 52 shr_ft_msg_ctrl_group_get_pack(uint8* buf, shr_ft_msg_ctrl_group_get_t *msg); 53 54 uint8* 55 shr_ft_msg_ctrl_group_get_unpack(uint8* buf, shr_ft_msg_ctrl_group_get_t *msg); 56 57 uint8* 58 shr_ft_msg_ctrl_group_update_pack(uint8* buf, 59 shr_ft_msg_ctrl_group_update_t *msg); 60 61 uint8* 62 shr_ft_msg_ctrl_group_update_unpack(uint8* buf, 63 shr_ft_msg_ctrl_group_update_t *msg); 64 65 uint8* 66 shr_ft_msg_ctrl_template_create_pack(uint8* buf, 67 shr_ft_msg_ctrl_template_create_t *msg); 68 69 uint8* 70 shr_ft_msg_ctrl_template_create_unpack(uint8* buf, 71 shr_ft_msg_ctrl_template_create_t *msg); 72 73 uint8* 74 shr_ft_msg_ctrl_template_get_pack(uint8* buf, 75 shr_ft_msg_ctrl_template_get_t *msg); 76 77 uint8* 78 shr_ft_msg_ctrl_template_get_unpack(uint8* buf, 79 shr_ft_msg_ctrl_template_get_t *msg); 80 81 uint8* 82 shr_ft_msg_ctrl_collector_create_pack(uint8* buf, 83 shr_ft_msg_ctrl_collector_create_t *msg); 84 85 uint8* 86 shr_ft_msg_ctrl_collector_create_unpack(uint8* buf, 87 shr_ft_msg_ctrl_collector_create_t *msg); 88 89 uint8* 90 shr_ft_msg_ctrl_collector_get_pack(uint8* buf, 91 shr_ft_msg_ctrl_collector_get_t *msg); 92 93 uint8* 94 shr_ft_msg_ctrl_collector_get_unpack(uint8* buf, 95 shr_ft_msg_ctrl_collector_get_t *msg); 96 97 uint8* 98 shr_ft_msg_ctrl_group_flow_data_get_pack(uint8* buf, 99 shr_ft_msg_ctrl_group_flow_data_get_t *msg); 100 101 uint8* 102 shr_ft_msg_ctrl_group_flow_data_get_unpack( 103 uint8* buf, 104 shr_ft_msg_ctrl_group_flow_data_get_t *msg); 105 106 uint8* 107 shr_ft_msg_ctrl_group_flow_data_get_reply_pack( 108 uint8* buf, 109 shr_ft_msg_ctrl_group_flow_data_get_reply_t *msg); 110 uint8* 111 shr_ft_msg_ctrl_group_flow_data_get_reply_unpack( 112 uint8* buf, 113 shr_ft_msg_ctrl_group_flow_data_get_reply_t *msg); 114 uint8* 115 shr_ft_msg_ctrl_ser_event_pack(uint8* buf, shr_ft_msg_ctrl_ser_event_t *msg); 116 117 uint8* 118 shr_ft_msg_ctrl_ser_event_unpack(uint8* buf, shr_ft_msg_ctrl_ser_event_t *msg); 119 120 uint8* 121 shr_ft_msg_ctrl_template_xmit_pack(uint8* buf, 122 shr_ft_msg_ctrl_template_xmit_t *msg); 123 124 uint8* 125 shr_ft_msg_ctrl_template_xmit_unpack(uint8* buf, 126 shr_ft_msg_ctrl_template_xmit_t *msg); 127 128 uint8* 129 shr_ft_msg_ctrl_elph_profile_create_pack(uint8* buf, 130 shr_ft_msg_ctrl_elph_profile_create_t *msg); 131 132 uint8* 133 shr_ft_msg_ctrl_elph_profile_create_unpack(uint8* buf, 134 shr_ft_msg_ctrl_elph_profile_create_t *msg); 135 136 uint8* 137 shr_ft_msg_ctrl_elph_profile_get_pack(uint8* buf, 138 shr_ft_msg_ctrl_elph_profile_get_t *msg); 139 140 uint8* 141 shr_ft_msg_ctrl_elph_profile_get_unpack(uint8* buf, 142 shr_ft_msg_ctrl_elph_profile_get_t *msg); 143 144 uint8* 145 shr_ft_msg_ctrl_stats_learn_get_pack(uint8* buf, 146 shr_ft_msg_ctrl_stats_learn_t *msg); 147 148 uint8* 149 shr_ft_msg_ctrl_stats_learn_get_unpack(uint8* buf, 150 shr_ft_msg_ctrl_stats_learn_t *msg); 151 152 uint8* 153 shr_ft_msg_ctrl_stats_export_get_pack(uint8* buf, 154 shr_ft_msg_ctrl_stats_export_t *msg); 155 156 uint8* 157 shr_ft_msg_ctrl_stats_export_get_unpack(uint8* buf, 158 shr_ft_msg_ctrl_stats_export_t *msg); 159 160 uint8* 161 shr_ft_msg_ctrl_stats_age_get_pack(uint8* buf, 162 shr_ft_msg_ctrl_stats_age_t *msg); 163 164 uint8* 165 shr_ft_msg_ctrl_stats_age_get_unpack(uint8* buf, 166 shr_ft_msg_ctrl_stats_age_t *msg); 167 168 uint8* 169 shr_ft_msg_ctrl_stats_elph_get_pack(uint8* buf, 170 shr_ft_msg_ctrl_stats_elph_t *msg); 171 172 uint8* 173 shr_ft_msg_ctrl_stats_elph_get_unpack(uint8* buf, 174 shr_ft_msg_ctrl_stats_elph_t *msg); 175 176 uint8* 177 shr_ft_msg_ctrl_sdk_features_pack(uint8* buf, 178 shr_ft_msg_ctrl_sdk_features_t *msg); 179 180 uint8* 181 shr_ft_msg_ctrl_sdk_features_unpack(uint8* buf, 182 shr_ft_msg_ctrl_sdk_features_t *msg); 183 184 uint8* 185 shr_ft_msg_ctrl_uc_features_pack(uint8* buf, 186 shr_ft_msg_ctrl_uc_features_t *msg); 187 188 uint8* 189 shr_ft_msg_ctrl_uc_features_unpack(uint8* buf, 190 shr_ft_msg_ctrl_uc_features_t *msg); 191 192 uint8* 193 shr_ft_msg_ctrl_group_actions_set_pack(uint8* buf, 194 shr_ft_msg_ctrl_group_actions_set_t *msg); 195 196 uint8* 197 shr_ft_msg_ctrl_group_actions_set_unpack(uint8* buf, 198 shr_ft_msg_ctrl_group_actions_set_t *msg); 199 200 #endif /* SHR_FT_PACK_H_ */