OpenNSL API Guide and Reference Manual
Functions
portX.h File Reference
#include <shared/portmode.h>
#include <shared/port.h>
#include <shared/phyconfig.h>
#include <shared/phyreg.h>
#include <shared/switch.h>
#include <opennsl/types.h>
#include <opennsl/stat.h>
#include <shared/port_ability.h>

Go to the source code of this file.

Functions

int opennsl_port_cfi_color_get (int unit, opennsl_port_t port, int cfi, opennsl_color_t *color) LIB_DLL_EXPORTED
 Set or retrieve color assignment for a given port and Canonical Format Indicator (CFI).
 
int opennsl_port_cfi_color_set (int unit, opennsl_port_t port, int cfi, opennsl_color_t color) LIB_DLL_EXPORTED
 Set or retrieve color assignment for a given port and Canonical Format Indicator (CFI).