---
name: "rte_ring_headtail"
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_ring_headtail"
---

# rte\_ring\_headtail(3)

## NAME

rte\_ring\_headtail

## SYNOPSIS

`#include <rte_ring_core.h>`

### Public Member Functions

**volatile** (uint32\_t) head\
 **volatile** (uint32\_t) tail\

## Detailed Description

structures to hold a pair of head/tail values and other metadata. Depending on sync\_type format of that structure might be different, but offset for *sync\_type* and *tail* values should remain the same.

Definition at line **65** of file **rte\_ring\_core.h**.

## Member Function Documentation

### volatile (uint32\_t)

prod/consumer head.

### volatile (uint32\_t)

prod/consumer tail.

## Field Documentation

### enum rte\_ring\_sync\_type sync\_type

sync type of prod/cons

Definition at line **70** of file **rte\_ring\_core.h**.

### uint32\_t single

deprecated - True if single prod/cons

Definition at line **72** of file **rte\_ring\_core.h**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
