Add ntohs&l() and htons&l

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@324 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2007-09-02 15:32:03 +00:00
parent 800afcd04d
commit d82d41387b
6 changed files with 148 additions and 58 deletions
-5
View File
@@ -2157,11 +2157,6 @@ void uip_interrupt(uint8 flag)
return;
}
uint16 htons(uint16 val)
{
return HTONS(val);
}
void uip_send(const void *data, int len)
{
if (len > 0)