OpenVAS Scanner  21.4.1
nasl_host.h
Go to the documentation of this file.
1 /* Based on work Copyright (C) 2002 - 2003 Michel Arboi and Renaud Deraison
2  *
3  * SPDX-License-Identifier: GPL-2.0-only
4  *
5  * This program is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU General Public License
7  * version 2 as published by the Free Software Foundation.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
17  */
18 
19 #ifndef NASL_HOST_H
20 #define NASL_HOST_H
21 
22 #include "nasl_lex_ctxt.h" /* for lex_ctxt */
23 #include "nasl_tree.h" /* for tree_cell */
24 
25 tree_cell *
27 
28 tree_cell *
30 
31 tree_cell *
33 
34 tree_cell *
36 
37 tree_cell *
39 
40 tree_cell *
42 
43 tree_cell *
45 
46 tree_cell *
48 
49 tree_cell *
51 
52 tree_cell *
54 
55 tree_cell *
57 
58 tree_cell *
60 
61 tree_cell *
63 
64 tree_cell *
66 
67 tree_cell *
69 
70 tree_cell *
72 
73 tree_cell *
75 
76 #endif
tree_cell * get_port_state(lex_ctxt *)
Definition: nasl_host.c:239
tree_cell * get_host_open_port(lex_ctxt *)
Definition: nasl_host.c:226
tree_cell * resolve_hostname_to_multiple_ips(lex_ctxt *)
Resolve a hostname and return all ip addresses as nasl array.
Definition: nasl_host.c:152
tree_cell * resolve_hostname(lex_ctxt *)
Definition: nasl_host.c:185
tree_cell * nasl_same_host(lex_ctxt *)
Definition: nasl_host.c:430
tree_cell * get_hostname(lex_ctxt *)
Definition: nasl_host.c:80
tree_cell * get_port_transport(lex_ctxt *)
Return the encapsulation mode of a port.
Definition: nasl_host.c:402
tree_cell * nasl_this_host(lex_ctxt *)
Definition: nasl_host.c:299
tree_cell * get_hostnames(lex_ctxt *)
Definition: nasl_host.c:50
tree_cell * add_hostname(lex_ctxt *)
Definition: nasl_host.c:114
tree_cell * nasl_islocalhost(lex_ctxt *)
Definition: nasl_host.c:275
tree_cell * get_hostname_source(lex_ctxt *)
Definition: nasl_host.c:96
tree_cell * nasl_islocalnet(lex_ctxt *)
Definition: nasl_host.c:287
tree_cell * nasl_this_host_name(lex_ctxt *)
Definition: nasl_host.c:352
tree_cell * get_udp_port_state(lex_ctxt *)
Definition: nasl_host.c:257
tree_cell * nasl_target_is_ipv6(lex_ctxt *lexic)
Definition: nasl_host.c:559
tree_cell * get_host_ip(lex_ctxt *)
Definition: nasl_host.c:207
Definition: nasl_tree.h:105
Definition: nasl_lex_ctxt.h:34