GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
* Sign Up! *

Support
Customer Portal
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
rte_byteorder.h(3) DPDK rte_byteorder.h(3)

rte_byteorder.h

#include <stdint.h>
#include <rte_common.h>
#include <rte_config.h>


typedef uint16_t rte_be16_t
typedef uint32_t rte_be32_t
typedef uint64_t rte_be64_t
typedef uint16_t rte_le16_t
typedef uint32_t rte_le32_t
typedef uint64_t rte_le64_t


static uint16_t rte_bswap16 (uint16_t _x)
static uint32_t rte_bswap32 (uint32_t x)
static uint64_t rte_bswap64 (uint64_t x)
static rte_le16_t rte_cpu_to_le_16 (uint16_t x)
static rte_le32_t rte_cpu_to_le_32 (uint32_t x)
static rte_le64_t rte_cpu_to_le_64 (uint64_t x)
static rte_be16_t rte_cpu_to_be_16 (uint16_t x)
static rte_be32_t rte_cpu_to_be_32 (uint32_t x)
static rte_be64_t rte_cpu_to_be_64 (uint64_t x)
static uint16_t rte_le_to_cpu_16 (rte_le16_t x)
static uint32_t rte_le_to_cpu_32 (rte_le32_t x)
static uint64_t rte_le_to_cpu_64 (rte_le64_t x)
static uint16_t rte_be_to_cpu_16 (rte_be16_t x)
static uint32_t rte_be_to_cpu_32 (rte_be32_t x)
static uint64_t rte_be_to_cpu_64 (rte_be64_t x)

Byte Swap Operations

This file defines a generic API for byte swap operations. Part of the implementation is architecture-specific.

Definition in file rte_byteorder.h.

typedef uint16_t rte_be16_t

16-bit big-endian value.

Definition at line 116 of file rte_byteorder.h.

typedef uint32_t rte_be32_t

32-bit big-endian value.

Definition at line 117 of file rte_byteorder.h.

typedef uint64_t rte_be64_t

64-bit big-endian value.

Definition at line 118 of file rte_byteorder.h.

typedef uint16_t rte_le16_t

16-bit little-endian value.

Definition at line 119 of file rte_byteorder.h.

typedef uint32_t rte_le32_t

32-bit little-endian value.

Definition at line 120 of file rte_byteorder.h.

typedef uint64_t rte_le64_t

64-bit little-endian value.

Definition at line 121 of file rte_byteorder.h.

static rte_le16_t rte_cpu_to_le_16 (uint16_t x) [static]

Convert a 16-bit value from CPU order to little endian.

static rte_le32_t rte_cpu_to_le_32 (uint32_t x) [static]

Convert a 32-bit value from CPU order to little endian.

static rte_le64_t rte_cpu_to_le_64 (uint64_t x) [static]

Convert a 64-bit value from CPU order to little endian.

static rte_be16_t rte_cpu_to_be_16 (uint16_t x) [static]

Convert a 16-bit value from CPU order to big endian.

static rte_be32_t rte_cpu_to_be_32 (uint32_t x) [static]

Convert a 32-bit value from CPU order to big endian.

static rte_be64_t rte_cpu_to_be_64 (uint64_t x) [static]

Convert a 64-bit value from CPU order to big endian.

Convert a 16-bit value from little endian to CPU order.

Convert a 32-bit value from little endian to CPU order.

Convert a 64-bit value from little endian to CPU order.

Convert a 16-bit value from big endian to CPU order.

Convert a 32-bit value from big endian to CPU order.

Convert a 64-bit value from big endian to CPU order.

Generated automatically by Doxygen for DPDK from the source code.

Tue Jun 30 2026 Version 25.11.0

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.