]> git.ipfire.org Git - thirdparty/suricata.git/commit
parse/size: support IEEE 1541 size units
authorVictor Julien <vjulien@oisf.net>
Wed, 10 Jul 2024 09:49:58 +0000 (11:49 +0200)
committerVictor Julien <victor@inliniac.net>
Fri, 12 Jul 2024 08:47:50 +0000 (10:47 +0200)
commit342aec8f1c579ebc61cb0eeb8c4ef098a0caed59
treea060dcf46a4709df322d4bdaa7960d5bfd91b3bd
parent0e03691fdb65304b6349633d40184778a331e893
parse/size: support IEEE 1541 size units

Introduce KiB, MiB and GiB. They are case sensitive as a lower case 'b'
means bits in the IEEE 1541 scheme.

KiB = 1024
MiB = 1048576
GiB = 1073741824

Ticket: #1457.
src/util-misc.c