OpenNSL API Guide and Reference Manual
Functions
stack.h File Reference
#include <opennsl/types.h>
#include <opennsl/stackX.h>

Go to the source code of this file.

Functions

int opennsl_stk_gport_sysport_get (int unit, opennsl_gport_t gport, opennsl_gport_t *sysport) LIB_DLL_EXPORTED
 Given a Gport get the SAND System-Port.
 
int opennsl_stk_modid_get (int unit, int *modid) LIB_DLL_EXPORTED
 Get or set the module ID of the local device.
 
int opennsl_stk_modid_set (int unit, int modid) LIB_DLL_EXPORTED
 Get or set the module ID of the local device.
 
int opennsl_stk_my_modid_get (int unit, int *my_modid) LIB_DLL_EXPORTED
 Get or set the module ID of the local device.