---
name: "rte_swx_hash_func.h"
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_swx_hash_func.h"
---

# rte\_swx\_hash\_func.h(3)

## NAME

rte\_swx\_hash\_func.h

## SYNOPSIS

`#include <stdint.h>`\

### Typedefs

**typedef** uint32\_t(\* **rte\_swx\_hash\_func\_t**) (const void \*key, uint32\_t length, uint32\_t seed)\

## Detailed Description

RTE SWX Hash Function

Definition in file **rte\_swx\_hash\_func.h**.

## Typedef Documentation

### typedef uint32\_t(\* rte\_swx\_hash\_func\_t) (const void \*key, uint32\_t length, uint32\_t seed)

Hash function prototype

**Parameters**

*key* Key to hash. Must be non-NULL. \
 *length* Key length in bytes. \
 *seed* Hash seed.

**Returns**

Hash value.

Definition at line **26** of file **rte\_swx\_hash\_func.h**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
