lo_endian.h File Reference

#include <sys/types.h>
#include <stdint.h>
#include <netinet/in.h>

Go to the source code of this file.

Classes

union  lo_split64

Defines

#define lo_swap16(x)   htons(x)
#define lo_swap32(x)   htonl(x)
#define lo_htoo16   lo_swap16
#define lo_htoo32   lo_swap32
#define lo_htoo64   lo_swap64
#define lo_otoh16   lo_swap16
#define lo_otoh32   lo_swap32
#define lo_otoh64   lo_swap64

Functions

static uint64_t lo_swap64 (uint64_t x)


Define Documentation

#define lo_swap16  )     htons(x)
 

#define lo_swap32  )     htonl(x)
 

#define lo_htoo16   lo_swap16
 

#define lo_htoo32   lo_swap32
 

#define lo_htoo64   lo_swap64
 

#define lo_otoh16   lo_swap16
 

#define lo_otoh32   lo_swap32
 

#define lo_otoh64   lo_swap64
 


Function Documentation

static uint64_t lo_swap64 uint64_t  x  )  [inline, static]
 


Generated on Sat Oct 17 14:12:33 2009 for CSL by  doxygen 1.4.5-20051010