unbound 0.1
internal_base Struct Reference

Internal base structure, so that every thread has its own events. More...

Data Fields

struct ub_event_base * base
 ub_event event_base type.
time_t secs
 seconds time pointer points here
struct timeval now
 timeval with current time
struct ub_event * slow_accept
 the event used for slow_accept timeouts
int slow_accept_enabled
 true if slow_accept is enabled
time_t last_slow_log
 last log time for slow logging of file descriptor errors
time_t last_writewait_log
 last log time for slow logging of write wait failures

Detailed Description

Internal base structure, so that every thread has its own events.

Field Documentation

◆ base

◆ secs

◆ now

struct timeval internal_base::now

timeval with current time

Referenced by comm_base_create(), and comm_base_timept().

◆ slow_accept

struct ub_event* internal_base::slow_accept

the event used for slow_accept timeouts

Referenced by comm_base_delete(), comm_base_delete_no_base(), comm_point_perform_accept(), and comm_point_slow_accept().

◆ slow_accept_enabled

int internal_base::slow_accept_enabled

◆ last_slow_log

time_t internal_base::last_slow_log

last log time for slow logging of file descriptor errors

Referenced by comm_point_perform_accept(), and comm_point_slow_accept().

◆ last_writewait_log

time_t internal_base::last_writewait_log

last log time for slow logging of write wait failures

Referenced by comm_point_send_udp_msg(), and comm_point_send_udp_msg_if().


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