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

Go to the source code of this file.

Data Structures

struct  opennsl_l2_learn_limit_s
 L2 learn limit structure. More...
 

Macros

#define OPENNSL_L2_LEARN_LIMIT_SYSTEM   0x00000001
 Limit is system wide.
 

Typedefs

typedef struct
opennsl_l2_learn_limit_s 
opennsl_l2_learn_limit_t
 L2 learn limit structure.
 

Functions

int opennsl_l2_learn_limit_get (int unit, opennsl_l2_learn_limit_t *limit) LIB_DLL_EXPORTED
 Set/Get L2 addresses learn limit.
 
int opennsl_l2_learn_limit_set (int unit, opennsl_l2_learn_limit_t *limit) LIB_DLL_EXPORTED
 Set/Get L2 addresses learn limit.
 
void opennsl_l2_learn_limit_t_init (opennsl_l2_learn_limit_t *limit) LIB_DLL_EXPORTED
 Initialize an L2 learn limit structure.