LWIP_MAX is only used within LwIP.
 
Symbols
loading...
Files
loading...

LWIP_MAX macro

Syntax

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

Arguments

x

y

References

LocationText
def.h:65
#define LWIP_MAX(x , y) (((x) > (y)) ? (x) : (y))
opt.h:1331
#define TCP_SNDLOWAT LWIP_MIN(LWIP_MAX(((TCP_SND_BUF)/2), (2 * TCP_MSS) + 1), (TCP_SND_BUF) - 1)
opt.h:1340
#define TCP_SNDQUEUELOWAT LWIP_MAX(((TCP_SND_QUEUELEN)/2), 5)
sockets.c:894
backlog = LWIP_MIN(LWIP_MAX(backlog, 0), 0xff);
tcp_in.c:69
#define LWIP_TCP_CALC_INITIAL_CWND(mss) ((tcpwnd_size_t)LWIP_MIN((4U * (mss)), LWIP_MAX((2U * (mss)), 4380U)))