Open Ethernet Networking (OpEN) API Guide and Reference Manual
3.4.4.5
Welcome
ADK Documentation
API Reference
Files
File List
Globals
api
include
openapi_voice_vlan.h
Go to the documentation of this file.
1
9
/*********************************************************************
10
*
11
* Copyright 2016-2018 Broadcom.
12
*
13
* Licensed under the Apache License, Version 2.0 (the "License");
14
* you may not use this file except in compliance with the License.
15
* You may obtain a copy of the License at
16
*
17
* http://www.apache.org/licenses/LICENSE-2.0
18
*
19
* Unless required by applicable law or agreed to in writing, software
20
* distributed under the License is distributed on an "AS IS" BASIS,
21
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22
* See the License for the specific language governing permissions and
23
* limitations under the License.
24
*
25
**********************************************************************
26
*
27
* @filename openapi_voice_vlan.h
28
*
29
* @purpose Voice VLAN Configuration and Status
30
*
31
* @component OpEN
32
*
33
* @create 11/02/2016
34
*
35
* @end
36
*
37
**********************************************************************/
38
#ifndef OPENAPI_VOICE_VLAN_H_INCLUDED
39
#define OPENAPI_VOICE_VLAN_H_INCLUDED
40
41
#include "
openapi_common.h
"
42
43
typedef
enum
44
{
45
OPEN_VOICE_VLAN_CONFIG_DISABLE
= 0,
46
OPEN_VOICE_VLAN_CONFIG_VLAN_ID
= 1,
47
OPEN_VOICE_VLAN_CONFIG_DOT1P
= 2,
48
OPEN_VOICE_VLAN_CONFIG_NONE
= 3,
49
OPEN_VOICE_VLAN_CONFIG_UNTAGGED
= 4,
50
}
OPEN_VOICE_VLAN_CONFIG_TYPE_t
;
51
52
/*****************************************************************/
67
open_error_t
openapiVoiceVlanAdminModeSet
(
openapiClientHandle_t
*client_handle,
68
OPEN_CONTROL_t
mode);
69
70
/*****************************************************************/
83
open_error_t
openapiVoiceVlanAdminModeGet
(
openapiClientHandle_t
*client_handle,
84
OPEN_CONTROL_t
*mode);
85
86
/*****************************************************************/
105
open_error_t
openapiVoiceVlanPortAdminModeSet
(
openapiClientHandle_t
*client_handle,
106
uint32_t ifNum,
OPEN_VOICE_VLAN_CONFIG_TYPE_t
mode,
107
uint32_t dataValue);
108
109
/*****************************************************************/
123
open_error_t
openapiVoiceVlanPortAdminModeGet
(
openapiClientHandle_t
*client_handle,
124
uint32_t ifNum,
OPEN_VOICE_VLAN_CONFIG_TYPE_t
*mode);
125
126
/*****************************************************************/
140
open_error_t
openapiVoiceVlanPortVlanIdGet
(
openapiClientHandle_t
*client_handle,
141
uint32_t ifNum, uint32_t *vlanId);
142
143
/*****************************************************************/
157
open_error_t
openapiVoiceVlanPortDot1pPriorityGet
(
openapiClientHandle_t
*client_handle,
158
uint32_t ifNum, uint32_t *priority);
159
160
#endif
/* OPENAPI_VOICE_VLAN_H_INCLUDED */
161
© 2020 by Broadcom. All rights reserved.