DPDK  17.05.2
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:
examples/ip_pipeline/init.c.

Definition at line 156 of file rte_eth_ctrl.h.

Field Documentation

struct ether_addr mac_addr

Mac address to match.

Definition at line 157 of file rte_eth_ctrl.h.

uint16_t ether_type

Ether type to match

Examples:
examples/ip_pipeline/init.c.

Definition at line 158 of file rte_eth_ctrl.h.

uint16_t flags

Flags from RTE_ETHTYPE_FLAGS_*

Definition at line 159 of file rte_eth_ctrl.h.

uint16_t queue

Queue assigned to when match

Definition at line 160 of file rte_eth_ctrl.h.


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