OpenNSL API Guide and Reference Manual
Welcome
OpenNSL Documentation
API Reference
Files
File List
Globals
include
opennsl
vlanX.h
Go to the documentation of this file.
1
4
/*****************************************************************************
5
*
6
* This software is governed by the Broadcom Advanced Switch APIs license.
7
* This license is set out in the
8
* https://github.com/Broadcom-Switch/OpenNSL/Legal/LICENSE-Adv file.
9
*
10
* Copyright 2015-2016 Broadcom Corporation. All rights reserved.
11
*
12
***************************************************************************/
16
#ifndef __OPENNSL_VLANX_H__
17
#define __OPENNSL_VLANX_H__
18
19
#include <
opennsl/types.h
>
20
#include <
opennsl/port.h
>
21
30
typedef
struct
opennsl_vlan_protocol_packet_ctrl_s
{
31
int
mmrp_action
;
32
int
srp_action
;
33
int
arp_reply_action
;
34
int
arp_request_action
;
35
int
nd_action
;
36
int
dhcp_action
;
37
int
igmp_report_leave_action
;
39
int
igmp_query_action
;
40
int
igmp_unknown_msg_action
;
41
int
mld_report_done_action
;
42
int
mld_query_action
;
43
int
ip4_rsvd_mc_action
;
45
int
ip6_rsvd_mc_action
;
47
int
reserved1
;
48
int
reserved2
;
49
int
reserved3
;
50
}
opennsl_vlan_protocol_packet_ctrl_t
;
51
/* __doxy_func_body_end__ */
52
54
typedef
struct
opennsl_vlan_control_vlan_s
{
55
uint32
flags
;
56
}
opennsl_vlan_control_vlan_t
;
57
/* __doxy_func_body_end__ */
58
59
/***************************************************************************/
68
extern
void
opennsl_vlan_control_vlan_t_init
(
69
opennsl_vlan_control_vlan_t
*data)
LIB_DLL_EXPORTED
;
70
71
/***************************************************************************/
113
extern
int
opennsl_vlan_control_vlan_get
(
114
int
unit,
115
opennsl_vlan_t
vlan,
116
opennsl_vlan_control_vlan_t
*control)
LIB_DLL_EXPORTED
;
117
118
/***************************************************************************/
160
extern
int
opennsl_vlan_control_vlan_set
(
161
int
unit,
162
opennsl_vlan_t
vlan,
163
opennsl_vlan_control_vlan_t
control)
LIB_DLL_EXPORTED
;
164
165
#if defined(INCLUDE_L3)
166
#endif
167
#if defined(INCLUDE_L3)
168
#endif
169
#endif
/* __OPENNSL_VLANX_H__ */
170
© 2016-17 by Broadcom Limited. All rights reserved.