|
Greenbone Vulnerability Management Libraries 22.32.0
|
The structure for a single host object. More...
#include <hosts.h>

Data Fields | |
| union { | |
| gchar * name | |
| struct in_addr addr | |
| struct in6_addr addr6 | |
| }; | |
| enum host_type | type |
| GSList * | vhosts |
The structure for a single host object.
The elements of this structure should never be accessed directly. Only the functions corresponding to this module should be used.
| union { ... } gvm_host |
| struct in_addr gvm_host::addr |
IPv4 address
Definition at line 65 of file hosts.h.
Referenced by gvm_duplicate_host(), gvm_host_from_str(), gvm_host_get_addr6(), gvm_host_reverse_lookup(), gvm_host_value_str(), and gvm_hosts_new_with_max().
| struct in6_addr gvm_host::addr6 |
IPv6 address
Definition at line 66 of file hosts.h.
Referenced by gvm_duplicate_host(), gvm_host_from_str(), gvm_host_get_addr6(), gvm_host_reverse_lookup(), gvm_host_value_str(), and gvm_hosts_new_with_max().
| gchar* gvm_host::name |
Hostname.
Definition at line 64 of file hosts.h.
Referenced by gvm_duplicate_host(), gvm_host_free(), gvm_host_from_str(), gvm_host_resolve(), gvm_host_value_str(), gvm_hosts_new_with_max(), and gvm_hosts_resolve().
| enum host_type gvm_host::type |
HOST_TYPE_NAME, HOST_TYPE_IPV4 or HOST_TYPE_IPV6.
Definition at line 68 of file hosts.h.
Referenced by gvm_duplicate_host(), gvm_host_add_reverse_lookup(), gvm_host_free(), gvm_host_from_str(), gvm_host_resolve(), gvm_host_reverse_lookup(), gvm_host_type(), gvm_host_type_str(), gvm_host_value_str(), gvm_hosts_new_with_max(), and gvm_hosts_resolve().
| GSList* gvm_host::vhosts |
List of hostnames/vhosts attached to this host.
Definition at line 69 of file hosts.h.
Referenced by gvm_duplicate_host(), gvm_host_add_reverse_lookup(), gvm_host_free(), gvm_hosts_deduplicate(), and gvm_vhosts_exclude().