DPDK  24.07.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

Warning
EXPERIMENTAL: this structure may change without prior notice

RTE_FLOW_ITEM_TYPE_FLEX

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 2158 of file rte_flow.h.

Field Documentation

◆ handle

struct rte_flow_item_flex_handle* handle

Opaque item handle.

Definition at line 2159 of file rte_flow.h.

◆ length

uint32_t length

Pattern length in bytes.

Definition at line 2160 of file rte_flow.h.

◆ pattern

const uint8_t* pattern

Combined bitfields pattern to match.

Definition at line 2161 of file rte_flow.h.


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