Rtos API example

Embed: (wiki syntax)

« Back to documentation index

def.h File Reference

def.h File Reference

various utility macros More...

Go to the source code of this file.

Functions

u16_t lwip_htons (u16_t x)
 Convert an u16_t from host- to network byte order.
u32_t lwip_htonl (u32_t x)
 Convert an u32_t from host- to network byte order.
void lwip_itoa (char *result, size_t bufsize, int number)
 lwIP default implementation for itoa() non-standard function.
int lwip_strnicmp (const char *str1, const char *str2, size_t len)
 lwIP default implementation for strnicmp() non-standard function.
int lwip_stricmp (const char *str1, const char *str2)
 lwIP default implementation for stricmp() non-standard function.
char * lwip_strnstr (const char *buffer, const char *token, size_t n)
 lwIP default implementation for strnstr() non-standard function.

Detailed Description

various utility macros

Definition in file def.h.


Function Documentation

u32_t lwip_htonl ( u32_t  n )

Convert an u32_t from host- to network byte order.

Parameters:
nu32_t in host byte order
Returns:
n in network byte order

Definition at line 90 of file lwip_def.c.

u16_t lwip_htons ( u16_t  n )

Convert an u16_t from host- to network byte order.

Parameters:
nu16_t in host byte order
Returns:
n in network byte order

Definition at line 76 of file lwip_def.c.