DPDK  2.0.0
Data Fields
rte_fdir_filter Struct Reference

#include <rte_ethdev.h>

Data Fields

uint16_t flex_bytes
uint16_t vlan_id
uint16_t port_src
uint16_t port_dst
union {
   uint32_t   ipv4_addr
   uint32_t   ipv6_addr [4]
ip_src
union {
   uint32_t   ipv4_addr
   uint32_t   ipv6_addr [4]
ip_dst
enum rte_l4type l4type
enum rte_iptype iptype

Detailed Description

A structure used to define a FDIR packet filter.

Field Documentation

uint16_t flex_bytes

Flex bytes value to match.

union { ... } ip_dst

IPv4/IPv6 destination address to match (union of above).

union { ... } ip_src

IPv4/IPv6 source address to match (union of above).

enum rte_iptype iptype

IP packet type to match: IPv4 or IPv6.

uint32_t ipv4_addr

IPv4 source address to match.

IPv4 destination address to match.

uint32_t ipv6_addr[4]

IPv6 source address to match.

IPv6 destination address to match

enum rte_l4type l4type

l4type to match: NONE/UDP/TCP/SCTP.

uint16_t port_dst

Destination port to match, 0 otherwise.

uint16_t port_src

Source port to match, 0 otherwise.

uint16_t vlan_id

VLAN ID value to match, 0 otherwise.


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