]> git.ipfire.org Git - thirdparty/bind9.git/commit
Move and extend the uint8_t low-endian to uint{32,64}t to endian.h
authorOndřej Surý <ondrej@isc.org>
Thu, 15 Dec 2022 11:58:31 +0000 (12:58 +0100)
committerOndřej Surý <ondrej@isc.org>
Tue, 20 Dec 2022 18:13:48 +0000 (19:13 +0100)
commita1d45685e605d535770d0c5eecaab86a2be6a7dc
tree0cb46c0d5925808007713cc94e5c97331559dfef
parentaea251f3bce7665651abbf1beb6de61a285a9453
Move and extend the uint8_t low-endian to uint{32,64}t to endian.h

Move the U8TO{32,64}_LE and U{32,64}TO8_LE macros to endian.h and extend
the macros for 16-bit and Big-Endian variants.

Use the macros both in isc_siphash (LE) and isc_buffer (BE) units.
lib/isc/include/isc/endian.h
lib/isc/siphash.c