History log of /seL4-refos-master/libs/libmuslc/src/network/htons.c
Revision Date Author Comments
# c8986266 12-Apr-2011 Rich Felker <dalias@aerifal.cx>

optimize ntohl etc. in terms of bswap functions

we can do this without violating the namespace now that they are
macros/inline functions rather than extern functions. the motivation
is that gcc was generating giant, slow, horrible code for the old
functions, and now generates a single byte-swapping instruction.


# 0b44a031 11-Feb-2011 Rich Felker <dalias@aerifal.cx>

initial check-in, version 0.5.0