net: provide alternatives to {ntoh, hton}[sl] funtions with cleaner semantics
ntohl always converts 32 bits even on archs where sizeof(long) == 8.
"ntoh32" is a much more intuitive name here. Also the name of the 64 bit
variant that is also added isn't questionable.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent b104688 commit 8abaf1ad7137e0802761d85b456591de9eaa7a5f
@Uwe Kleine-König Uwe Kleine-König authored on 7 Feb 2014
Sascha Hauer committed on 10 Feb 2014
Showing 1 changed file
View
include/byteorder.h 0 → 100644