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

failover_int.h (767B)


      1 /*
      2  * DO NOT EDIT THIS FILE!
      3  * This file is auto-generated.
      4  * Edits to this file will be lost when it is regenerated.
      5  *
      6  * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
      7  * 
      8  * Copyright 2007-2020 Broadcom Inc. All rights reserved.
      9  */
     10 
     11 #ifndef BCMINT_LTSW_FAILOVER_INT_H
     12 #define BCMINT_LTSW_FAILOVER_INT_H
     13 
     14 #include <sal/sal_types.h>
     15 
     16 /*!
     17  * \brief Set PROT_NHOP_OFFSET field of LT TNL_CONTROL.
     18  *
     19  * \param [in] unit Unit Number.
     20  * \param [in] prot_offset Protection NH offset.
     21  *
     22  * \retval SHR_E_NONE No errors.
     23  * \retval !SHR_E_NONE Failure.
     24  */
     25 extern int
     26 bcmint_failover_prot_offset_set(
     27     int unit,
     28     uint16_t prot_offset);
     29 
     30 #endif /* BCMINT_LTSW_FAILOVER_INT_H */