Generic facilities for byteswapping and unaligned references
commit8e927a77d83e5182baff3ab152696065c3b50345
authorH. Peter Anvin <hpa@zytor.com>
Wed, 3 Apr 2013 04:08:54 +0000 (2 21:08 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 3 Apr 2013 04:13:53 +0000 (2 21:13 -0700)
tree5a15955fdc4d03426c2991097eb1e7ab3c92449e
parent01408738c1aafbcf669b289b85795c3aa9dbec2a
Generic facilities for byteswapping and unaligned references

For future portability, add functions to access both littleendian and
bigendian numbers, and to perform unaligned memory references.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
com32/include/byteswap.h
com32/include/netinet/in.h