Open Ethernet Networking (OpEN) API Guide and Reference Manual  3.11.1.2
Enumerations | Functions
openapi_loop_protect.h File Reference
#include "openapi_common.h"

Go to the source code of this file.

Enumerations

enum  OPEN_LOOP_PROTECT_PORT_ACTION_t { OPEN_LOOP_PROTECT_ACTION_LOGMSG = 0, OPEN_LOOP_PROTECT_ACTION_SHUTDOWN, OPEN_LOOP_PROTECT_ACTION_LOGMSG_SHUTDOWN }
 

Functions

open_error_t openapiLoopProtectAdminModeGet (openapiClientHandle_t *client_handle, OPEN_CONTROL_t *adminMode)
 Gets the LoopProtection global mode. More...
 
open_error_t openapiLoopProtectAdminModeSet (openapiClientHandle_t *client_handle, OPEN_CONTROL_t adminMode)
 Sets the LoopProtection global mode. More...
 
open_error_t openapiLoopProtectAllStatsClear (openapiClientHandle_t *client_handle)
 Clears the statistics for all interfaces. More...
 
open_error_t openapiLoopProtectDisableTimerGet (openapiClientHandle_t *client_handle, uint32_t *val)
 Gets the disable duration for the port. More...
 
open_error_t openapiLoopProtectDisableTimerSet (openapiClientHandle_t *client_handle, uint32_t val)
 Sets the disable duration for the port. More...
 
open_error_t openapiLoopProtectIsLoopDetected (openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_BOOL_t *status)
 Gets the status of loop on the specified interface. More...
 
open_error_t openapiLoopProtectIsPortDisabled (openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_BOOL_t *status)
 Gets the port status. More...
 
open_error_t openapiLoopProtectIsValidIntf (openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_BOOL_t *status)
 Gets the status of an interface whether port is valid for configuration for loop protection. More...
 
open_error_t openapiLoopProtectMaxPduReceiveGet (openapiClientHandle_t *client_handle, uint32_t *val)
 Gets the maximum number of PDU's to be received on a port before action is taken. More...
 
open_error_t openapiLoopProtectMaxPduReceiveSet (openapiClientHandle_t *client_handle, uint32_t val)
 Sets the maximum number of PDU's to be received on a port before action is taken. More...
 
open_error_t openapiLoopProtectPortActionGet (openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_LOOP_PROTECT_PORT_ACTION_t *mode)
 Gets the port action for the the specified interface. More...
 
open_error_t openapiLoopProtectPortActionSet (openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_LOOP_PROTECT_PORT_ACTION_t mode)
 Sets the port action for the the specified interface. More...
 
open_error_t openapiLoopProtectPortAdminModeGet (openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_CONTROL_t *mode)
 Gets the loop protection admin mode for the interface. More...
 
open_error_t openapiLoopProtectPortAdminModeSet (openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_CONTROL_t mode)
 Sets the loop protection admin mode for the interface. More...
 
open_error_t openapiLoopProtectPortloopDetectCountGet (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t *loopCount)
 Gets the loop Count for the specified interface. More...
 
open_error_t openapiLoopProtectPortPacketRxCountGet (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t *count)
 Gets the receive loop count for the specified interface. More...
 
open_error_t openapiLoopProtectPortPacketTxCountGet (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t *count)
 Gets the transmit loop count for the specified interface. More...
 
open_error_t openapiLoopProtectPortStatsClear (openapiClientHandle_t *client_handle, uint32_t ifNum)
 Clears statistics of the specified interface. More...
 
open_error_t openapiLoopProtectPortTimeSinceLastLoopGet (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t *timeVal, OPEN_BOOL_t needUtc)
 Gets the time since last loop occured for the specified interface. More...
 
open_error_t openapiLoopProtectPortTxModeGet (openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_CONTROL_t *mode)
 Gets the transmission timer Mode for the LoopProtection PDU's. More...
 
open_error_t openapiLoopProtectPortTxModeSet (openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_CONTROL_t mode)
 Sets the transmission mode for the LoopProtection PDU's. More...
 
open_error_t openapiLoopProtectPortVlanPropertiesGet (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t *tpid, uint32_t *vlanId)
 Gets the VLAN ID and the TPID used for detecting a loop on the specified interface. More...
 
open_error_t openapiLoopProtectPortVlanPropertiesSet (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t tpid, uint32_t vlanId)
 Sets the VLAN ID and the TPID to be used for detecting a loop on the specified interface. More...
 
open_error_t openapiLoopProtectTxTimerGet (openapiClientHandle_t *client_handle, uint32_t *timerVal)
 Gets the transmission timer for the LoopProtection PDU's. More...
 
open_error_t openapiLoopProtectTxTimerSet (openapiClientHandle_t *client_handle, uint32_t timerVal)
 Sets the transmission timer for the LoopProtection PDU's. More...
 
open_error_t openapiLoopProtectValidIntfFirstGet (openapiClientHandle_t *client_handle, uint32_t *ifNum)
 Gets the first interface that is valid for loop protection. More...
 
open_error_t openapiLoopProtectValidIntfNextGet (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t *nextIfNum)
 Gets the next interface that is valid for loop protection. More...