netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
compat.h File Reference
#include <endian.h>
Include dependency graph for compat.h:
This graph shows which files directly or indirectly include this file:

Macros

#define __bswap_constant_32(x)
 
#define be64toh(x)   __bswap_64(x)
 
#define htobe64(x)   __bswap_64(x)
 

Macro Definition Documentation

#define __bswap_constant_32 (   x)
Value:
((((x) & 0xff000000u) >> 24) | (((x) & 0x00ff0000u) >> 8) | \
(((x) & 0x0000ff00u) << 8) | (((x) & 0x000000ffu) << 24))
#define be64toh (   x)    __bswap_64(x)
#define htobe64 (   x)    __bswap_64(x)