ReactOS 0.4.15-dev-7918-g2a2556c
def.h File Reference
#include "lwip/arch.h"
#include "lwip/opt.h"
Include dependency graph for def.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

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

Macro Definition Documentation

◆ htonl

#define htonl (   x)    lwip_htonl(x)

Definition at line 79 of file def.h.

◆ htons

#define htons (   x)    lwip_htons(x)

Definition at line 77 of file def.h.

◆ lwip_htonl

#define lwip_htonl (   x)    (x)

Definition at line 86 of file def.h.

◆ lwip_htons

#define lwip_htons (   x)    (x)

Definition at line 84 of file def.h.

◆ LWIP_MAKE_U16

#define LWIP_MAKE_U16 (   a,
  b 
)    ((a << 8) | b)

Definition at line 52 of file def.h.

◆ LWIP_MAX

#define LWIP_MAX (   x,
  y 
)    (((x) > (y)) ? (x) : (y))

Definition at line 43 of file def.h.

◆ LWIP_MIN

#define LWIP_MIN (   x,
  y 
)    (((x) < (y)) ? (x) : (y))

Definition at line 44 of file def.h.

◆ lwip_ntohl

#define lwip_ntohl (   x)    (x)

Definition at line 87 of file def.h.

◆ lwip_ntohs

#define lwip_ntohs (   x)    (x)

Definition at line 85 of file def.h.

◆ LWIP_PLATFORM_BYTESWAP

#define LWIP_PLATFORM_BYTESWAP   0

Definition at line 58 of file def.h.

◆ ntohl

#define ntohl (   x)    lwip_ntohl(x)

Definition at line 80 of file def.h.

◆ ntohs

#define ntohs (   x)    lwip_ntohs(x)

Definition at line 78 of file def.h.

◆ NULL

#define NULL   ((void *)0)

Definition at line 47 of file def.h.

◆ PP_HTONL

#define PP_HTONL (   x)    (x)

Definition at line 90 of file def.h.

◆ PP_HTONS

#define PP_HTONS (   x)    (x)

Definition at line 88 of file def.h.

◆ PP_NTOHL

#define PP_NTOHL (   x)    (x)

Definition at line 91 of file def.h.

◆ PP_NTOHS

#define PP_NTOHS (   x)    (x)

Definition at line 89 of file def.h.