basic.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


#define BOOL_CAST(x)   ((x) ? (true) : (false))
#define SIZE(x)   (sizeof(x)/sizeof(x[0]))
#define CLEAR(x)   memset(&(x), 0, sizeof(x))
#define IPV4_NETMASK_HOST   0xffffffffU

Macro Definition Documentation


#define BOOL_CAST (   x)    ((x) ? (true) : (false))

Definition at line 27 of file basic.h.


#define CLEAR (   x)    memset(&(x), 0, sizeof(x))

Definition at line 33 of file basic.h.


#define IPV4_NETMASK_HOST   0xffffffffU

Definition at line 35 of file basic.h.


#define SIZE (   x)    (sizeof(x)/sizeof(x[0]))

Definition at line 30 of file basic.h.