Electroneum
auth_nextprobe Struct Reference

#include <authzone.h>

Collaboration diagram for auth_nextprobe:

Public Attributes

struct workerworker
 
struct module_envenv
 
time_t backoff
 
time_t next_probe
 
struct comm_timertimer
 

Detailed Description

The next probe task. This task consists of waiting for the probetimeout. It is a task because it needs an event in the eventtable. Once the timeout has passed, that worker can (potentially) become the auth_probe worker, or if another worker is already doing that, do nothing. Tasks becomes unowned. The probe worker, if it detects nothing has to be done picks up this task, if unowned.

Definition at line 270 of file authzone.h.

Member Data Documentation

◆ backoff

time_t auth_nextprobe::backoff

increasing backoff for failures

Definition at line 277 of file authzone.h.

◆ env

struct module_env* auth_nextprobe::env

Definition at line 274 of file authzone.h.

◆ next_probe

time_t auth_nextprobe::next_probe

Timeout for next probe (for SOA)

Definition at line 279 of file authzone.h.

◆ timer

struct comm_timer* auth_nextprobe::timer

timeout callback for next_probe or expiry(if that is sooner). it is on the worker's event_base

Definition at line 282 of file authzone.h.

◆ worker

struct worker* auth_nextprobe::worker

Definition at line 272 of file authzone.h.


The documentation for this struct was generated from the following file: