wimax-tools 1.4.4
Functions

Miscellaneous utilities

Functions

unsigned short wimaxll_swap_16 (unsigned short x)
 Swap the nibbles in a 16 bit number.
unsigned long wimaxll_swap_32 (unsigned long x)
 Swap the nibbles in a 32 bit number.
unsigned short wimaxll_cpu_to_le16 (unsigned short x)
 Convert a cpu-order 16 bits to little endian.
unsigned short wimaxll_le16_to_cpu (unsigned short le16)
 Convert a little-endian 16 bits to cpu order.
unsigned long wimaxll_cpu_to_le32 (unsigned long x)
 Convert a cpu-order 32 bits to little endian.
unsigned long wimaxll_le32_to_cpu (unsigned long le32)
 Convert a little-endian 32 bits to cpu order.
unsigned short wimaxll_cpu_to_be16 (unsigned short x)
 Convert a cpu-order 16 bits to big endian.
unsigned short wimaxll_be16_to_cpu (unsigned short be16)
 Convert a big-endian 16 bits to cpu order.
unsigned long wimaxll_cpu_to_be32 (unsigned long x)
 Convert a cpu-order 32 bits to big endian.
unsigned long wimaxll_be32_to_cpu (unsigned long be32)
 Convert a big-endian 32 bits to cpu order.

Function Documentation

static unsigned short wimaxll_be16_to_cpu ( unsigned short  be16) [inline]

Convert a big-endian 16 bits to cpu order.

static unsigned long wimaxll_be32_to_cpu ( unsigned long  be32) [inline]

Convert a big-endian 32 bits to cpu order.

static unsigned short wimaxll_cpu_to_be16 ( unsigned short  x) [inline]

Convert a cpu-order 16 bits to big endian.

static unsigned long wimaxll_cpu_to_be32 ( unsigned long  x) [inline]

Convert a cpu-order 32 bits to big endian.

static unsigned short wimaxll_cpu_to_le16 ( unsigned short  x) [inline]

Convert a cpu-order 16 bits to little endian.

static unsigned long wimaxll_cpu_to_le32 ( unsigned long  x) [inline]

Convert a cpu-order 32 bits to little endian.

static unsigned short wimaxll_le16_to_cpu ( unsigned short  le16) [inline]

Convert a little-endian 16 bits to cpu order.

Referenced by i2400m_msg_to_dev(), i2400m_tlv_buffer_walk(), and i2400m_tlv_match().

static unsigned long wimaxll_le32_to_cpu ( unsigned long  le32) [inline]

Convert a little-endian 32 bits to cpu order.

static unsigned short wimaxll_swap_16 ( unsigned short  x) [inline]

Swap the nibbles in a 16 bit number.

Referenced by wimaxll_be16_to_cpu(), wimaxll_cpu_to_be16(), wimaxll_cpu_to_le16(), and wimaxll_le16_to_cpu().

static unsigned long wimaxll_swap_32 ( unsigned long  x) [inline]

Swap the nibbles in a 32 bit number.

Referenced by wimaxll_be32_to_cpu(), wimaxll_cpu_to_be32(), wimaxll_cpu_to_le32(), and wimaxll_le32_to_cpu().