API Reference Manual
1.46.0
|
Supported PMR term values. More...
#include <classification.h>
Data Fields | |
struct { | |
uint64_t len:1 | |
Total length of received packet. | |
uint64_t ethtype_0:1 | |
Initial (outer) Ethertype only. | |
uint64_t ethtype_x:1 | |
Ethertype of most inner VLAN tag. | |
uint64_t vlan_id_0:1 | |
First VLAN ID (outer) | |
uint64_t vlan_id_x:1 | |
Last VLAN ID (inner) | |
uint64_t vlan_pcp_0:1 | |
PCP in the first VLAN header (ODP_PMR_VLAN_PCP_0) | |
uint64_t dmac:1 | |
destination MAC address | |
uint64_t ip_proto:1 | |
IP Protocol or IPv6 Next Header. | |
uint64_t ip_dscp:1 | |
DSCP in IP header (ODP_PMR_IP_DSCP) | |
uint64_t udp_dport:1 | |
Destination UDP port, implies IPPROTO=17. | |
uint64_t tcp_dport:1 | |
Destination TCP port implies IPPROTO=6. | |
uint64_t udp_sport:1 | |
Source UDP Port. | |
uint64_t tcp_sport:1 | |
Source TCP port. | |
uint64_t sip_addr:1 | |
Source IP address. | |
uint64_t dip_addr:1 | |
Destination IP address. | |
uint64_t sip6_addr:1 | |
Source IP address. | |
uint64_t dip6_addr:1 | |
Destination IP address. | |
uint64_t ipsec_spi:1 | |
IPsec session identifier. | |
uint64_t ld_vni:1 | |
NVGRE/VXLAN network identifier. | |
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. | |
uint64_t icmp_id:1 | |
ICMP identifier, implies IPPROTO=1 and ICMP_TYPE=0 or ICMP_TYPE=8. | |
uint64_t icmp_type:1 | |
ICMP type, implies IPPROTO=1. | |
uint64_t icmp_code:1 | |
ICMP code, implies IPPROTO=1. | |
uint64_t sctp_sport:1 | |
Source SCTP port, implies IPPROTO=132. | |
uint64_t sctp_dport:1 | |
Destination SCTP port, implies IPPROTO=132. | |
uint64_t gtpv1_teid:1 | |
GTPv1 tunnel endpoint identifier. | |
} | 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::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.