As Ivan Shmakov wrote:

>       So, what's about having, say, htonX () and ntohX () functions
>       in AVR Libc?  These are standard [Posix], ...

Well, avr-libc doesn't aim to be a subset of Posix, but rather wants
to be a C standard library.  Anyway, I wouldn't mind adding those to
the library, albeit creating a subdirectory "arpa" just for the
purpose of keeping these two macros/inline functions in <arpa/inet.h>
looks a little strange.

However, that makes less than one percent of a functional IP stack
;-), and as Eric already explained, the remainder of an IP stack
wouldn't belong into avr-libc.  At best, it could be more on-topic for
the companion project avr-corelib, but I think they are still lacking
much more basic things than an IP stack.

Btw., SLIP is dead.  PPP replaced it very successfully, and nobody
sheds a tear anymore for SLIP.

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)


_______________________________________________
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to