OpenNSL API Guide and Reference Manual
|
Switch packet info structure. More...
#include <switch.h>
Data Fields | |
opennsl_ip_t | dip |
Destination host IP address (IPv4). | |
opennsl_ip6_t | dip6 |
Destination host IP address (IPv6). | |
uint32 | dst_l4_port |
Destination L4 port. | |
opennsl_mac_t | dst_mac |
Destination MAC address. | |
opennsl_ethertype_t | ethertype |
Ethertype. | |
uint32 | flags |
OPENNSL_SWITCH_PKT_INFO_xxx flags for packet parameter hashing. | |
opennsl_switch_pkt_hash_info_fwd_reason_t | fwd_reason |
Packet forward reason. | |
opennsl_if_t | mpintf |
Multipath egress forwarding object. | |
uint8 | protocol |
IP protocol. | |
opennsl_ip_t | sip |
Source host IP address (IPv4). | |
opennsl_ip6_t | sip6 |
Source host IP address (IPv6). | |
opennsl_gport_t | src_gport |
Source module and port, OPENNSL_GPORT_INVALID to wildcard. | |
uint32 | src_l4_port |
Source L4 port. | |
opennsl_mac_t | src_mac |
Source MAC address. | |
opennsl_gport_t | trunk_gport |
Gport of trunk type on which packet will egress. | |
opennsl_vlan_t | vid |
VLAN ID. | |
Switch packet info structure.
Contains packet fields for calculating aggregate link hash values.
opennsl_ip_t opennsl_switch_pkt_info_s::dip |
opennsl_ip6_t opennsl_switch_pkt_info_s::dip6 |
uint32 opennsl_switch_pkt_info_s::dst_l4_port |
opennsl_mac_t opennsl_switch_pkt_info_s::dst_mac |
opennsl_ethertype_t opennsl_switch_pkt_info_s::ethertype |
uint32 opennsl_switch_pkt_info_s::flags |
opennsl_switch_pkt_hash_info_fwd_reason_t opennsl_switch_pkt_info_s::fwd_reason |
opennsl_if_t opennsl_switch_pkt_info_s::mpintf |
opennsl_ip_t opennsl_switch_pkt_info_s::sip |
opennsl_ip6_t opennsl_switch_pkt_info_s::sip6 |
opennsl_gport_t opennsl_switch_pkt_info_s::src_gport |
uint32 opennsl_switch_pkt_info_s::src_l4_port |
opennsl_mac_t opennsl_switch_pkt_info_s::src_mac |
opennsl_gport_t opennsl_switch_pkt_info_s::trunk_gport |
opennsl_vlan_t opennsl_switch_pkt_info_s::vid |