OpenNSL API Guide and Reference Manual
stack.h
Go to the documentation of this file.
1 
4 /*****************************************************************************
5  *
6  * (C) Copyright Broadcom Corporation 2013-2016
7  *
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  *
11  * You may obtain a copy of the License at
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  *
20  ***************************************************************************/
24 #ifndef __OPENNSL_STACK_H__
25 #define __OPENNSL_STACK_H__
26 
27 #include <opennsl/types.h>
28 
29 #ifndef OPENNSL_HIDE_DISPATCHABLE
30 
31 /***************************************************************************/
48 extern int opennsl_stk_my_modid_get(
49  int unit,
50  int *my_modid) LIB_DLL_EXPORTED ;
51 
52 /***************************************************************************/
69 extern int opennsl_stk_modid_set(
70  int unit,
71  int modid) LIB_DLL_EXPORTED ;
72 
73 /***************************************************************************/
90 extern int opennsl_stk_modid_get(
91  int unit,
92  int *modid) LIB_DLL_EXPORTED ;
93 
94 #endif /* OPENNSL_HIDE_DISPATCHABLE */
95 
96 #ifndef OPENNSL_HIDE_DISPATCHABLE
97 
98 /***************************************************************************/
111  int unit,
112  opennsl_gport_t gport,
114 
115 #endif /* OPENNSL_HIDE_DISPATCHABLE */
116 
117 #include <opennsl/stackX.h>
118 #endif /* __OPENNSL_STACK_H__ */
119