Microchip® Advanced Software Framework

src/include/lwip/def.h File Reference
#include "lwip/arch.h"
#include "lwip/opt.h"

Macros

#define htonl(x)   lwip_htonl(x)
 
#define htons(x)   lwip_htons(x)
 
#define lwip_htonl(x)   (x)
 
#define lwip_htons(x)   (x)
 
#define LWIP_MAKE_U16(a, b)   ((a << 8) | b)
 
#define LWIP_MAX(x, y)   (((x) > (y)) ? (x) : (y))
 
#define LWIP_MIN(x, y)   (((x) < (y)) ? (x) : (y))
 
#define lwip_ntohl(x)   (x)
 
#define lwip_ntohs(x)   (x)
 
#define LWIP_PLATFORM_BYTESWAP   0
 
#define ntohl(x)   lwip_ntohl(x)
 
#define ntohs(x)   lwip_ntohs(x)
 
#define NULL   ((void *)0)
 
#define PP_HTONL(x)   (x)
 
#define PP_HTONS(x)   (x)
 
#define PP_NTOHL(x)   (x)
 
#define PP_NTOHS(x)   (x)
 

#define lwip_htonl (   x)    (x)
#define lwip_htons (   x)    (x)

Referenced by lwip_ntohs().

#define LWIP_MAKE_U16 (   a,
 
)    ((a << 8) | b)
#define LWIP_MAX (   x,
 
)    (((x) > (y)) ? (x) : (y))
#define LWIP_MIN (   x,
 
)    (((x) < (y)) ? (x) : (y))

Referenced by pbuf_alloc(), and pbuf_take_at().

#define lwip_ntohl (   x)    (x)
#define lwip_ntohs (   x)    (x)
#define LWIP_PLATFORM_BYTESWAP   0
#define ntohl (   x)    lwip_ntohl(x)
#define ntohs (   x)    lwip_ntohs(x)

Referenced by ip_input().

#define NULL   ((void *)0)
#define PP_HTONL (   x)    (x)

Referenced by netif_init().

#define PP_HTONS (   x)    (x)

Referenced by ip_input().

#define PP_NTOHL (   x)    (x)
#define PP_NTOHS (   x)    (x)