#include "lwip/arch.h"
#include "lwip/opt.h"
Go to the source code of this file.
Definition at line 83 of file def.h.
Definition at line 81 of file def.h.
#define lwip_htonl |
( |
|
x) | |
(x) |
Definition at line 90 of file def.h.
#define lwip_htons |
( |
|
x) | |
(x) |
Definition at line 88 of file def.h.
#define LWIP_MAKE_U16 |
( |
|
a, |
|
|
|
b |
|
) |
| ((a << 8) | b) |
Definition at line 56 of file def.h.
#define LWIP_MAX |
( |
|
x, |
|
|
|
y |
|
) |
| (((x) > (y)) ? (x) : (y)) |
Definition at line 43 of file def.h.
#define LWIP_MIN |
( |
|
x, |
|
|
|
y |
|
) |
| (((x) < (y)) ? (x) : (y)) |
Definition at line 44 of file def.h.
#define lwip_ntohl |
( |
|
x) | |
(x) |
Definition at line 91 of file def.h.
#define lwip_ntohs |
( |
|
x) | |
(x) |
Definition at line 89 of file def.h.
#define LWIP_PLATFORM_BYTESWAP 0 |
Definition at line 62 of file def.h.
#define LWIP_U32_DIFF |
( |
|
a, |
|
|
|
b |
|
) |
| (((a) >= (b)) ? ((a) - (b)) : (((a) + ((b) ^ 0xFFFFFFFF) + 1))) |
Get the absolute difference between 2 u32_t values (correcting overflows) 'a' is expected to be 'higher' (without overflow) than 'b'.
Definition at line 52 of file def.h.
Definition at line 84 of file def.h.
Definition at line 82 of file def.h.
Definition at line 47 of file def.h.
#define PP_HTONL |
( |
|
x) | |
(x) |
Definition at line 94 of file def.h.
#define PP_HTONS |
( |
|
x) | |
(x) |
Definition at line 92 of file def.h.
#define PP_NTOHL |
( |
|
x) | |
(x) |
Definition at line 95 of file def.h.
#define PP_NTOHS |
( |
|
x) | |
(x) |
Definition at line 93 of file def.h.