|
Electroneum
|
#include <authzone.h>

Public Attributes | |
| struct worker * | worker |
| struct module_env * | env |
| struct auth_master * | masters |
| struct auth_master * | lookup_target |
| int | lookup_aaaa |
| int | only_lookup |
| struct auth_master * | scan_specific |
| struct auth_master * | scan_target |
| struct auth_addr * | scan_addr |
| uint16_t | id |
| struct comm_point * | cp |
| struct comm_timer * | timer |
| int | timeout |
The probe task. Send a SOA UDP query to see if the zone needs to be updated (or similar, potential, HTTP probe query) and check serial number. If yes, start the auth_transfer task. If no, make sure auth_nextprobe timeout wait task is running. Needs to be a task, because the UDP query needs an event entry. This task could also be started by eg. a NOTIFY being received, even though another worker is performing the nextprobe task (and that worker keeps waiting uninterrupted).
Definition at line 296 of file authzone.h.
| struct comm_point* auth_probe::cp |
the SOA probe udp event. on the workers event base.
Definition at line 326 of file authzone.h.
| struct module_env* auth_probe::env |
Definition at line 300 of file authzone.h.
| uint16_t auth_probe::id |
dns id of packet in flight
Definition at line 323 of file authzone.h.
| int auth_probe::lookup_aaaa |
are we looking up A or AAAA, first A, then AAAA (if ip6 enabled)
Definition at line 308 of file authzone.h.
| struct auth_master* auth_probe::lookup_target |
for the hostname lookups, which master is current
Definition at line 306 of file authzone.h.
| struct auth_master* auth_probe::masters |
list of upstream masters for this zone, from config
Definition at line 303 of file authzone.h.
| int auth_probe::only_lookup |
we only want to do lookups for making config work (for notify), don't proceed with UDP SOA probe queries
Definition at line 311 of file authzone.h.
| struct auth_addr* auth_probe::scan_addr |
if not NULL, the specific addr for the current master
Definition at line 320 of file authzone.h.
| struct auth_master* auth_probe::scan_specific |
once notified, or the timeout has been reached. a scan starts. the scan specific target (notify source), or NULL if none
Definition at line 315 of file authzone.h.
| struct auth_master* auth_probe::scan_target |
scan tries all the upstream masters. the scan current target. or NULL if not working on sequential scan
Definition at line 318 of file authzone.h.
| int auth_probe::timeout |
timeout in msec
Definition at line 331 of file authzone.h.
| struct comm_timer* auth_probe::timer |
timeout for packets. on the workers event base.
Definition at line 329 of file authzone.h.
| struct worker* auth_probe::worker |
Definition at line 298 of file authzone.h.