byte-order: Make uint32_byteswap() available regardless of endianness.
authorBen Pfaff <blp@nicira.com>
Mon, 2 Dec 2013 22:53:27 +0000 (14:53 -0800)
committerBen Pfaff <blp@nicira.com>
Mon, 2 Dec 2013 22:55:48 +0000 (14:55 -0800)
commit4cf5406ba2e8bb8271940b2f54967c9fd1270212
treee98d4944ba02fef97ae2a064a8843e1d20ddaca1
parentf9c372331477c9b5c419c91687d5490570d4ac89
byte-order: Make uint32_byteswap() available regardless of endianness.

pcap_read() can use it whether we're big-endian or not.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
lib/byte-order.h
lib/pcap-file.c