DPDK  22.11.0
Data Fields
rte_flow_item_flex Struct Reference

#include <rte_flow.h>

Data Fields

struct rte_flow_item_flex_handle * handle
uint32_t length
const uint8_t * pattern

Detailed Description

EXPERIMENTAL: this structure may change without prior notice


Matches a specified set of fields within the network protocol header. Each field is presented as set of bits with specified width, and bit offset from the header beginning.

The pattern is concatenation of bit fields configured at item creation by rte_flow_flex_item_create(). At configuration the fields are presented by sample_data array.

This type does not support ranges (struct rte_flow_item.last).

Definition at line 1935 of file rte_flow.h.

Field Documentation

◆ handle

struct rte_flow_item_flex_handle* handle

Opaque item handle.

Definition at line 1936 of file rte_flow.h.

◆ length

uint32_t length

Pattern length in bytes.

Definition at line 1937 of file rte_flow.h.

◆ pattern

const uint8_t* pattern

Combined bitfields pattern to match.

Definition at line 1938 of file rte_flow.h.

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