Request we should make. More...
Data Fields | |
struct GNUNET_CONTAINER_HeapNode * | hn |
Requests are kept in a heap while waiting to be resolved. | |
struct Job * | next |
Active requests are kept in a DLL. | |
struct Job * | prev |
Active requests are kept in a DLL. | |
struct Record * | rec_head |
Head of records that should be published in GNS for this hostname. | |
struct Record * | rec_tail |
Tail of records that should be published in GNS for this hostname. | |
char | label [GNUNET_DNSPARSER_MAX_NAME_LENGTH] |
Hostname we are resolving. | |
struct GNUNET_NAMESTORE_QueueEntry * | qe |
Namestore operation pending for this record. | |
const struct Zone * | zone |
Zone responsible for this request. | |
struct GNUNET_TIME_Absolute | expires |
At what time does the (earliest) of the returned records for this name expire? At this point, we need to re-fetch the record. | |
struct GNUNET_TIME_Absolute | op_start_time |
While we are fetching the record, the value is set to the starting time of the DNS operation. | |
struct GNUNET_GNSRECORD_Data * | rd |
uint32_t | rd_count |
Request we should make.
We keep this struct in memory per request, thus optimizing it is crucial for the overall memory consumption of the zonefile importer.
Definition at line 128 of file gnunet-namestore-zonefile.c.
struct GNUNET_CONTAINER_HeapNode* Job::hn |
Requests are kept in a heap while waiting to be resolved.
Definition at line 133 of file gnunet-namestore-zonefile.c.
struct Job* Job::next |
Active requests are kept in a DLL.
Definition at line 138 of file gnunet-namestore-zonefile.c.
struct Job* Job::prev |
Active requests are kept in a DLL.
Definition at line 143 of file gnunet-namestore-zonefile.c.
struct Record* Job::rec_head |
Head of records that should be published in GNS for this hostname.
Definition at line 149 of file gnunet-namestore-zonefile.c.
struct Record* Job::rec_tail |
Tail of records that should be published in GNS for this hostname.
Definition at line 155 of file gnunet-namestore-zonefile.c.
char Job::label[GNUNET_DNSPARSER_MAX_NAME_LENGTH] |
Hostname we are resolving.
Definition at line 160 of file gnunet-namestore-zonefile.c.
struct GNUNET_NAMESTORE_QueueEntry* Job::qe |
Namestore operation pending for this record.
Definition at line 165 of file gnunet-namestore-zonefile.c.
const struct Zone* Job::zone |
Zone responsible for this request.
Definition at line 170 of file gnunet-namestore-zonefile.c.
struct GNUNET_TIME_Absolute Job::expires |
At what time does the (earliest) of the returned records for this name expire? At this point, we need to re-fetch the record.
Definition at line 177 of file gnunet-namestore-zonefile.c.
struct GNUNET_TIME_Absolute Job::op_start_time |
While we are fetching the record, the value is set to the starting time of the DNS operation.
While doing a NAMESTORE store, again set to the start time of the NAMESTORE operation.
Definition at line 185 of file gnunet-namestore-zonefile.c.
struct GNUNET_GNSRECORD_Data* Job::rd |
Definition at line 188 of file gnunet-namestore-zonefile.c.
uint32_t Job::rd_count |
Definition at line 191 of file gnunet-namestore-zonefile.c.