openbcm

Git mirror of https://github.com/Broadcom-Network-Switching-Software/OpenBCM
git clone git://git.finwo.net/mirror/broadcom/openbcm
Log | Files | Refs | README

st_pack.h (2594B)


      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:    st_pack.h
      8  */
      9 
     10 #ifndef SHR_ST_PACK_H_
     11 #define SHR_ST_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/st_msg.h>
     20 
     21 
     22 uint8*
     23 shr_st_msg_ctrl_init_pack(uint8 *buf, shr_st_msg_ctrl_init_t *msg);
     24 
     25 uint8*
     26 shr_st_msg_ctrl_init_unpack(uint8 *buf, shr_st_msg_ctrl_init_t *msg);
     27 
     28 uint8*
     29 shr_st_msg_ctrl_ports_add_pack(uint8 *buf, shr_st_msg_ctrl_ports_add_t *msg);
     30 
     31 uint8*
     32 shr_st_msg_ctrl_ports_add_unpack(uint8 *buf, shr_st_msg_ctrl_ports_add_t *msg);
     33 
     34 uint8*
     35 shr_st_msg_ctrl_ports_get_pack(uint8 *buf, shr_st_msg_ctrl_ports_get_t *msg);
     36 
     37 uint8*
     38 shr_st_msg_ctrl_ports_get_unpack(uint8 *buf, shr_st_msg_ctrl_ports_get_t *msg);
     39 
     40 uint8*
     41 shr_st_msg_ctrl_ports_delete_pack(uint8 *buf, shr_st_msg_ctrl_ports_delete_t *msg);
     42 
     43 uint8*
     44 shr_st_msg_ctrl_ports_delete_unpack(uint8 *buf, shr_st_msg_ctrl_ports_delete_t *msg);
     45 
     46 uint8*
     47 shr_st_msg_ctrl_instance_create_pack(uint8 *buf, shr_st_msg_ctrl_instance_create_t *msg);
     48 
     49 uint8*
     50 shr_st_msg_ctrl_instance_create_unpack(uint8 *buf, shr_st_msg_ctrl_instance_create_t *msg);
     51 
     52 uint8*
     53 shr_st_msg_ctrl_instance_get_pack(uint8 *buf, shr_st_msg_ctrl_instance_get_t *msg);
     54 
     55 uint8*
     56 shr_st_msg_ctrl_instance_get_unpack(uint8 *buf, shr_st_msg_ctrl_instance_get_t *msg);
     57 
     58 uint8*
     59 shr_st_msg_ctrl_collector_create_pack(uint8* buf,
     60                                       shr_st_msg_ctrl_collector_create_t *msg);
     61 
     62 uint8*
     63 shr_st_msg_ctrl_collector_create_unpack(uint8* buf,
     64                                         shr_st_msg_ctrl_collector_create_t *msg);
     65 
     66 uint8*
     67 shr_st_msg_ctrl_instance_collector_attach_pack(uint8* buf,
     68                                                shr_st_msg_ctrl_instance_collector_attach_t *msg);
     69 
     70 uint8*
     71 shr_st_msg_ctrl_instance_collector_attach_unpack(uint8* buf,
     72                                                  shr_st_msg_ctrl_instance_collector_attach_t *msg);
     73 uint8* shr_st_msg_system_id_pack(uint8 *buf, shr_st_msg_system_id_t *msg);
     74 
     75 uint8* shr_st_msg_system_id_unpack(uint8 *buf, shr_st_msg_system_id_t *msg);
     76 
     77 uint8* shr_st_msg_instance_export_stats_pack(uint8 *buf,
     78                                              shr_st_msg_instance_export_stats_t *msg);
     79 
     80 uint8* shr_st_msg_instance_export_stats_unpack(uint8 *buf,
     81                                                shr_st_msg_instance_export_stats_t *msg);
     82 
     83 #endif /* SHR_ST_PACK_H_ */