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

bfd_sdk_pack.h (1811B)


      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:    bfd_feature.h
      8  */
      9 
     10 #ifndef BFD_SDK_PACK_H_
     11 #define BFD_SDK_PACK_H_
     12 
     13 #include <soc/shared/bfd_msg.h>
     14 #include <bcm_int/dpp/bfd_sdk_msg.h>
     15 
     16 uint8 *
     17 bfd_sdk_dpp_msg_ctrl_sess_set_pack(uint8 *buf,
     18                                 bfd_sdk_msg_ctrl_sess_set_t *msg);
     19 
     20 uint8 *
     21 bfd_sdk_dpp_msg_ctrl_sess_get_unpack(uint8 *buf,
     22                                  bfd_sdk_msg_ctrl_sess_get_t *msg);
     23 uint8 *
     24 bfd_sdk_dpp_msg_ctrl_init_pack(uint8 *buf, bfd_sdk_msg_ctrl_init_t *msg);
     25 
     26 uint8 * bfd_sdk_dpp_msg_ctrl_trace_log_enable_unpack(uint8 *buf,
     27                                                      bfd_sdk_msg_ctrl_trace_log_enable_t *msg);
     28 uint8 *
     29 bfd_sdk_dpp_msg_ctrl_stat_req_pack(uint8 *buf,
     30                                    shr_bfd_msg_ctrl_stat_req_t *msg);
     31 uint8 * bfd_sdk_dpp_msg_ctrl_stat_reply_unpack(uint8 *buf,
     32                                                      bfd_sdk_msg_ctrl_stat_reply_t *msg);
     33 uint8 *
     34 bfd_sdk_dpp_msg_ctrl_discard_stat_get_unpack(uint8 *buf,
     35                                          bfd_sdk_msg_ctrl_discard_stat_get_t *msg);
     36 uint8 *
     37 bfd_sdk_dpp_msg_ctrl_auth_sha1_pack(uint8 *buf,
     38                                     shr_bfd_msg_ctrl_auth_sha1_t *msg);
     39 uint8 *
     40 bfd_sdk_dpp_msg_ctrl_auth_sha1_unpack(uint8 *buf,
     41                                       shr_bfd_msg_ctrl_auth_sha1_t *msg);
     42 uint8 *
     43 bfd_sdk_dpp_msg_ctrl_auth_sp_pack(uint8 *buf,
     44                                   shr_bfd_msg_ctrl_auth_sp_t *msg);
     45 uint8 *
     46 bfd_sdk_dpp_msg_ctrl_auth_sp_unpack(uint8 *buf,
     47                                     shr_bfd_msg_ctrl_auth_sp_t *msg);
     48 
     49 #endif /* BFD_SDK_PACK_H_ */
     50