OpenNSL API Guide and Reference Manual
Data Fields
opennsl_policer_config_s Struct Reference

#include <policerX.h>

Data Fields

uint32 ckbits_burst
 Committed burst size (kbits).
 
uint32 ckbits_sec
 Committed rate (kbits per sec).
 
uint32 flags
 OPENNSL_POLICER_* Flags.
 
uint32 max_pkbits_sec
 Maximum Peak rate (kbits per sec), Applicable only for cascade mode.
 
opennsl_policer_mode_t mode
 Policer mode.
 
uint32 pkbits_burst
 Peak burst size (kbits).
 
uint32 pkbits_sec
 Peak rate (kbits per sec).
 

Detailed Description

Definition at line 34 of file policerX.h.

Field Documentation

uint32 opennsl_policer_config_s::ckbits_burst

Committed burst size (kbits).

Definition at line 38 of file policerX.h.

Referenced by example_create_meter(), and example_create_policer().

uint32 opennsl_policer_config_s::ckbits_sec

Committed rate (kbits per sec).

Definition at line 37 of file policerX.h.

Referenced by example_create_meter(), and example_create_policer().

uint32 opennsl_policer_config_s::flags

OPENNSL_POLICER_* Flags.

Definition at line 35 of file policerX.h.

Referenced by example_create_policer().

uint32 opennsl_policer_config_s::max_pkbits_sec

Maximum Peak rate (kbits per sec), Applicable only for cascade mode.

Definition at line 40 of file policerX.h.

Referenced by example_create_meter().

opennsl_policer_mode_t opennsl_policer_config_s::mode

Policer mode.

Definition at line 36 of file policerX.h.

Referenced by example_create_meter(), and example_create_policer().

uint32 opennsl_policer_config_s::pkbits_burst

Peak burst size (kbits).

Definition at line 42 of file policerX.h.

Referenced by example_create_meter(), and example_create_policer().

uint32 opennsl_policer_config_s::pkbits_sec

Peak rate (kbits per sec).

Definition at line 39 of file policerX.h.

Referenced by example_create_policer().


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