|
OpenVAS Scanner 22.7.9
|


Go to the source code of this file.
Functions | |
| int | get_max_hosts_number (void) |
| int | get_max_checks_number (void) |
| int | process_alive (pid_t) |
| int | data_left (int) |
| void | wait_for_children1 (void) |
| int | is_scanner_only_pref (const char *) |
| int | store_file (struct scan_globals *globals, const char *file, const char *file_hash) |
| Stores a file type preference in a hash table. | |
| int | check_host_still_alive (kb_t, const char *) |
| Check if the hosts is still alive and set it as dead if not. | |
| int check_host_still_alive | ( | kb_t | kb, |
| const char * | hostname | ||
| ) |
Check if the hosts is still alive and set it as dead if not.
| kb | Host kb where the host is set as dead. |
Definition at line 33 of file heartbeat.c.
References hostname, and kb_item_set_int_with_main_kb_check().
Referenced by nasl_end_denial(), and update_running_processes().


| int data_left | ( | int | soc | ) |
| int get_max_checks_number | ( | void | ) |
Get the max number of plugins to launch against the remote host at the same time
Definition at line 165 of file utils.c.
References global_max_checks.
Referenced by attack_network(), and pluginlaunch_init().

| int get_max_hosts_number | ( | void | ) |
Get the max number of hosts to test at the same time.
Definition at line 134 of file utils.c.
References global_max_hosts.
Referenced by attack_network().

| int is_scanner_only_pref | ( | const char * | pref | ) |
Definition at line 235 of file utils.c.
Referenced by overwrite_openvas_prefs_with_prefs_from_client().

| int process_alive | ( | pid_t | pid | ) |
Determines if a process is alive - as reliably as we can
Definition at line 195 of file utils.c.
References pid.
Referenced by attack_host(), next_free_process(), and update_running_processes().

| int store_file | ( | struct scan_globals * | globals, |
| const char * | file, | ||
| const char * | file_hash | ||
| ) |
Stores a file type preference in a hash table.
| globals | Global struct. |
| file | File content. |
| file_hash | hash to reference the file. |
Definition at line 101 of file utils.c.
References files_add_size_translation(), and files_add_translation().
Referenced by overwrite_openvas_prefs_with_prefs_from_client().

