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

Go to the source code of this file.

Enumerations

enum  OPEN_MVRP_STATS_t {
  OPEN_MVRP_STATS_RX = 0, OPEN_MVRP_STATS_RX_BAD_HEADER, OPEN_MVRP_STATS_RX_BAD_FORMAT, OPEN_MVRP_STATS_TX,
  OPEN_MVRP_STATS_TX_FAILURE, OPEN_MVRP_STATS_MSG, OPEN_MVRP_STATS_REG_FAIL
}
 
enum  OPEN_MVRP_VLAN_TYPE_t { OPEN_MVRP_VLAN_REGISTERED = 0, OPEN_MVRP_VLAN_DECLARED }
 

Functions

open_error_t openapiMvrpIntfModeGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_CONTROL_t *mode)
 Get the MVRP mode for the specified interface.
 
open_error_t openapiMvrpIntfModeSet (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_CONTROL_t mode)
 Set the MVRP mode for the given interface.
 
open_error_t openapiMvrpIntfTrafficPduCounterGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_MVRP_STATS_t type, uint32_t *counter)
 Get the value of specified MVRP counter for an interface.
 
open_error_t openapiMvrpIntfVlanArrayGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_MVRP_VLAN_TYPE_t vlanType, OPEN_VLAN_LIST_t *vlanList, uint32_t *count)
 Get MVRP VLAN array on an interface.
 
open_error_t openapiMvrpIsValidIntfGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_BOOL_t *isValid)
 Check if the current interface is valid for MVRP.
 
open_error_t openapiMvrpModeGet (openapiClientHandle_t *client_handle, OPEN_CONTROL_t *mode)
 Get the global MVRP mode.
 
open_error_t openapiMvrpModeSet (openapiClientHandle_t *client_handle, OPEN_CONTROL_t mode)
 set the global MVRP mode.
 
open_error_t openapiMvrpPeriodicStateMachineModeGet (openapiClientHandle_t *client_handle, OPEN_CONTROL_t *mode)
 Gets the MVRP periodic state machine mode.
 
open_error_t openapiMvrpPeriodicStateMachineModeSet (openapiClientHandle_t *client_handle, OPEN_CONTROL_t mode)
 Sets the MVRP periodic state machine mode.
 
open_error_t openapiMvrpTrafficCountersClear (openapiClientHandle_t *client_handle)
 Clear all MVRP traffic counters.
 
open_error_t openapiMvrpTrafficCountersPerIfClear (openapiClientHandle_t *client_handle, uint32_t intIfNum)
 Clear MVRP traffic counters on specified interface.
 
open_error_t openapiMvrpTrafficGlobalCountersClear (openapiClientHandle_t *client_handle)
 Clear global MVRP traffic counters.
 
open_error_t openapiMvrpTrafficPduCounterGet (openapiClientHandle_t *client_handle, OPEN_MVRP_STATS_t type, uint32_t *counter)
 Get the value of specified MVRP counter.
 
open_error_t openapiMvrpValidIntfNextGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *nextIfNum)
 Given the current interface, get the next valid MVRP interface.
 
open_error_t openapiMvrpVlanArrayGet (openapiClientHandle_t *client_handle, OPEN_MVRP_VLAN_TYPE_t vlanType, OPEN_VLAN_LIST_t *vlanList, uint32_t *count)
 Get MVRP VLAN array in the system.