logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

rte_flow_item_flex

Author

       Generated automatically by Doxygen for DPDK from the source code.

DPDK                                             Version 24.11.2                           rte_flow_item_flex(3)

Detailed Description

WarningEXPERIMENTAL: 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 2150 of file rte_flow.h.

Field Documentation

structrte_flow_item_flex_handle*handle
       Opaque item handle.

       Definition at line 2151 of file rte_flow.h.

   uint32_tlength
       Pattern length in bytes.

       Definition at line 2152 of file rte_flow.h.

   constuint8_t*pattern
       Combined bitfields pattern to match.

       Definition at line 2153 of file rte_flow.h.

Name

       rte_flow_item_flex

Synopsis

       #include <rte_flow.h>

   DataFields
       struct rte_flow_item_flex_handle * handle
       uint32_t length
       const uint8_t * pattern

See Also