OpenVAS Libraries
6.0+beta5
|
Go to the source code of this file.
Functions | |
int | hg_filter_host (struct hg_globals *, char *, struct in_addr) |
int | hg_filter_subnet (struct hg_globals *, struct in_addr, int) |
Returns 1 if the subnet must NOT be tested. More... | |
int | hg_filter_domain (struct hg_globals *, char *) |
Returns 1 if the domain must NOT be tested. More... | |
int hg_filter_domain | ( | struct hg_globals * | globals, |
char * | domain | ||
) |
Returns 1 if the domain must NOT be tested.
int hg_filter_host | ( | struct hg_globals * | globals, |
char * | hostname, | ||
struct in_addr | addr | ||
) |
Returns 1 if the host must be filtered, that is, it must NOT be included in the list. Returns 0 if it must be included in the list.
int hg_filter_subnet | ( | struct hg_globals * | globals, |
struct in_addr | addr, | ||
int | netmask | ||
) |
Returns 1 if the subnet must NOT be tested.