26 return (qid_generator_instance);
37 memmove(&val, &rnd[0],
sizeof(uint16_t));
uint16_t generateQid()
Generate a Qid.
QidGenerator()
Default constructor.
QidGenerator qid_generator_instance
static QidGenerator & getInstance()
Returns the singleton instance of the QidGenerator.
Defines the logger used by the top-level component of kea-lfc.
This class generates Qids for outgoing queries.
std::vector< uint8_t > random(size_t len)
Generate random value.