OpenNSL API Guide and Reference Manual
Data Structures | Typedefs | Functions
vlanX.h File Reference
#include <opennsl/types.h>
#include <opennsl/port.h>

Go to the source code of this file.

Data Structures

struct  opennsl_vlan_control_vlan_s
 This structure contains the configuration of a VLAN. More...
 
struct  opennsl_vlan_protocol_packet_ctrl_s
 Per VLAN Protocol Packet control. More...
 

Typedefs

typedef struct
opennsl_vlan_control_vlan_s 
opennsl_vlan_control_vlan_t
 This structure contains the configuration of a VLAN.
 
typedef struct
opennsl_vlan_protocol_packet_ctrl_s 
opennsl_vlan_protocol_packet_ctrl_t
 Per VLAN Protocol Packet control.
 

Functions

int opennsl_vlan_control_vlan_get (int unit, opennsl_vlan_t vlan, opennsl_vlan_control_vlan_t *control) LIB_DLL_EXPORTED
 Set or retrieve current VLAN properties.
 
int opennsl_vlan_control_vlan_set (int unit, opennsl_vlan_t vlan, opennsl_vlan_control_vlan_t control) LIB_DLL_EXPORTED
 Set or retrieve current VLAN properties.
 
void opennsl_vlan_control_vlan_t_init (opennsl_vlan_control_vlan_t *data) LIB_DLL_EXPORTED
 Initialize the opennsl_vlan_control_vlan_t structure.