DPDK  2.2.0
Data Fields
rte_eth_ethertype_filter Struct Reference

#include <rte_eth_ctrl.h>

Data Fields

struct ether_addr mac_addr
uint16_t ether_type
uint16_t flags
uint16_t queue

Detailed Description

A structure used to define the ethertype filter entry to support RTE_ETH_FILTER_ETHERTYPE with RTE_ETH_FILTER_ADD, RTE_ETH_FILTER_DELETE and RTE_ETH_FILTER_GET operations.

Examples:
ip_pipeline/init.c.

Definition at line 145 of file rte_eth_ctrl.h.

Field Documentation

struct ether_addr mac_addr

Mac address to match.

Definition at line 146 of file rte_eth_ctrl.h.

uint16_t ether_type

Ether type to match

Examples:
ip_pipeline/init.c.

Definition at line 147 of file rte_eth_ctrl.h.

uint16_t flags

Flags from RTE_ETHTYPE_FLAGS_*

Definition at line 148 of file rte_eth_ctrl.h.

uint16_t queue

Queue assigned to when match

Definition at line 149 of file rte_eth_ctrl.h.


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