OpenNSL API Guide and Reference Manual
|
Mirror destination Structure. More...
#include <mirrorX.h>
Data Fields | |
uint8 | df |
Set the do not fragment bit of IP header in mirror encapsulation. | |
opennsl_ip6_t | dst6_addr |
Tunnel destination ip address (IPv6). | |
opennsl_ip_t | dst_addr |
Tunnel destination ip address (IPv4). | |
opennsl_mac_t | dst_mac |
L2 destination mac address. | |
uint16 | egress_packet_copy_size |
If non zero and the packet is copied from the egress, the packet will be truncated to the first packet_copy_size . | |
opennsl_if_t | encap_id |
Encapsulation index. | |
uint16 | etag_dst_vid |
Extended (destination) port vlan id. | |
uint16 | etag_src_vid |
Extended (source) port vlan id. | |
uint32 | flags |
See OPENNSL_MIRROR_DEST_xxx flag definitions. | |
uint32 | flow_label |
IPv6 header flow label field. | |
opennsl_gport_t | gport |
Mirror destination. | |
uint16 | gre_protocol |
L3 GRE header protocol. | |
uint8 | int_pri |
Internal Priority. | |
opennsl_gport_t | mirror_dest_id |
Unique mirror destination and encapsulation identifier. | |
uint16 | niv_dst_vif |
Destination Virtual Interface of NIV tag. | |
uint32 | niv_flags |
NIV flags OPENNSL_MIRROR_NIV_XXX. | |
uint16 | niv_src_vif |
Source Virtual Interface of NIV tag. | |
uint16 | packet_copy_size |
If non zero, the copied packet will be truncated to the first packet_copy_size . | |
uint8 | pkt_prio |
L2 header PCP. | |
opennsl_policer_t | policer_id |
policer_id | |
uint8 | recycle_context |
recycle context of egress originating packets | |
int | reserved1 |
uint32 | reserved10 |
uint32 | reserved11 |
int | reserved12 [OPENNSL_MIRROR_EXT_STAT_ID_COUNT] |
uint32 | reserved13 |
uint32 | reserved14 |
uint32 | reserved15 |
opennsl_mirror_pkt_erspan_encap_t | reserved16 |
uint16 | reserved2 |
uint32 | reserved3 |
uint32 | reserved4 |
uint32 | reserved5 |
uint32 | reserved6 |
opennsl_reserved_enum_t | reserved7 |
uint8 | reserved8 |
uint16 | reserved9 |
opennsl_ip6_t | src6_addr |
Tunnel source ip address (IPv6). | |
opennsl_ip_t | src_addr |
Tunnel source ip address (IPv4). | |
opennsl_mac_t | src_mac |
L2 source mac address. | |
int | stat_id |
stat_id | |
uint8 | tos |
Traffic Class/Tos byte. | |
uint16 | tpid |
L2 header outer TPID. | |
opennsl_trill_name_t | trill_dst_name |
TRILL destination bridge nickname. | |
int | trill_hopcount |
TRILL hop count. | |
opennsl_trill_name_t | trill_src_name |
TRILL source bridge nickname. | |
uint8 | ttl |
Hop limit. | |
opennsl_if_t | tunnel_id |
IP tunnel for encapsulation. | |
uint16 | udp_dst_port |
UDP destination port. | |
uint16 | udp_src_port |
UDP source port. | |
uint8 | version |
IP header version. | |
opennsl_vlan_t | vlan_id |
Vlan id. | |
Mirror destination Structure.
Contains information required for manipulating mirror destinations.
uint8 opennsl_mirror_destination_s::df |
opennsl_ip6_t opennsl_mirror_destination_s::dst6_addr |
opennsl_ip_t opennsl_mirror_destination_s::dst_addr |
opennsl_mac_t opennsl_mirror_destination_s::dst_mac |
uint16 opennsl_mirror_destination_s::egress_packet_copy_size |
opennsl_if_t opennsl_mirror_destination_s::encap_id |
uint16 opennsl_mirror_destination_s::etag_dst_vid |
uint16 opennsl_mirror_destination_s::etag_src_vid |
uint32 opennsl_mirror_destination_s::flags |
uint32 opennsl_mirror_destination_s::flow_label |
opennsl_gport_t opennsl_mirror_destination_s::gport |
uint16 opennsl_mirror_destination_s::gre_protocol |
uint8 opennsl_mirror_destination_s::int_pri |
opennsl_gport_t opennsl_mirror_destination_s::mirror_dest_id |
uint16 opennsl_mirror_destination_s::niv_dst_vif |
uint32 opennsl_mirror_destination_s::niv_flags |
uint16 opennsl_mirror_destination_s::niv_src_vif |
uint16 opennsl_mirror_destination_s::packet_copy_size |
uint8 opennsl_mirror_destination_s::pkt_prio |
opennsl_policer_t opennsl_mirror_destination_s::policer_id |
uint8 opennsl_mirror_destination_s::recycle_context |
int opennsl_mirror_destination_s::reserved12[OPENNSL_MIRROR_EXT_STAT_ID_COUNT] |
opennsl_mirror_pkt_erspan_encap_t opennsl_mirror_destination_s::reserved16 |
opennsl_reserved_enum_t opennsl_mirror_destination_s::reserved7 |
opennsl_ip6_t opennsl_mirror_destination_s::src6_addr |
opennsl_ip_t opennsl_mirror_destination_s::src_addr |
opennsl_mac_t opennsl_mirror_destination_s::src_mac |
uint8 opennsl_mirror_destination_s::tos |
uint16 opennsl_mirror_destination_s::tpid |
opennsl_trill_name_t opennsl_mirror_destination_s::trill_dst_name |
int opennsl_mirror_destination_s::trill_hopcount |
opennsl_trill_name_t opennsl_mirror_destination_s::trill_src_name |
opennsl_if_t opennsl_mirror_destination_s::tunnel_id |
uint16 opennsl_mirror_destination_s::udp_dst_port |
uint16 opennsl_mirror_destination_s::udp_src_port |
uint8 opennsl_mirror_destination_s::version |
opennsl_vlan_t opennsl_mirror_destination_s::vlan_id |