DPDK  18.05.1
Data Fields
rte_flow_item_eth Struct Reference

#include <rte_flow.h>

Data Fields

struct ether_addr dst
struct ether_addr src
rte_be16_t type

Detailed Description

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.

Examples:
examples/flow_filtering/flow_blocks.c.

Definition at line 578 of file rte_flow.h.

Field Documentation

struct ether_addr dst

Destination MAC.

Definition at line 579 of file rte_flow.h.

struct ether_addr src

Source MAC.

Definition at line 580 of file rte_flow.h.

rte_be16_t type

EtherType or TPID.

Definition at line 581 of file rte_flow.h.


The documentation for this struct was generated from the following file: