|
API Reference Manual 1.52.0
|
Supported PMR term values. More...
#include <classification.h>
Data Fields | ||
| struct { | ||
| uint64_t len:1 | ||
| Total length of received packet. More... | ||
| uint64_t ethtype_0:1 | ||
| Initial (outer) Ethertype only. More... | ||
| uint64_t ethtype_x:1 | ||
| Ethertype of most inner VLAN tag. More... | ||
| uint64_t vlan_id_0:1 | ||
| First VLAN ID (outer) More... | ||
| uint64_t vlan_id_x:1 | ||
| Last VLAN ID (inner) More... | ||
| uint64_t vlan_pcp_0:1 | ||
| PCP in the first VLAN header (ODP_PMR_VLAN_PCP_0) More... | ||
| uint64_t dmac:1 | ||
| destination MAC address More... | ||
| uint64_t ip_proto:1 | ||
| IP Protocol or IPv6 Next Header. More... | ||
| uint64_t ip_dscp:1 | ||
| DSCP in IP header (ODP_PMR_IP_DSCP) More... | ||
| uint64_t udp_dport:1 | ||
| Destination UDP port, implies IPPROTO=17. More... | ||
| uint64_t tcp_dport:1 | ||
| Destination TCP port implies IPPROTO=6. More... | ||
| uint64_t udp_sport:1 | ||
| Source UDP Port. More... | ||
| uint64_t tcp_sport:1 | ||
| Source TCP port. More... | ||
| uint64_t sip_addr:1 | ||
| Source IP address. More... | ||
| uint64_t dip_addr:1 | ||
| Destination IP address. More... | ||
| uint64_t sip6_addr:1 | ||
| Source IP address. More... | ||
| uint64_t dip6_addr:1 | ||
| Destination IP address. More... | ||
| uint64_t ipsec_spi:1 | ||
| IPsec session identifier. More... | ||
| uint64_t ld_vni:1 | ||
| NVGRE/VXLAN network identifier. More... | ||
| uint64_t custom_frame:1 | ||
| Custom frame match rule. More... | ||
| uint64_t custom_l3:1 | ||
| Custom layer 3 match rule. More... | ||
| uint64_t igmp_grp_addr:1 | ||
| IGMP Group address, implies IPPROTO=2. More... | ||
| uint64_t icmp_id:1 | ||
| ICMP identifier, implies IPPROTO=1 and ICMP_TYPE=0 or ICMP_TYPE=8. More... | ||
| uint64_t icmp_type:1 | ||
| ICMP type, implies IPPROTO=1. More... | ||
| uint64_t icmp_code:1 | ||
| ICMP code, implies IPPROTO=1. More... | ||
| uint64_t sctp_sport:1 | ||
| Source SCTP port, implies IPPROTO=132. More... | ||
| uint64_t sctp_dport:1 | ||
| Destination SCTP port, implies IPPROTO=132. More... | ||
| uint64_t gtpv1_teid:1 | ||
| GTPv1 tunnel endpoint identifier. More... | ||
| } | bit | |
| Packet Matching Rule term fields. | ||
| uint64_t | all_bits | |
| All bits of the bit field structure. | ||
Supported PMR term values.
Supported Packet Matching Rule term values in a bit field structure.
Definition at line 203 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::len |
Total length of received packet.
Definition at line 207 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::ethtype_0 |
Initial (outer) Ethertype only.
Definition at line 209 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::ethtype_x |
Ethertype of most inner VLAN tag.
Definition at line 211 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::vlan_id_0 |
First VLAN ID (outer)
Definition at line 213 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::vlan_id_x |
Last VLAN ID (inner)
Definition at line 215 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::vlan_pcp_0 |
PCP in the first VLAN header (ODP_PMR_VLAN_PCP_0)
Definition at line 217 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::dmac |
destination MAC address
Definition at line 219 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::ip_proto |
IP Protocol or IPv6 Next Header.
Definition at line 221 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::ip_dscp |
DSCP in IP header (ODP_PMR_IP_DSCP)
Definition at line 223 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::udp_dport |
Destination UDP port, implies IPPROTO=17.
Definition at line 225 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::tcp_dport |
Destination TCP port implies IPPROTO=6.
Definition at line 227 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::udp_sport |
Source UDP Port.
Definition at line 229 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::tcp_sport |
Source TCP port.
Definition at line 231 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::sip_addr |
Source IP address.
Definition at line 233 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::dip_addr |
Destination IP address.
Definition at line 235 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::sip6_addr |
Source IP address.
Definition at line 237 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::dip6_addr |
Destination IP address.
Definition at line 239 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::ipsec_spi |
IPsec session identifier.
Definition at line 241 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::ld_vni |
NVGRE/VXLAN network identifier.
Definition at line 243 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::custom_frame |
Custom frame match rule.
PMR offset is counted from the start of the packet.
Definition at line 246 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::custom_l3 |
Custom layer 3 match rule.
PMR offset is counted from the start of layer 3 in the packet.
Definition at line 249 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::igmp_grp_addr |
IGMP Group address, implies IPPROTO=2.
Definition at line 251 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::icmp_id |
ICMP identifier, implies IPPROTO=1 and ICMP_TYPE=0 or ICMP_TYPE=8.
Definition at line 253 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::icmp_type |
ICMP type, implies IPPROTO=1.
Definition at line 255 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::icmp_code |
ICMP code, implies IPPROTO=1.
Definition at line 257 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::sctp_sport |
Source SCTP port, implies IPPROTO=132.
Definition at line 259 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::sctp_dport |
Destination SCTP port, implies IPPROTO=132.
Definition at line 261 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::gtpv1_teid |
GTPv1 tunnel endpoint identifier.
Definition at line 263 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::all_bits |
All bits of the bit field structure.
Definition at line 267 of file api/spec/classification.h.