On Mon, 21 Jul 2008, Garrett D'Amore wrote: > Good idea. I'd still *really* like to have a generic ddi_swapXX equivalent > that was optimized, but if you're not doing it as part of this, then I will > later. (ntohll is conditional, and doesn't swap on SPARC. Sometimes you > need to convert to little endian, e.g. when dealing with little endian audio > data.) > -- Garrett
I also plan to optimize the ddi_swap* functions and the sys/byteorder.h BSWAP_* functions. These are a little simpler administratively, since it's not new functionality (as are the new sys/byteorder.h htonll() and ntohll() functions). This message posted from opensolaris.org _______________________________________________ networking-discuss mailing list [email protected]
