---
name: "rte_mempool_objhdr"
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_mempool_objhdr"
---

# rte\_mempool\_objhdr(3)

## NAME

rte\_mempool\_objhdr

## SYNOPSIS

`#include <rte_mempool.h>`

### Public Member Functions

**RTE\_STAILQ\_ENTRY** (**rte\_mempool\_objhdr**) next\

### Data Fields

struct **rte\_mempool** \* **mp**\
 **rte\_iova\_t** **iova**\

## Detailed Description

Mempool object header structure

Each object stored in mempools are prefixed by this header structure, it allows to retrieve the mempool pointer from the object and to iterate on all objects attached to a mempool. When debug is enabled, a cookie is also added in this structure preventing corruptions and double-frees.

Definition at line **153** of file **rte\_mempool.h**.

## Member Function Documentation

### RTE\_STAILQ\_ENTRY (rte\_mempool\_objhdr)

Next in list.

## Field Documentation

### struct rte\_mempool\* mp

The mempool owning the object.

Definition at line **155** of file **rte\_mempool.h**.

### rte\_iova\_t iova

IO address of the object.

Definition at line **156** of file **rte\_mempool.h**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
