OpenNSL API Guide and Reference Manual
Data Fields
opennsl_rx_snoop_config_s Struct Reference

User-configurable, per-unit RX configuration. More...

#include <rxX.h>

Data Fields

opennsl_color_t color
 Color of the packet.
 
int counter_num
 counter.
 
opennsl_multicast_t dest_group
 Destination group.
 
opennsl_gport_t dest_port
 Destination port.
 
opennsl_if_t encap_id
 Encap-ID.
 
uint32 flags
 OPENNSL_RX_SNOOP_XXX FLAGS.
 
opennsl_policer_t policer_id
 policer_id.
 
int prio
 Internal priority of the packet.
 
int probability
 snooping probability.
 
int size
 what portion of the packet to snoop to CPU, use -1 to indicate full packet snooping.
 

Detailed Description

User-configurable, per-unit RX configuration.

Definition at line 334 of file rxX.h.

Field Documentation

opennsl_color_t opennsl_rx_snoop_config_s::color

Color of the packet.

Definition at line 339 of file rxX.h.

int opennsl_rx_snoop_config_s::counter_num

counter.

Definition at line 341 of file rxX.h.

opennsl_multicast_t opennsl_rx_snoop_config_s::dest_group

Destination group.

Definition at line 337 of file rxX.h.

opennsl_gport_t opennsl_rx_snoop_config_s::dest_port

Destination port.

Definition at line 336 of file rxX.h.

opennsl_if_t opennsl_rx_snoop_config_s::encap_id

Encap-ID.

Definition at line 349 of file rxX.h.

uint32 opennsl_rx_snoop_config_s::flags

OPENNSL_RX_SNOOP_XXX FLAGS.

Definition at line 335 of file rxX.h.

opennsl_policer_t opennsl_rx_snoop_config_s::policer_id

policer_id.

Definition at line 340 of file rxX.h.

int opennsl_rx_snoop_config_s::prio

Internal priority of the packet.

Definition at line 338 of file rxX.h.

int opennsl_rx_snoop_config_s::probability

snooping probability.

Value represents percentage with percisionof a thousandth of a percent (100000 is 100.000%), range 0 - 100000.

Definition at line 345 of file rxX.h.

int opennsl_rx_snoop_config_s::size

what portion of the packet to snoop to CPU, use -1 to indicate full packet snooping.

Definition at line 342 of file rxX.h.


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