diff options
author | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2017-02-10 20:54:38 +0100 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2017-02-10 21:02:44 +0100 |
commit | a6309410ffb6b4531044c3b52cb6a79cfdcde231 (patch) | |
tree | 54a116be30cfaaaf3bd54f13418cc3a6687cb9cc /src/lib/dev.c | |
parent | 344f834e85e9c7afc47e19226157c8e834725d2e (diff) | |
download | ouroboros-a6309410ffb6b4531044c3b52cb6a79cfdcde231.tar.gz ouroboros-a6309410ffb6b4531044c3b52cb6a79cfdcde231.zip |
include: Add header for endianness
This adds a header for dealing with endianness in ouroboros. It is
extracted from the byte_order header in the library (which now
includes this header). It also exposes the functions ntohl, ntohll,
htonl and htonll, necessary for converting 32 and 64 bit values for
storage and retrieval from the RIB (which should store multi-byte
values in network byte order).
Diffstat (limited to 'src/lib/dev.c')
0 files changed, 0 insertions, 0 deletions