NetServices Stack source

Dependents:   HelloWorld ServoInterfaceBoardExample1 4180_Lab4

Revision:
4:fd826cad83c0
Parent:
0:632c9925f013
Child:
5:dd63a1e02b1b
--- a/lwip/core/def.c	Fri Jun 18 10:38:57 2010 +0000
+++ b/lwip/core/def.c	Fri Jul 09 14:46:47 2010 +0000
@@ -61,7 +61,7 @@
  * @return n in network byte order
  */
 u16_t
-htons(u16_t n)
+lwip_htons(u16_t n)
 {
   return ((n & 0xff) << 8) | ((n & 0xff00) >> 8);
 }
@@ -73,7 +73,7 @@
  * @return n in host byte order
  */
 u16_t
-ntohs(u16_t n)
+lwip_ntohs(u16_t n)
 {
   return htons(n);
 }
@@ -85,7 +85,7 @@
  * @return n in network byte order
  */
 u32_t
-htonl(u32_t n)
+lwip_htonl(u32_t n)
 {
   return ((n & 0xff) << 24) |
     ((n & 0xff00) << 8) |
@@ -100,7 +100,7 @@
  * @return n in host byte order
  */
 u32_t
-ntohl(u32_t n)
+lwip_ntohl(u32_t n)
 {
   return htonl(n);
 }