Open Ethernet Networking (OpEN) API Guide and Reference Manual
3.6.0.3
|
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 | openapiVoiceVlanPortDot1pPriorityGet (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t *priority) |
Get the Voice VLAN port DOT1P priority. More... | |
open_error_t | openapiVoiceVlanPortVlanIdGet (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t *vlanId) |
Get the Voice VLAN port VLAN ID. More... | |
Definition at line 43 of file openapi_voice_vlan.h.
open_error_t openapiVoiceVlanAdminModeGet | ( | openapiClientHandle_t * | client_handle, |
OPEN_CONTROL_t * | mode | ||
) |
Gets Voice VLAN global administrative mode.
[in] | client_handle | client handle from registration API |
[out] | mode | administrative mode |
OPEN_E_NONE | Administrative mode get successful. |
OPEN_E_FAIL | Administrative mode get failed. |
OPEN_E_PARAM | Error in parameter passed. |
OpEN API Version: 1.14
open_error_t openapiVoiceVlanAdminModeSet | ( | openapiClientHandle_t * | client_handle, |
OPEN_CONTROL_t | mode | ||
) |
Sets Voice VLAN global administrative mode.
[in] | client_handle | client handle from registration API |
[in] | mode | administrative mode |
OPEN_E_NONE | Administrative mode set successful. |
OPEN_E_FAIL | Administrative mode set failed. |
OPEN_E_PARAM | Error in parameter passed. |
OpEN API Version: 1.14
open_error_t openapiVoiceVlanPortAdminModeGet | ( | openapiClientHandle_t * | client_handle, |
uint32_t | ifNum, | ||
OPEN_VOICE_VLAN_CONFIG_TYPE_t * | mode | ||
) |
Get the Voice VLAN interface mode.
[in] | client_handle | client handle from registration API |
[in] | ifNum | Interface ID |
[out] | mode | mode |
OPEN_E_NONE | Success |
OPEN_E_FAIL | Get failed. |
OPEN_E_PARAM | Error in parameter passed. |
OpEN API Version: 1.14
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.
[in] | client_handle | client handle from registration API |
[in] | ifNum | Interface ID |
[in] | mode | mode |
[in] | dataValue | Certain modes are configured with data. See comments for OPEN_VOICE_VLAN_CONFIG_TYPE_t for information about which modes require data. |
OPEN_E_NONE | Success |
OPEN_E_FAIL | Failure |
OPEN_E_PARAM | Error in parameter passed. |
OpEN API Version: 1.14
open_error_t openapiVoiceVlanPortDot1pPriorityGet | ( | openapiClientHandle_t * | client_handle, |
uint32_t | ifNum, | ||
uint32_t * | priority | ||
) |
Get the Voice VLAN port DOT1P priority.
[in] | client_handle | client handle from registration API |
[in] | ifNum | Interface ID |
[out] | priority | priority |
OPEN_E_NONE | Success |
OPEN_E_FAIL | Get failed. |
OPEN_E_PARAM | Error in parameter passed. |
OpEN API Version: 1.14
open_error_t openapiVoiceVlanPortVlanIdGet | ( | openapiClientHandle_t * | client_handle, |
uint32_t | ifNum, | ||
uint32_t * | vlanId | ||
) |
Get the Voice VLAN port VLAN ID.
[in] | client_handle | client handle from registration API |
[in] | ifNum | Interface ID |
[out] | vlanId | vlanId |
OPEN_E_NONE | Success |
OPEN_E_FAIL | Get failed. |
OPEN_E_PARAM | Error in parameter passed. |
OpEN API Version: 1.14