* htonl and friends.
This commit is contained in:
parent
0abdde6197
commit
e5fa567869
2 changed files with 17 additions and 2 deletions
|
@ -41,7 +41,7 @@
|
|||
*
|
||||
* This file is part of the uIP TCP/IP stack.
|
||||
*
|
||||
* $Id: uip.c,v 1.7 2007/03/15 19:41:29 adamdunkels Exp $
|
||||
* $Id: uip.c,v 1.8 2007/04/04 11:37:40 bg- Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -1867,6 +1867,12 @@ htons(u16_t val)
|
|||
{
|
||||
return HTONS(val);
|
||||
}
|
||||
|
||||
u32_t
|
||||
htonl(u32_t val)
|
||||
{
|
||||
return HTONL(val);
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
void
|
||||
uip_send(const void *data, int len)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue