Electroneum
Loading...
Searching...
No Matches
auth_probe Struct Reference

#include <authzone.h>

Collaboration diagram for auth_probe:

Public Attributes

struct workerworker
struct module_envenv
struct auth_mastermasters
struct auth_masterlookup_target
int lookup_aaaa
int only_lookup
struct auth_masterscan_specific
struct auth_masterscan_target
struct auth_addrscan_addr
uint16_t id
struct comm_pointcp
struct comm_timertimer
int timeout

Detailed Description

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.

Member Data Documentation

◆ cp

struct comm_point* auth_probe::cp

the SOA probe udp event. on the workers event base.

Definition at line 326 of file authzone.h.

◆ env

struct module_env* auth_probe::env

Definition at line 300 of file authzone.h.

◆ id

uint16_t auth_probe::id

dns id of packet in flight

Definition at line 323 of file authzone.h.

◆ lookup_aaaa

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.

◆ lookup_target

struct auth_master* auth_probe::lookup_target

for the hostname lookups, which master is current

Definition at line 306 of file authzone.h.

◆ masters

struct auth_master* auth_probe::masters

list of upstream masters for this zone, from config

Definition at line 303 of file authzone.h.

◆ only_lookup

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.

◆ scan_addr

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.

◆ scan_specific

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.

◆ scan_target

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.

◆ timeout

int auth_probe::timeout

timeout in msec

Definition at line 331 of file authzone.h.

◆ timer

struct comm_timer* auth_probe::timer

timeout for packets. on the workers event base.

Definition at line 329 of file authzone.h.

◆ worker

struct worker* auth_probe::worker

Definition at line 298 of file authzone.h.


The documentation for this struct was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/external/unbound/services/authzone.h