|
API Reference Manual 1.51.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 202 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::len |
Total length of received packet.
Definition at line 206 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::ethtype_0 |
Initial (outer) Ethertype only.
Definition at line 208 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::ethtype_x |
Ethertype of most inner VLAN tag.
Definition at line 210 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::vlan_id_0 |
First VLAN ID (outer)
Definition at line 212 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::vlan_id_x |
Last VLAN ID (inner)
Definition at line 214 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 216 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::dmac |
destination MAC address
Definition at line 218 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::ip_proto |
IP Protocol or IPv6 Next Header.
Definition at line 220 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 222 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::udp_dport |
Destination UDP port, implies IPPROTO=17.
Definition at line 224 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::tcp_dport |
Destination TCP port implies IPPROTO=6.
Definition at line 226 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::udp_sport |
Source UDP Port.
Definition at line 228 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::tcp_sport |
Source TCP port.
Definition at line 230 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::sip_addr |
Source IP address.
Definition at line 232 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::dip_addr |
Destination IP address.
Definition at line 234 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::sip6_addr |
Source IP address.
Definition at line 236 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::dip6_addr |
Destination IP address.
Definition at line 238 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::ipsec_spi |
IPsec session identifier.
Definition at line 240 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::ld_vni |
NVGRE/VXLAN network identifier.
Definition at line 242 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 245 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 248 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 250 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 252 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::icmp_type |
ICMP type, implies IPPROTO=1.
Definition at line 254 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::icmp_code |
ICMP code, implies IPPROTO=1.
Definition at line 256 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::sctp_sport |
Source SCTP port, implies IPPROTO=132.
Definition at line 258 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::sctp_dport |
Destination SCTP port, implies IPPROTO=132.
Definition at line 260 of file api/spec/classification.h.
| uint64_t odp_cls_pmr_terms_t::gtpv1_teid |
GTPv1 tunnel endpoint identifier.
Definition at line 262 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 266 of file api/spec/classification.h.