DPDK  20.11.3
Data Fields
rte_regexdev_rule Struct Reference

#include <rte_regexdev.h>

Data Fields

enum rte_regexdev_rule_op op
uint16_t group_id
uint32_t rule_id
const char * pcre_rule
uint16_t pcre_rule_len

Detailed Description

Structure to hold a RegEx rule attributes.

Definition at line 953 of file rte_regexdev.h.

Field Documentation

◆ op

OP type of the rule either a OP_ADD or OP_DELETE.

Definition at line 954 of file rte_regexdev.h.

◆ group_id

uint16_t group_id

Group identifier to which the rule belongs to.

Definition at line 956 of file rte_regexdev.h.

◆ rule_id

uint32_t rule_id

Rule identifier which is returned on successful match.

Definition at line 958 of file rte_regexdev.h.

◆ pcre_rule

const char* pcre_rule

Buffer to hold the PCRE rule.

Definition at line 960 of file rte_regexdev.h.

◆ pcre_rule_len

uint16_t pcre_rule_len

Length of the PCRE rule.

Definition at line 962 of file rte_regexdev.h.

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