OpenVAS Scanner
7.0.0~git
|
Go to the source code of this file.
Functions | |
tree_cell * | add_hostname (lex_ctxt *) |
tree_cell * | get_hostname (lex_ctxt *) |
tree_cell * | get_hostnames (lex_ctxt *) |
tree_cell * | get_hostname_source (lex_ctxt *) |
tree_cell * | resolve_hostname (lex_ctxt *) |
tree_cell * | get_host_ip (lex_ctxt *) |
tree_cell * | get_host_open_port (lex_ctxt *) |
tree_cell * | get_port_state (lex_ctxt *) |
tree_cell * | get_udp_port_state (lex_ctxt *) |
tree_cell * | nasl_islocalhost (lex_ctxt *) |
tree_cell * | nasl_islocalnet (lex_ctxt *) |
tree_cell * | nasl_this_host (lex_ctxt *) |
tree_cell * | nasl_this_host_name (lex_ctxt *) |
tree_cell * | get_port_transport (lex_ctxt *) |
Return the encapsulation mode of a port. More... | |
tree_cell * | nasl_same_host (lex_ctxt *) |
tree_cell * | nasl_target_is_ipv6 (lex_ctxt *lexic) |
Definition at line 114 of file nasl_host.c.
References get_str_var_by_name(), script_infos::key, nasl_perror(), plug_add_host_fqdn(), and struct_lex_ctxt::script_infos.
Definition at line 170 of file nasl_host.c.
References alloc_typed_cell(), CONST_STR, FAKE_CELL, plug_get_host_ip(), struct_lex_ctxt::script_infos, TC::size, TC::str_val, and TC::x.
Definition at line 189 of file nasl_host.c.
References alloc_typed_cell(), CONST_INT, TC::i_val, plug_get_host_open_port(), struct_lex_ctxt::script_infos, and TC::x.
Definition at line 80 of file nasl_host.c.
References alloc_typed_cell(), CONST_STR, hostname, plug_get_host_fqdn(), struct_lex_ctxt::script_infos, TC::size, TC::str_val, and TC::x.
Definition at line 96 of file nasl_host.c.
References alloc_typed_cell(), CONST_STR, get_str_var_by_name(), plug_get_host_source(), struct_lex_ctxt::script_infos, TC::size, TC::str_val, and TC::x.
Definition at line 50 of file nasl_host.c.
References add_var_to_list(), alloc_typed_cell(), DYN_ARRAY, plug_get_host_fqdn_list(), TC::ref_val, st_nasl_string::s_siz, st_nasl_string::s_val, struct_lex_ctxt::script_infos, st_a_nasl_var::v, st_a_nasl_var::v_str, VAR2_DATA, st_a_nasl_var::var_type, and TC::x.
Definition at line 202 of file nasl_host.c.
References alloc_typed_cell(), CONST_INT, FAKE_CELL, get_int_var_by_num(), host_get_port_state(), TC::i_val, struct_lex_ctxt::script_infos, and TC::x.
Return the encapsulation mode of a port.
Takes a port number and returns its encapsulation mode (ENCAPS_*) The defined encapsulation modes are:
-asstring If not 0 return a human readabale string instead of an integer.
[in] | lexic | Lexical context of the NASL interpreter. |
Definition at line 364 of file nasl_host.c.
References alloc_typed_cell(), CONST_INT, CONST_STR, get_encaps_name(), get_int_var_by_name(), get_int_var_by_num(), TC::i_val, plug_get_port_transport(), struct_lex_ctxt::script_infos, TC::size, TC::str_val, TC::type, and TC::x.
Definition at line 220 of file nasl_host.c.
References alloc_typed_cell(), CONST_INT, FAKE_CELL, get_int_var_by_num(), host_get_port_state_udp(), TC::i_val, struct_lex_ctxt::script_infos, and TC::x.
Definition at line 238 of file nasl_host.c.
References alloc_typed_cell(), CONST_INT, TC::i_val, plug_get_host_ip(), struct_lex_ctxt::script_infos, v6_islocalhost(), and TC::x.
Definition at line 250 of file nasl_host.c.
References alloc_typed_cell(), CONST_INT, TC::i_val, plug_get_host_ip(), struct_lex_ctxt::script_infos, v6_is_local_ip(), and TC::x.
Definition at line 392 of file nasl_host.c.
References alloc_typed_cell(), CONST_INT, get_int_var_by_name(), get_str_var_by_num(), TC::i_val, nasl_perror(), and TC::x.
Definition at line 521 of file nasl_host.c.
References alloc_typed_cell(), CONST_INT, TC::i_val, nasl_perror(), plug_get_host_ip(), struct_lex_ctxt::script_infos, and TC::x.
Definition at line 262 of file nasl_host.c.
References alloc_typed_cell(), CONST_DATA, hostname, plug_get_host_ip(), struct_lex_ctxt::script_infos, v6_getsourceip(), and v6_islocalhost().
Definition at line 315 of file nasl_host.c.
References alloc_typed_cell(), CONST_DATA, hostname, TC::size, TC::str_val, and TC::x.
Definition at line 148 of file nasl_host.c.
References alloc_typed_cell(), CONST_STR, get_str_var_by_name(), nasl_perror(), TC::size, TC::str_val, and TC::x.