mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-03 21:14:40 +08:00
Minor: Documentation update
This commit is contained in:
parent
70ccea9207
commit
5477aa5a42
@ -458,6 +458,9 @@ assembly or inline replacements for htons() and htonl()
|
|||||||
if you're using a little-endian architecture.
|
if you're using a little-endian architecture.
|
||||||
#define lwip_htons(x) <your_htons>
|
#define lwip_htons(x) <your_htons>
|
||||||
#define lwip_htonl(x) <your_htonl>
|
#define lwip_htonl(x) <your_htonl>
|
||||||
|
If you #define them to htons() and htonl(), you should
|
||||||
|
#define LWIP_DONT_PROVIDE_BYTEORDER_FUNCTIONS to prevent lwIP from
|
||||||
|
defining hton*/ntoh* compatibility macros.
|
||||||
|
|
||||||
Check your network interface driver if it reads at
|
Check your network interface driver if it reads at
|
||||||
a higher speed than the maximum wire-speed. If the
|
a higher speed than the maximum wire-speed. If the
|
||||||
|
@ -11,6 +11,10 @@
|
|||||||
* \#define lwip_htonl(x) your_htonl
|
* \#define lwip_htonl(x) your_htonl
|
||||||
*
|
*
|
||||||
* Note lwip_ntohs() and lwip_ntohl() are merely references to the htonx counterparts.
|
* Note lwip_ntohs() and lwip_ntohl() are merely references to the htonx counterparts.
|
||||||
|
*
|
||||||
|
* If you #define them to htons() and htonl(), you should
|
||||||
|
* \#define LWIP_DONT_PROVIDE_BYTEORDER_FUNCTIONS to prevent lwIP from
|
||||||
|
* defining htonx/ntohx compatibility macros.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user