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

Go to the source code of this file.

Macros

#define OPEN_VOICE_VLAN_DOT1P_MAX   7
 Maximum value for DOT1P.
 
#define OPEN_VOICE_VLAN_DOT1P_MIN   0
 Minimum value for DOT1P.
 
#define OPEN_VOICE_VLAN_DSCP_MAX   64
 Maximum value for DSCP.
 
#define OPEN_VOICE_VLAN_DSCP_MIN   0
 Minimum value for DSCP.
 

Enumerations

enum  OPEN_VOICE_VLAN_CONFIG_TYPE_t {
  OPEN_VOICE_VLAN_CONFIG_DISABLE = 0, OPEN_VOICE_VLAN_CONFIG_VLAN_ID = 1, OPEN_VOICE_VLAN_CONFIG_DOT1P = 2, OPEN_VOICE_VLAN_CONFIG_NONE = 3,
  OPEN_VOICE_VLAN_CONFIG_UNTAGGED = 4
}
 

Functions

open_error_t openapiVoiceVlanAdminModeGet (openapiClientHandle_t *client_handle, OPEN_CONTROL_t *mode)
 Gets Voice VLAN global administrative mode. More...
 
open_error_t openapiVoiceVlanAdminModeSet (openapiClientHandle_t *client_handle, OPEN_CONTROL_t mode)
 Sets Voice VLAN global administrative mode. More...
 
open_error_t openapiVoiceVlanPortAdminModeGet (openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_VOICE_VLAN_CONFIG_TYPE_t *mode)
 Get the Voice VLAN interface mode. More...
 
open_error_t openapiVoiceVlanPortAdminModeSet (openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_VOICE_VLAN_CONFIG_TYPE_t mode, uint32_t dataValue)
 Set the Voice VLAN interface mode. More...
 
open_error_t openapiVoiceVlanPortAuthStateGet (openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_CONTROL_t *state)
 Get voice vlan Auth State. More...
 
open_error_t openapiVoiceVlanPortAuthStateSet (openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_CONTROL_t state)
 Set voice vlan Auth State. More...
 
open_error_t openapiVoiceVlanPortCosOverrideModeGet (openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_CONTROL_t *mode)
 Get the value of the cos override mode. More...
 
open_error_t openapiVoiceVlanPortCosOverrideModeSet (openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_CONTROL_t mode)
 Set the value of the cos override mode. More...
 
open_error_t openapiVoiceVlanPortDot1pPriorityGet (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t *priority)
 Get the Voice VLAN port DOT1P priority. More...
 
open_error_t openapiVoiceVlanPortDot1pPrioritySet (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t dot1pPriority)
 Set the value of the dot1p. More...
 
open_error_t openapiVoiceVlanPortDscpGet (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t *dscp)
 Get the value of the dscp. More...
 
open_error_t openapiVoiceVlanPortDscpSet (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t dscp)
 Set the value of the dscp. More...
 
open_error_t openapiVoiceVlanPortStatusGet (openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_CONTROL_t *mode)
 Get the value voice vlan status. More...
 
open_error_t openapiVoiceVlanPortVlanIdGet (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t *vlanId)
 Get the Voice VLAN port VLAN ID. More...
 
open_error_t openapiVoiceVlanPortVlanIdSet (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t vlanId)
 Set the value of the vlan ID. More...