---
name: "rte_fbk_hash_table"
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_fbk_hash_table"
---

# rte\_fbk\_hash\_table(3)

## NAME

rte\_fbk\_hash\_table

## SYNOPSIS

`#include <rte_fbk_hash.h>`

### Data Fields

char **name** \[**RTE\_FBK\_HASH\_NAMESIZE**\]\
 uint32\_t **entries**\
 uint32\_t **entries\_per\_bucket**\
 uint32\_t **used\_entries**\
 uint32\_t **bucket\_mask**\
 uint32\_t **bucket\_shift**\
 **rte\_fbk\_hash\_fn** **hash\_func**\
 uint32\_t **init\_val**\
 union **rte\_fbk\_hash\_entry** **t** \[\]\

## Detailed Description

The four-byte key hash table structure.

Definition at line **69** of file **rte\_fbk\_hash.h**.

## Field Documentation

### char name\[RTE\_FBK\_HASH\_NAMESIZE\]

Name of the hash.

Definition at line **70** of file **rte\_fbk\_hash.h**.

### uint32\_t entries

Total number of entries.

Definition at line **71** of file **rte\_fbk\_hash.h**.

### uint32\_t entries\_per\_bucket

Number of entries in a bucket.

Definition at line **72** of file **rte\_fbk\_hash.h**.

### uint32\_t used\_entries

How many entries are used.

Definition at line **73** of file **rte\_fbk\_hash.h**.

### uint32\_t bucket\_mask

To find which bucket the key is in.

Definition at line **74** of file **rte\_fbk\_hash.h**.

### uint32\_t bucket\_shift

Convert bucket to table offset.

Definition at line **75** of file **rte\_fbk\_hash.h**.

### rte\_fbk\_hash\_fn hash\_func

The hash function.

Definition at line **76** of file **rte\_fbk\_hash.h**.

### uint32\_t init\_val

For initialising hash function.

Definition at line **77** of file **rte\_fbk\_hash.h**.

### union rte\_fbk\_hash\_entry t\[\]

A flat table of all buckets.

Definition at line **80** of file **rte\_fbk\_hash.h**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
