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

Go to the source code of this file.

Macros

#define OPEN_AUTO_VLAN_FIRST_MAC_OUI_INDEX   0
 
#define OPEN_AUTO_VLAN_MAX_MAC_OUIS   L7_AUTO_VLAN_MAX_MAC_OUIS
 
#define OPEN_AUTO_VLAN_OUI_DESC_STRINGLEN   AUTO_VLAN_OUI_DESC_STRINGLEN
 
#define OPEN_AUTO_VLAN_OUI_LEN   AUTO_VLAN_OUI_LEN
 
#define OPEN_AUTO_VLAN_OUI_STR_MAX_LEN   9
 
#define OPEN_DEFAULT_AUTO_CAMERA_PRIORITY   7
 
#define OPEN_DEFAULT_AUTO_CAMERA_STATUS   OPEN_DISABLE
 
#define OPEN_DEFAULT_AUTO_CAMERA_VLAN   0
 
#define OPEN_DEFAULT_AUTO_WIFI_PRIORITY   7
 
#define OPEN_DEFAULT_AUTO_WIFI_STATUS   OPEN_DISABLE
 
#define OPEN_DEFAULT_AUTO_WIFI_VLAN   0
 
#define OPEN_QOS_AUTO_VLAN_DYNAMIC_VLAN_SUPPORT   L7_FALSE
 

Enumerations

enum  OPEN_AUTO_VLAN_TYPES_t { OPEN_AUTO_VLAN_FIRST = 0, OPEN_AUTO_VLAN_CAMERA = 0, OPEN_AUTO_VLAN_WIFI, OPEN_AUTO_VLAN_LAST }
 < Auto VLAN Types More...
 

Functions

open_error_t openapiQosAutoVlanDetectedDevicesGet (openapiClientHandle_t *client_handle, OPEN_AUTO_VLAN_TYPES_t autoVlanType, uint32_t *count)
 Gets the count of devices learned for given Auto VLAN type. More...
 
open_error_t openapiQosAutoVlanGlobalModeGet (openapiClientHandle_t *client_handle, OPEN_AUTO_VLAN_TYPES_t autoVlanType, OPEN_CONTROL_t *mode)
 Gets the AUTO VLAN global status. More...
 
open_error_t openapiQosAutoVlanGlobalModeSet (openapiClientHandle_t *client_handle, OPEN_AUTO_VLAN_TYPES_t autoVlanType, OPEN_CONTROL_t mode)
 Enables or disables the AUTO VLAN global status. More...
 
open_error_t openapiQosAutoVlanIdGet (openapiClientHandle_t *client_handle, OPEN_AUTO_VLAN_TYPES_t autoVlanType, uint32_t *vlanId)
 Gets the vlan Id configured for Auto VLAN type. More...
 
open_error_t openapiQosAutoVlanIdSet (openapiClientHandle_t *client_handle, OPEN_AUTO_VLAN_TYPES_t autoVlanType, uint32_t vlanId)
 Sets the VLAN for autoVlan traffic on switch. More...
 
open_error_t openapiQosAutoVlanIndexOuiAdd (openapiClientHandle_t *client_handle, OPEN_AUTO_VLAN_TYPES_t autoVlanType, uint32_t ouiIndex, open_buffdesc *autoVlanOui, open_buffdesc *autoOuiDesc)
 Adds Auto VLAN OUI entry at particular Index. More...
 
open_error_t openapiQosAutoVlanIndexOuiRemove (openapiClientHandle_t *client_handle, uint32_t ouiIndex)
 Removes Auto VLAN OUI entry at particular Index. More...
 
open_error_t openapiQosAutoVlanIntfModeGet (openapiClientHandle_t *client_handle, OPEN_AUTO_VLAN_TYPES_t autoVlanType, uint32_t ifNum, OPEN_CONTROL_t *mode)
 Gets the status of AUTO VLAN on interface. More...
 
open_error_t openapiQosAutoVlanIntfModeSet (openapiClientHandle_t *client_handle, OPEN_AUTO_VLAN_TYPES_t autoVlanType, uint32_t ifNum, OPEN_CONTROL_t mode)
 Enables or disables the AUTO VLAN status on interface. More...
 
open_error_t openapiQoSAutoVlanIsValidIntf (openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_BOOL_t *isValid)
 Determine if the interface is valid for AUTO VLAN configuration. More...
 
open_error_t openapiQosAutoVlanLearnedEntryNextGet (openapiClientHandle_t *client_handle, uint32_t index, open_buffdesc *autoVlanMac, OPEN_AUTO_VLAN_TYPES_t *autoVlanType, uint32_t *intIfNum, uint32_t *nextIndex)
 Gets the Auto VLAN learned entry and next index. More...
 
open_error_t openapiQosAutoVlanOuiAdd (openapiClientHandle_t *client_handle, OPEN_AUTO_VLAN_TYPES_t autoVlanType, open_buffdesc *autoVlanOui, open_buffdesc *autoOuiDesc)
 Adds Auto VLAN OUI entry. More...
 
open_error_t openapiQosAutoVlanOuiCountGet (openapiClientHandle_t *client_handle, OPEN_AUTO_VLAN_TYPES_t autoVlanType, uint32_t *autoVlanOuiCount)
 Gets the count of OUIs already configured. More...
 
open_error_t openapiQosAutoVlanOuiDescGet (openapiClientHandle_t *client_handle, OPEN_AUTO_VLAN_TYPES_t autoVlanType, open_buffdesc *autoVlanOui, open_buffdesc *autoOuiDesc)
 Gets the autoVlan OUI description, given OUI entry string. More...
 
open_error_t openapiQosAutoVlanOuiEntryGet (openapiClientHandle_t *client_handle, OPEN_AUTO_VLAN_TYPES_t autoVlanType, uint32_t currentIndex, open_buffdesc *autoVlanOui, open_buffdesc *autoOuiDesc)
 Gets Auto VLAN OUI entry details. More...
 
open_error_t openapiQosAutoVlanOuiEntryNextGet (openapiClientHandle_t *client_handle, OPEN_AUTO_VLAN_TYPES_t autoVlanType, uint32_t currentIndex, uint32_t *nextOuiIndex)
 Gets Auto VLAN OUI next index. More...
 
open_error_t openapiQosAutoVlanOuiFirstEntryGet (openapiClientHandle_t *client_handle, OPEN_AUTO_VLAN_TYPES_t autoVlanType, uint32_t *firstIndex)
 Gets first Auto VLAN OUI Index. More...
 
open_error_t openapiQosAutoVlanOuiRemove (openapiClientHandle_t *client_handle, OPEN_AUTO_VLAN_TYPES_t autoVlanType, open_buffdesc *autoVlanOui)
 Removes Auto Vlan OUI entry. More...
 
open_error_t openapiQosAutoVlanPortStatusGet (openapiClientHandle_t *client_handle, OPEN_AUTO_VLAN_TYPES_t autoVlanType, uint32_t ifNum, OPEN_CONTROL_t *status)
 Gets Auto VLAN operational port status. More...
 
open_error_t openapiQosAutoVlanPriorityGet (openapiClientHandle_t *client_handle, OPEN_AUTO_VLAN_TYPES_t autoVlanType, uint32_t *autoVlanPriority)
 Gets the Priority for Auto VLAN traffic on switch. More...
 
open_error_t openapiQosAutoVlanPrioritySet (openapiClientHandle_t *client_handle, OPEN_AUTO_VLAN_TYPES_t autoVlanType, uint32_t autoVlanPriority)
 Sets the Priority for Auto VLAN traffic on switch. More...
 
open_error_t openapiQosAutoVlanValidIntfFirstGet (openapiClientHandle_t *client_handle, uint32_t *ifNum)
 Get the first interface that is valid for Auto VLAN. More...
 
open_error_t openapiQosAutoVlanValidIntfNextGet (openapiClientHandle_t *client_handle, uint32_t prevIfNum, uint32_t *nextIfNum)
 Get the next interface that is valid for auto VLAN. More...