---
name: "rte_mempool_memhdr"
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_memhdr"
---

# rte\_mempool\_memhdr(3)

## NAME

rte\_mempool\_memhdr

## SYNOPSIS

`#include <rte_mempool.h>`

### Public Member Functions

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

### Data Fields

struct **rte\_mempool** \* **mp**\
 void \* **addr**\
 **rte\_iova\_t** **iova**\
 size\_t **len**\
 **rte\_mempool\_memchunk\_free\_cb\_t** \* **free\_cb**\
 void \* **opaque**\

## Detailed Description

Mempool objects memory header structure

The memory chunks where objects are stored. Each chunk is virtually and physically contiguous.

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

## Member Function Documentation

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

Next in list.

## Field Documentation

### struct rte\_mempool\* mp

The mempool owning the chunk

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

### void\* addr

Virtual address of the chunk

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

### rte\_iova\_t iova

IO address of the chunk

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

### size\_t len

length of the chunk

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

### rte\_mempool\_memchunk\_free\_cb\_t\* free\_cb

Free callback

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

### void\* opaque

Argument passed to the free callback

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

## Author

Generated automatically by Doxygen for DPDK from the source code.
