Documentation
Includes
lwip/arch.h
#include "lwip/arch.h"
lwip/opt.h
#include "lwip/opt.h"
arch/perf.h
#include "arch/perf.h"
Macros
Marco LWIP_HDR_DEF_H
#define LWIP_HDR_DEF_H
Marco PERF_START
#define PERF_START /* null definition */
Marco PERF_STOP(x)
#define PERF_STOP(x) /* null definition */
Marco LWIP_MAX(x , y)
#define LWIP_MAX(x , y) (((x) > (y)) ? (x) : (y))
Marco LWIP_MIN(x , y)
#define LWIP_MIN(x , y) (((x) < (y)) ? (x) : (y))
Marco LWIP_ARRAYSIZE(x)
#define LWIP_ARRAYSIZE(x) (sizeof(x)/sizeof((x)[0]))
Marco LWIP_MAKEU32(a,b,c,d)
#define LWIP_MAKEU32(a,b,c,d) (((u32_t)((a) & 255) << 24) | \
((u32_t)((b) & 255) << 16) | \
((u32_t)((c) & 255) << 8) | \
(u32_t)((d) & 255))
Marco NULL
#define NULL 0
Marco NULL
#define NULL ((void *)0)
Marco lwip_htons(x)
#define lwip_htons(x) ((u16_t)(x))
Marco lwip_ntohs(x)
#define lwip_ntohs(x) ((u16_t)(x))
Marco lwip_htonl(x)
#define lwip_htonl(x) ((u32_t)(x))
Marco lwip_ntohl(x)
#define lwip_ntohl(x) ((u32_t)(x))
Marco PP_HTONS(x)
#define PP_HTONS(x) ((u16_t)(x))
Marco PP_NTOHS(x)
#define PP_NTOHS(x) ((u16_t)(x))
Marco PP_HTONL(x)
#define PP_HTONL(x) ((u32_t)(x))
Marco PP_NTOHL(x)
#define PP_NTOHL(x) ((u32_t)(x))
Marco lwip_ntohs(x)
#define lwip_ntohs(x) lwip_htons(x)
Marco lwip_ntohl(x)
#define lwip_ntohl(x) lwip_htonl(x)
Marco PP_HTONS(x)
#define PP_HTONS(x) ((u16_t)((((x) & (u16_t)0x00ffU) << 8) | (((x) & (u16_t)0xff00U) >> 8)))
Marco PP_NTOHS(x)
#define PP_NTOHS(x) PP_HTONS(x)
Marco PP_HTONL(x)
#define PP_HTONL(x) ((((x) & (u32_t)0x000000ffUL) << 24) | \
(((x) & (u32_t)0x0000ff00UL) << 8) | \
(((x) & (u32_t)0x00ff0000UL) >> 8) | \
(((x) & (u32_t)0xff000000UL) >> 24))
Marco PP_NTOHL(x)
#define PP_NTOHL(x) PP_HTONL(x)
Marco htons(x)
#define htons(x) lwip_htons(x)
Marco ntohs(x)
#define ntohs(x) lwip_ntohs(x)
Marco htonl(x)
#define htonl(x) lwip_htonl(x)
Marco ntohl(x)
#define ntohl(x) lwip_ntohl(x)
Functions
Func lwip_htons
u16_t lwip_htons(u16_t x);
Func lwip_htonl
u32_t lwip_htonl(u32_t x);
Func lwip_itoa
void lwip_itoa(char* result, size_t bufsize, int number);
Func lwip_strnicmp
int lwip_strnicmp(const char* str1, const char* str2, size_t len);
Func lwip_stricmp
int lwip_stricmp(const char* str1, const char* str2);
Vars
Variable char
char* lwip_strnstr(const char* buffer, const char* token, size_t n);
Consts
Types
Typedefs