27 return (qid_generator_instance);
31 vgen_(generator_, dist_)
40 generator_.seed((tv.tv_sec * 1000000) + tv.tv_usec);
QidGenerator qid_generator_instance
static QidGenerator & getInstance()
Returns the singleton instance of the QidGenerator.
QidGenerator()
Default constructor.
uint16_t generateQid()
Generate a Qid.
void seed()
Seeds the QidGenerator (based on the current time)
Defines the logger used by the top-level component of kea-dhcp-ddns.
std::vector< uint8_t > random(size_t len)
Generate random value.
This class generates Qids for outgoing queries.