OpenVAS Libraries  8.0.3
nasl_socket.h
Go to the documentation of this file.
1 /* Nessus Attack Scripting Language
2  *
3  * Copyright (C) 2002 - 2003 Michel Arboi and Renaud Deraison
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License version 2,
7  * 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 Street, Fifth Floor, Boston, MA 02110-1301 USA.
17  */
18 
19  /* -------------------------------------------------------------------- *
20  * This file contains all the functions related to the handling of the *
21  * sockets within a NASL script - namely, this is the implementation *
22  * of open_(priv_)?sock_(udp|tcp)(), send(), recv(), recv_line() and *
23  * close(). *
24  *----------------------------------------------------------------------*/
25 
26 
27 
28 /*--------------------------------------------------------------------------*/
29 #ifndef NASL_SOCKET_H
30 #define NASL_SOCKET_H
31 
34 /* private func */
37 
40 
50 
52 
55 
57 
59 
60 #endif
tree_cell * nasl_recv(lex_ctxt *)
Definition: nasl_socket.c:664
tree_cell * nasl_open_sock_tcp(lex_ctxt *)
Open a TCP socket to the target host.
Definition: nasl_socket.c:466
tree_cell * nasl_socket_get_ssl_session_id(lex_ctxt *)
Definition: nasl_socket.c:585
tree_cell * nasl_socket_negotiate_ssl(lex_ctxt *)
Definition: nasl_socket.c:527
tree_cell * nasl_open_priv_sock_udp(lex_ctxt *)
Definition: nasl_socket.c:358
tree_cell * nasl_socket_get_ssl_version(lex_ctxt *)
Definition: nasl_socket.c:629
tree_cell * nasl_socket_get_ssl_compression(lex_ctxt *)
Definition: nasl_socket.c:610
tree_cell * nasl_join_multicast_group(lex_ctxt *)
Definition: nasl_socket.c:962
tree_cell * nasl_close_socket(lex_ctxt *)
Definition: nasl_socket.c:883
tree_cell * nasl_socket_get_ssl_ciphersuite(lex_ctxt *)
Definition: nasl_socket.c:646
Definition: nasl_tree.h:105
tree_cell * nasl_send(lex_ctxt *)
Definition: nasl_socket.c:837
tree_cell * nasl_recv_line(lex_ctxt *)
Definition: nasl_socket.c:766
Definition: nasl_lex_ctxt.h:31
tree_cell * nasl_open_priv_sock_tcp(lex_ctxt *)
Definition: nasl_socket.c:352
tree_cell * nasl_socket_get_error(lex_ctxt *)
Definition: nasl_socket.c:1106
tree_cell * nasl_open_sock_udp(lex_ctxt *)
Definition: nasl_socket.c:479
tree_cell * nasl_get_sock_info(lex_ctxt *lexic)
Get info pertaining to a socket.
Definition: nasl_socket.c:1209
tree_cell * nasl_get_source_port(lex_ctxt *)
Definition: nasl_socket.c:1063
tree_cell * nasl_open_sock_tcp_bufsz(lex_ctxt *, int)
Definition: nasl_socket.c:367
tree_cell * nasl_socket_get_cert(lex_ctxt *)
Definition: nasl_socket.c:561
tree_cell * nasl_leave_multicast_group(lex_ctxt *)
Definition: nasl_socket.c:1030