OpenNSL API Guide and Reference Manual
Welcome
OpenNSL Documentation
API Reference
Files
File List
Globals
include
opennsl
l2X.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_L2X_H__
17
#define __OPENNSL_L2X_H__
18
19
#include <
opennsl/types.h
>
20
21
#define OPENNSL_L2_LEARN_LIMIT_SYSTEM 0x00000001
23
typedef struct opennsl_l2_learn_limit_s {
24
uint32
flags;
26
int
limit;
28
}
opennsl_l2_learn_limit_t
;
29
/* __doxy_func_body_end__ */
30
31
/***************************************************************************/
41
extern
void
opennsl_l2_learn_limit_t_init
(
42
opennsl_l2_learn_limit_t
*limit)
LIB_DLL_EXPORTED
;
43
44
/***************************************************************************/
81
extern
int
opennsl_l2_learn_limit_set
(
82
int
unit,
83
opennsl_l2_learn_limit_t
*limit)
LIB_DLL_EXPORTED
;
84
85
/***************************************************************************/
122
extern
int
opennsl_l2_learn_limit_get
(
123
int
unit,
124
opennsl_l2_learn_limit_t
*limit)
LIB_DLL_EXPORTED
;
125
126
#endif
/* __OPENNSL_L2X_H__ */
127
© 2016-17 by Broadcom Limited. All rights reserved.