Open Ethernet Networking (OpEN) API Guide and Reference Manual  3.6.0.3
Macros | Functions
Provide An API To Interface With The FIP Snooping Component [OPENAPI_FIP_SNOOPING]

Macros

#define OPEN_FIP_SEND_TLV_FCOE   2
 Enable the standard FCoE TLV.
 
#define OPEN_FIP_SEND_TLV_FIP   1
 Enable the standard FIP TLV.
 
#define OPEN_FIP_SEND_TLV_NONE   0
 Disable TLV.
 

Functions

open_error_t openapiFipSnoopingForceModeSet (OPEN_CONTROL_t forceMode, uint32_t sendFlags, uint8_t priority)
 Override the FIP Snooping behavior to force it to send the TLVs. More...
 

Detailed Description

Function Documentation

open_error_t openapiFipSnoopingForceModeSet ( OPEN_CONTROL_t  forceMode,
uint32_t  sendFlags,
uint8_t  priority 
)

Override the FIP Snooping behavior to force it to send the TLVs.

Parameters
[in]forceModeEnable or disable the mode. If enabled the FIP Snooping will send TLVs out on ports even if it is disabled.
[in]sendFlagsA bitmap of flags specifying the TLVs to transmit.
[in]priorityAn integer value between 1-8 specifies the priority of the TLVs. Applies to all types of TLVs
Return values
OPEN_E_NONEAPI initialized successfully
OPEN_E_FAILError encountered in TCAM API initialization

OpEN API Version: 1.2