32#define LOG_LEVEL LOG_INFO
41#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
42# define BYTE_ORDER (LITTLE_ENDIAN)
43#elif __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
44# define BYTE_ORDER (BIG_ENDIAN)
46# error "Byte order is neither little nor big!"
54#define X8_F "02" PRIx8
69#define PACK_STRUCT_FIELD(x) x
70#define PACK_STRUCT_STRUCT __attribute__((packed))
71#define PACK_STRUCT_BEGIN
72#define PACK_STRUCT_END
80# define LWIP_PLATFORM_DIAG(x) LOG_INFO x
82# define LWIP_PLATFORM_ASSERT(x)
84# define LWIP_PLATFORM_ASSERT(x) \
86 LOG_ERROR("Assertion \"%s\" failed at %s:%d\n", x, __FILE__, __LINE__); \
92# define LWIP_PLATFORM_DIAG(x) printf x
94# define LWIP_PLATFORM_ASSERT(x)
96# define LWIP_PLATFORM_ASSERT(x) \
98 printf("Assertion \"%s\" failed at %s:%d\n", x, __FILE__, __LINE__); \
Functions to work with different byte orders.
Adds include for missing inttype definitions.
Mutex for thread synchronization.
stdio wrapper to extend the C libs stdio