OpenNSL API Guide and Reference Manual
Macros | Typedefs | Enumerations
types.h File Reference
#include <sal/types.h>

Go to the source code of this file.

Macros

#define _SHR_PORT_INVALID   (-1)
 

Typedefs

typedef int8 _shr_dma_chan_t
 
typedef int _shr_if_t
 
typedef int _shr_module_t
 
typedef uint16 _shr_vlan_t
 

Enumerations

enum  _shr_color_t {
  _SHR_COLOR_GREEN = 0,
  _SHR_COLOR_YELLOW = 1,
  _SHR_COLOR_RED = 2,
  _SHR_COLOR_BLACK = 3,
  _SHR_COLOR_PRESERVE = 4,
  _SHR_COLOR_COUNT = 5
}
 
enum  _shr_forwarding_type_t {
  _SHR_FORWARDING_TYPE_L2 = 0,
  _SHR_FORWARDING_TYPE_IP4UCAST = 1,
  _SHR_FORWARDING_TYPE_IP4MCAST = 2,
  _SHR_FORWARDING_TYPE_IP6UCAST = 3,
  _SHR_FORWARDING_TYPE_IP6MCAST = 4,
  _SHR_FORWARDING_TYPE_MPLS = 5,
  _SHR_FORWARDING_TYPE_TRILL = 6,
  _SHR_FORWARDING_TYPE_RXREASON = 7,
  _SHR_FORWARDING_TYPE_TRAFFIC_MANAGMENT = 8,
  _SHR_FORWARDING_TYPE_SNOOP = 9,
  _SHR_FORWARDING_TYPE_FCoE = 10,
  _SHR_FORWARDING_TYPE_COUNT = 11
}
 

Macro Definition Documentation

#define _SHR_PORT_INVALID   (-1)

Definition at line 34 of file types.h.

Typedef Documentation

Definition at line 26 of file types.h.

typedef int _shr_if_t

Definition at line 30 of file types.h.

typedef int _shr_module_t

Definition at line 28 of file types.h.

Definition at line 32 of file types.h.

Enumeration Type Documentation

Enumerator:
_SHR_COLOR_GREEN 
_SHR_COLOR_YELLOW 
_SHR_COLOR_RED 
_SHR_COLOR_BLACK 
_SHR_COLOR_PRESERVE 
_SHR_COLOR_COUNT 

Definition at line 37 of file types.h.

Enumerator:
_SHR_FORWARDING_TYPE_L2 
_SHR_FORWARDING_TYPE_IP4UCAST 
_SHR_FORWARDING_TYPE_IP4MCAST 
_SHR_FORWARDING_TYPE_IP6UCAST 
_SHR_FORWARDING_TYPE_IP6MCAST 
_SHR_FORWARDING_TYPE_MPLS 
_SHR_FORWARDING_TYPE_TRILL 
_SHR_FORWARDING_TYPE_RXREASON 
_SHR_FORWARDING_TYPE_TRAFFIC_MANAGMENT 
_SHR_FORWARDING_TYPE_SNOOP 
_SHR_FORWARDING_TYPE_FCoE 
_SHR_FORWARDING_TYPE_COUNT 

Definition at line 47 of file types.h.