commit | ee3bcddef71a8ea35db5bc3d26f124ec6530c431 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Mar 08 17:48:17 2020 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sun Mar 08 18:04:16 2020 +0100 |
tree | 73b5719d26b1b8f45b9477e9343c07f941842ab7 | |
parent | aa8bbc12ddcb134defd9a0216cf15de00d3a5e5a [diff] |
MINOR: tools: add a generic function to generate UUIDs We currently have two UUID generation functions, one for the sample fetch and the other one in the SPOE filter. Both were a bit complicated since they were made to support random() implementations returning an arbitrary number of bits, and were throwing away 33 bits every 64. Now we don't need this anymore, so let's have a generic function consuming 64 bits at once and use it as appropriate.