OpenNSL API Guide and Reference Manual
Data Fields
opennsl_port_config_s Struct Reference

Port Configuration structure. More...

#include <port.h>

Data Fields

opennsl_pbmp_t all
 Mask of all ports.
 
opennsl_pbmp_t ce
 Mask of 100gig ports.
 
opennsl_pbmp_t control
 Mask of hot swap controlling ports.
 
opennsl_pbmp_t cpu
 Mask of CPU ports.
 
opennsl_pbmp_t e
 Mask of eth ports.
 
opennsl_pbmp_t fe
 Mask of FE ports.
 
opennsl_pbmp_t ge
 Mask of GE ports.
 
opennsl_pbmp_t hg
 Mask of Higig ports.
 
opennsl_pbmp_t il
 Mask of ILKN ports.
 
opennsl_pbmp_t llid
 Mask of LLID ports.
 
opennsl_pbmp_t nif
 Mask of Network Interfaces ports.
 
opennsl_pbmp_t per_pipe [OPENNSL_PIPES_MAX]
 Mask of ports per pipe.
 
opennsl_pbmp_t pon
 Mask of PON ports.
 
opennsl_pbmp_t port
 Mask of all front panel ports.
 
opennsl_pbmp_t rcy
 Mask of RECYCLE ports.
 
opennsl_pbmp_t sci
 Mask of SCI ports.
 
opennsl_pbmp_t sfi
 Mask of SFI ports.
 
opennsl_pbmp_t spi
 Mask of SPI ports.
 
opennsl_pbmp_t spi_subport
 Mask of SPI subports.
 
opennsl_pbmp_t stack_ext
 Mask of Stack ports.
 
opennsl_pbmp_t stack_int
 Deprecated - unused.
 
opennsl_pbmp_t tdm
 Mask of TDM ports.
 
opennsl_pbmp_t xe
 Mask of 10gig ports.
 
opennsl_pbmp_t xl
 Mask of XLAUI ports.
 

Detailed Description

Port Configuration structure.

Definition at line 38 of file port.h.

Field Documentation

opennsl_pbmp_t opennsl_port_config_s::all

Mask of all ports.

Definition at line 51 of file port.h.

Referenced by main().

opennsl_pbmp_t opennsl_port_config_s::ce

Mask of 100gig ports.

Definition at line 42 of file port.h.

Referenced by main().

opennsl_pbmp_t opennsl_port_config_s::control

Mask of hot swap controlling ports.

Definition at line 64 of file port.h.

opennsl_pbmp_t opennsl_port_config_s::cpu

Mask of CPU ports.

Definition at line 50 of file port.h.

Referenced by main().

opennsl_pbmp_t opennsl_port_config_s::e

Mask of eth ports.

Definition at line 43 of file port.h.

Referenced by example_policer_test(), example_port_default_config(), and example_switch_default_vlan_config().

opennsl_pbmp_t opennsl_port_config_s::fe

Mask of FE ports.

Definition at line 39 of file port.h.

opennsl_pbmp_t opennsl_port_config_s::ge

Mask of GE ports.

Definition at line 40 of file port.h.

Referenced by example_max_port_count_get(), and main().

opennsl_pbmp_t opennsl_port_config_s::hg

Mask of Higig ports.

Definition at line 44 of file port.h.

opennsl_pbmp_t opennsl_port_config_s::il

Mask of ILKN ports.

Definition at line 57 of file port.h.

opennsl_pbmp_t opennsl_port_config_s::llid

Mask of LLID ports.

Definition at line 56 of file port.h.

opennsl_pbmp_t opennsl_port_config_s::nif

Mask of Network Interfaces ports.

Definition at line 63 of file port.h.

opennsl_pbmp_t opennsl_port_config_s::per_pipe[OPENNSL_PIPES_MAX]

Mask of ports per pipe.

The number of pipes per device can be obtained via num_pipes field of opennsl_info_t.

Definition at line 60 of file port.h.

opennsl_pbmp_t opennsl_port_config_s::pon

Mask of PON ports.

Definition at line 55 of file port.h.

opennsl_pbmp_t opennsl_port_config_s::port

Mask of all front panel ports.

Definition at line 49 of file port.h.

Referenced by main().

opennsl_pbmp_t opennsl_port_config_s::rcy

Mask of RECYCLE ports.

Definition at line 59 of file port.h.

opennsl_pbmp_t opennsl_port_config_s::sci

Mask of SCI ports.

Definition at line 45 of file port.h.

opennsl_pbmp_t opennsl_port_config_s::sfi

Mask of SFI ports.

Definition at line 46 of file port.h.

opennsl_pbmp_t opennsl_port_config_s::spi

Mask of SPI ports.

Definition at line 47 of file port.h.

opennsl_pbmp_t opennsl_port_config_s::spi_subport

Mask of SPI subports.

Definition at line 48 of file port.h.

opennsl_pbmp_t opennsl_port_config_s::stack_ext

Mask of Stack ports.

Definition at line 53 of file port.h.

opennsl_pbmp_t opennsl_port_config_s::stack_int

Deprecated - unused.

Definition at line 52 of file port.h.

opennsl_pbmp_t opennsl_port_config_s::tdm

Mask of TDM ports.

Definition at line 54 of file port.h.

opennsl_pbmp_t opennsl_port_config_s::xe

Mask of 10gig ports.

Definition at line 41 of file port.h.

Referenced by example_max_port_count_get(), and main().

opennsl_pbmp_t opennsl_port_config_s::xl

Mask of XLAUI ports.

Definition at line 58 of file port.h.


The documentation for this struct was generated from the following file: