OpenNSL API Guide and Reference Manual
|
Initialize a OPENNSL packet structure. More...
#include <pkt.h>
opennsl_pkt_blk_t opennsl_pkt_s::_pkt_data |
uint8 opennsl_pkt_s::_vtag[4] |
uint8 opennsl_pkt_s::blk_count |
Number of blocks in data array.
Definition at line 93 of file pkt.h.
Referenced by example_pkt_send().
opennsl_pkt_cb_f opennsl_pkt_s::call_back |
uint8 opennsl_pkt_s::cos |
The local COS queue to use.
Definition at line 95 of file pkt.h.
Referenced by example_rx_packet_receive(), and example_sflow_handle_rx_event().
uint16 opennsl_pkt_s::dest_port |
uint32 opennsl_pkt_s::flags |
OPENNSL_PKT_F_xxx flags.
Definition at line 146 of file pkt.h.
Referenced by example_sflow_handle_rx_event().
opennsl_pkt_blk_t* opennsl_pkt_s::pkt_data |
Pointer to array of data blocks.
Definition at line 92 of file pkt.h.
Referenced by example_rx_packet_receive(), and example_sflow_handle_rx_event().
uint16 opennsl_pkt_s::pkt_len |
Packet length according to flags.
Definition at line 120 of file pkt.h.
Referenced by example_rx_packet_receive(), and example_sflow_handle_rx_event().
opennsl_gport_t opennsl_pkt_s::reserved12 |
opennsl_gport_t opennsl_pkt_s::reserved13 |
opennsl_multicast_t opennsl_pkt_s::reserved14 |
opennsl_reserved_enum_t opennsl_pkt_s::reserved16 |
opennsl_if_t opennsl_pkt_s::reserved21 |
opennsl_pbmp_t opennsl_pkt_s::reserved22 |
opennsl_port_t opennsl_pkt_s::reserved23 |
opennsl_if_t opennsl_pkt_s::reserved29 |
opennsl_vlan_action_t opennsl_pkt_s::reserved30 |
opennsl_vlan_action_t opennsl_pkt_s::reserved31 |
opennsl_pkt_t* opennsl_pkt_s::reserved39 |
opennsl_vlan_t opennsl_pkt_s::reserved4 |
opennsl_pkt_t* opennsl_pkt_s::reserved42 |
opennsl_pbmp_t opennsl_pkt_s::reserved54 |
opennsl_pbmp_t opennsl_pkt_s::reserved55 |
opennsl_reserved_enum_t opennsl_pkt_s::reserved64 |
opennsl_reserved_enum_t opennsl_pkt_s::reserved65 |
opennsl_reserved_enum_t opennsl_pkt_s::reserved66 |
opennsl_reserved_enum_t opennsl_pkt_s::reserved68 |
opennsl_gport_t opennsl_pkt_s::reserved69 |
opennsl_color_t opennsl_pkt_s::reserved7 |
opennsl_gport_t opennsl_pkt_s::reserved70 |
opennsl_gport_t opennsl_pkt_s::reserved72 |
opennsl_reserved_enum_t opennsl_pkt_s::reserved76 |
opennsl_pkt_oam_counter_t opennsl_pkt_s::reserved77[OPENNSL_PKT_OAM_COUNTER_MAX] |
opennsl_trunk_t opennsl_pkt_s::reserved8 |
uint32 opennsl_pkt_s::rx_matched |
uint8 opennsl_pkt_s::rx_port |
Local rx port; not in HG hdr.
Definition at line 132 of file pkt.h.
Referenced by example_rx_packet_receive(), and example_sflow_handle_rx_event().
uint32 opennsl_pkt_s::rx_reason |
Opcode from packet.
Definition at line 128 of file pkt.h.
Referenced by example_sflow_handle_rx_event().
opennsl_rx_reasons_t opennsl_pkt_s::rx_reasons |
uint8 opennsl_pkt_s::rx_untagged |
int16 opennsl_pkt_s::src_port |
Source port used in header/tag.
Definition at line 104 of file pkt.h.
Referenced by example_rx_packet_receive(), and example_sflow_handle_rx_event().
uint16 opennsl_pkt_s::tot_len |
Packet length as transmitted or received.
Definition at line 121 of file pkt.h.
Referenced by example_rx_packet_receive().
opennsl_pbmp_t opennsl_pkt_s::tx_pbmp |
opennsl_pbmp_t opennsl_pkt_s::tx_upbmp |
uint8 opennsl_pkt_s::unit |
opennsl_vlan_t opennsl_pkt_s::vlan |
802.1q VID or VSI or VPN.
Definition at line 97 of file pkt.h.
Referenced by example_sflow_handle_rx_event().