---
name: "rte_regexdev_match"
section: "3"
platform: "linux"
package: "dpdk-doc"
version: "24.11.4-0+deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/rte_regexdev_match"
---

# rte\_regexdev\_match(3)

## NAME

rte\_regexdev\_match

## SYNOPSIS

`#include <rte_regexdev.h>`

## Detailed Description

The generic **rte\_regexdev\_match structure to hold the RegEx match attributes.**

**See also**

**struct rte\_regex\_ops::matches**

**Definition at line 1245 of file rte\_regexdev.h.**

## Field Documentation

### uint32\_t rule\_id

**Rule identifier to which the pattern matched.**

**See also**

**struct rte\_regexdev\_rule::rule\_id**

**Definition at line 1249 of file rte\_regexdev.h.**

### uint32\_t group\_id

**Group identifier of the rule which the pattern matched.**

**See also**

**struct rte\_regexdev\_rule::group\_id**

**Definition at line 1253 of file rte\_regexdev.h.**

### uint16\_t start\_offset

**Starting Byte Position for matched rule.**

**Definition at line 1257 of file rte\_regexdev.h.**

### uint16\_t len

**Length of match in bytes**

**Definition at line 1260 of file rte\_regexdev.h.**

### uint16\_t end\_offset

**The end offset of the match. In case MATCH\_AS\_END configuration is enabled.**

**See also**

**RTE\_REGEXDEV\_CFG\_MATCH\_AS\_END**

**Definition at line 1262 of file rte\_regexdev.h.**

## Author

**Generated automatically by Doxygen for DPDK from the source code.**
