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