GNU Radio 3.3.0 C++ API
usrp2_bytesex.h File Reference
#include <stdint.h>
Include dependency graph for firmware/lib/usrp2_bytesex.h:

Go to the source code of this file.

Functions

static uint16_t bswap_16 (uint16_t x)
static uint32_t bswap_32 (uint32_t x)
static uint32_t htonl (uint32_t x)
static uint16_t htons (uint16_t x)
static uint32_t ntohl (uint32_t x)
static uint16_t ntohs (uint16_t x)

Function Documentation

static uint16_t bswap_16 ( uint16_t  x) [inline, static]

Referenced by htons(), and ntohs().

static uint32_t bswap_32 ( uint32_t  x) [inline, static]

Referenced by htonl(), and ntohl().

static uint32_t htonl ( uint32_t  x) [inline, static]

References bswap_32().

Referenced by u2p_set_timestamp(), and u2p_set_word0().

static uint16_t htons ( uint16_t  x) [inline, static]

References bswap_16().

static uint32_t ntohl ( uint32_t  x) [inline, static]

References bswap_32().

Referenced by u2p_chan(), u2p_timestamp(), and u2p_word0().

static uint16_t ntohs ( uint16_t  x) [inline, static]

References bswap_16().