unbound 0.1
daemon_remote Struct Reference

The remote control tool state. More...

#include <remote.h>

Data Fields

struct worker * worker
 the worker for this remote control
struct listen_list * accept_list
 commpoints for accepting remote control connections
int use_cert
int active
 number of active commpoints that are handling remote control
int max_active
 max active commpoints
struct rc_state * busy_list
 current commpoints busy; should be a short list, malloced

Detailed Description

The remote control tool state.

The state is only created for the first thread, other threads are called from this thread. Only the first threads listens to the control port. The other threads do not, but are called on the command channel(pipe) from the first thread.

Field Documentation

◆ worker

struct worker* daemon_remote::worker

the worker for this remote control

Referenced by accept_open(), daemon_remote_clear(), daemon_remote_open_accept(), distribute_cmd(), and handle_req().

◆ accept_list

struct listen_list* daemon_remote::accept_list

commpoints for accepting remote control connections

Referenced by accept_open(), daemon_remote_clear(), daemon_remote_start_accept(), daemon_remote_stop_accept(), and do_status().

◆ active

int daemon_remote::active

number of active commpoints that are handling remote control

Referenced by clean_point(), daemon_remote_clear(), and fast_reload_thread_start().

◆ max_active

int daemon_remote::max_active

max active commpoints

Referenced by daemon_remote_create().

◆ busy_list

struct rc_state* daemon_remote::busy_list

current commpoints busy; should be a short list, malloced

Referenced by clean_point(), daemon_remote_clear(), and fast_reload_thread_start().


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