OpenVAS Scanner
7.0.0~git
|
#include "../misc/scanneraux.h"
Go to the source code of this file.
Functions | |
int | hosts_init (int) |
int | hosts_new (char *, kb_t) |
int | hosts_set_pid (char *, pid_t) |
int | hosts_read (void) |
Returns -1 if client asked to stop all tests or connection was lost or error. 0 otherwise. More... | |
void | hosts_stop_all (void) |
int hosts_init | ( | int | ) |
Definition at line 137 of file hosts.c.
References g_max_hosts.
Referenced by attack_network().
int hosts_new | ( | char * | , |
kb_t | |||
) |
Definition at line 144 of file hosts.c.
References g_max_hosts, global_scan_stop, host::host_kb, hosts, hosts_num(), hosts_read(), host::name, name, host::next, host::pid, and host::prev.
Referenced by attack_network().
int hosts_read | ( | void | ) |
Returns -1 if client asked to stop all tests or connection was lost or error. 0 otherwise.
Definition at line 250 of file hosts.c.
References hosts, and hosts_read_data().
Referenced by attack_network(), and hosts_new().
int hosts_set_pid | ( | char * | , |
pid_t | |||
) |
Definition at line 169 of file hosts.c.
References hosts_get(), name, host::pid, and pid.
Referenced by attack_network().
void hosts_stop_all | ( | void | ) |
Definition at line 196 of file hosts.c.
References global_scan_stop, hosts, hosts_stop_host(), and host::next.
Referenced by handle_stop_all_scans_signal().