OpenVAS Scanner 23.23.1
nasl_host.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Greenbone AG
2 * SPDX-FileCopyrightText: 2002-2003 Michel Arboi
3 * SPDX-FileCopyrightText: 2002-2003 Renaud Deraison
4 *
5 * SPDX-License-Identifier: GPL-2.0-only
6 */
7
8#ifndef NASL_NASL_HOST_H
9#define NASL_NASL_HOST_H
10
11#include "nasl_lex_ctxt.h" /* for lex_ctxt */
12#include "nasl_tree.h" /* for tree_cell */
13
16
19
22
25
28
31
34
37
40
43
46
49
52
55
58
61
64
67
68#endif
tree_cell * resolve_hostname(lex_ctxt *)
Definition nasl_host.c:185
tree_cell * nasl_this_host_name(lex_ctxt *)
Definition nasl_host.c:404
tree_cell * nasl_islocalnet(lex_ctxt *)
Definition nasl_host.c:339
tree_cell * get_host_ip(lex_ctxt *)
Definition nasl_host.c:207
tree_cell * get_hostname_source(lex_ctxt *)
Definition nasl_host.c:94
tree_cell * get_port_state(lex_ctxt *)
Definition nasl_host.c:291
tree_cell * add_hostname(lex_ctxt *)
Definition nasl_host.c:112
tree_cell * nasl_islocalhost(lex_ctxt *)
Definition nasl_host.c:327
tree_cell * get_port_transport(lex_ctxt *)
Return the encapsulation mode of a port.
Definition nasl_host.c:454
tree_cell * nasl_this_host(lex_ctxt *)
Definition nasl_host.c:351
tree_cell * get_hostnames(lex_ctxt *)
Definition nasl_host.c:48
tree_cell * nasl_target_is_ipv6(lex_ctxt *lexic)
Definition nasl_host.c:610
tree_cell * get_hostname(lex_ctxt *)
Definition nasl_host.c:78
tree_cell * get_host_open_port(lex_ctxt *)
Definition nasl_host.c:226
tree_cell * host_reverse_lookup(lex_ctxt *lexic)
implements ip_reverse_lookup
Definition nasl_host.c:244
tree_cell * get_udp_port_state(lex_ctxt *)
Definition nasl_host.c:309
tree_cell * nasl_same_host(lex_ctxt *)
Definition nasl_host.c:482
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
struct struct_lex_ctxt lex_ctxt
struct TC tree_cell