DPDK
19.08.0-rc0
|
#include <rte_flow.h>
Data Fields | |
struct rte_ether_addr | dst |
struct rte_ether_addr | src |
rte_be16_t | type |
RTE_FLOW_ITEM_TYPE_ETH
Matches an Ethernet header.
The type
field either stands for "EtherType" or "TPID" when followed by so-called layer 2.5 pattern items such as RTE_FLOW_ITEM_TYPE_VLAN. In the latter case, type
refers to that of the outer header, with the inner EtherType/TPID provided by the subsequent pattern item. This is the same order as on the wire.
Definition at line 586 of file rte_flow.h.
struct rte_ether_addr dst |
Destination MAC.
Definition at line 587 of file rte_flow.h.
struct rte_ether_addr src |
Source MAC.
Definition at line 588 of file rte_flow.h.
rte_be16_t type |
EtherType or TPID.
Definition at line 589 of file rte_flow.h.