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

Go to the source code of this file.

Macros

#define OUI_DESC_STRINGLEN   33
 
#define OUI_STR_LEN   9
 

Enumerations

enum  OPEN_QOS_VOIP_TYPE_t { OPEN_QOS_VOIP_TYPE_PROTOCOL =1, OPEN_QOS_VOIP_TYPE_OUI, OPEN_QOS_VOIP_TYPE_TOTAL }
 < Voip types More...
 
enum  OPEN_VOIP_PRI_SCHEME_t { OPEN_VOIP_PRI_REMARK = 1, OPEN_VOIP_PRI_TRAFFIC_CLASS }
 

Functions

open_error_t openapiVoipGlobalVlanIdGet (openapiClientHandle_t *client_handle, uint32_t *vlanId)
 Gets the VLAN ID for voip traffic on switch. More...
 
open_error_t openapiVoipGlobalVlanIdReset (openapiClientHandle_t *client_handle)
 Resets the VLAN ID for voip traffic on switch. More...
 
open_error_t openapiVoipGlobalVlanIdSet (openapiClientHandle_t *client_handle, uint32_t vlanId)
 Sets the VLAN ID for voip traffic on switch. More...
 
open_error_t openapiVoipIndexOuiAdd (openapiClientHandle_t *client_handle, uint32_t ouiIndex, open_buffdesc *voipOui, open_buffdesc *ouiDesc)
 Adds a voip OUI entry in the given index. More...
 
open_error_t openapiVoipIndexOuiRemove (openapiClientHandle_t *client_handle, uint32_t ouiIndex)
 Removes a voip OUI entry in the given index. More...
 
open_error_t openapiVoipIntfModeGet (openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_QOS_VOIP_TYPE_t type, OPEN_CONTROL_t *mode)
 Gets the VOIP profile mode on interface. More...
 
open_error_t openapiVoipIntfModeSet (openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_QOS_VOIP_TYPE_t type, OPEN_CONTROL_t mode)
 Sets the VOIP profile mode on interface. More...
 
open_error_t openapiVoipIntfOUIStatusGet (openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_LINK_STATE_t *val)
 Gets VoIP OUI mode operational port status. More...
 
open_error_t openapiVoipIntfProtocolStatusGet (openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_LINK_STATE_t *val)
 Gets VoIP Protocol mode operational port status. More...
 
open_error_t openapiVoipMaxCallsGet (openapiClientHandle_t *client_handle, uint32_t *maxCalls)
 Get the maximum number of Auto-VoIP calls supported. More...
 
open_error_t openapiVoipNumActiveProtocolSessionsGet (openapiClientHandle_t *client_handle, uint32_t *sessions)
 Gets VoIP Protocol Mode Active Sessions. More...
 
open_error_t openapiVoipOuiAdd (openapiClientHandle_t *client_handle, open_buffdesc *voipOui, open_buffdesc *ouiDesc)
 Adds a voip OUI entry. More...
 
open_error_t openapiVoipOuiCountGet (openapiClientHandle_t *client_handle, uint32_t *voipOuiCount)
 Gets the count of OUIs present in voip database. More...
 
open_error_t openapiVoipOuiDescGet (openapiClientHandle_t *client_handle, open_buffdesc *voipOui, open_buffdesc *ouiDesc)
 Gets the voip OUI description for a given OUI. More...
 
open_error_t openapiVoipOuiEntryGet (openapiClientHandle_t *client_handle, uint32_t ouiIndex, open_buffdesc *voipOui, open_buffdesc *ouiDesc)
 Gets the voip OUI entry for the index. More...
 
open_error_t openapiVoipOuiEntryNextGet (openapiClientHandle_t *client_handle, uint32_t ouiIndex, open_buffdesc *voipOui, open_buffdesc *ouiDesc, uint32_t *nextOuiIndex)
 Gets the voip OUI entry for the given index and also returns next OUI Index. More...
 
open_error_t openapiVoipOuiFirstEntryGet (openapiClientHandle_t *client_handle, open_buffdesc *voipOui, open_buffdesc *ouiDesc)
 Gets the first voip OUI entry. More...
 
open_error_t openapiVoipOuiNextEntryGet (openapiClientHandle_t *client_handle, open_buffdesc *voipOui, open_buffdesc *nextVoipOui, open_buffdesc *nextOuiDesc)
 Gets the next voip OUI entry for a given OUI. More...
 
open_error_t openapiVoipOUIPriorityGet (openapiClientHandle_t *client_handle, uint32_t *priority)
 Gets the priority for voip traffic on switch. More...
 
open_error_t openapiVoipOUIPrioritySet (openapiClientHandle_t *client_handle, uint32_t priority)
 Sets the priority for voip traffic on switch. More...
 
open_error_t openapiVoipOuiRemove (openapiClientHandle_t *client_handle, open_buffdesc *voipOui)
 Removes a voip OUI entry. More...
 
open_error_t openapiVoipProfileCosQueueGet (openapiClientHandle_t *client_handle, OPEN_VOIP_PRI_SCHEME_t *pType, uint32_t *pTypeVal)
 Gets the VOIP profile Cos Queue. More...
 
open_error_t openapiVoipProfileCosQueueSet (openapiClientHandle_t *client_handle, OPEN_VOIP_PRI_SCHEME_t pType, uint32_t pTypeVal)
 Sets the VOIP profile cos queue. More...