|
OpenVAS Libraries
4.0+rc3.SVN
|
#include <arpa/inet.h>#include <errno.h>#include <fcntl.h>#include <netinet/in.h>#include <string.h>#include <unistd.h>#include "network.h"#include "plugutils.h"#include "system.h"#include "nasl.h"#include "nasl_tree.h"#include "nasl_global_ctxt.h"#include "nasl_func.h"#include "nasl_var.h"#include "nasl_lex_ctxt.h"#include "exec.h"#include "strutils.h"#include "nasl_packet_forgery.h"#include "nasl_debug.h"Data Structures | |
| struct | udp_record |
| struct | jmg |
Macros | |
| #define | EADDRNOTAVAIL EADDRINUSE |
Functions | |
| tree_cell * | nasl_open_priv_sock_tcp (lex_ctxt *lexic) |
| tree_cell * | nasl_open_priv_sock_udp (lex_ctxt *lexic) |
| tree_cell * | nasl_open_sock_tcp_bufsz (lex_ctxt *lexic, int bufsz) |
| tree_cell * | nasl_open_sock_tcp (lex_ctxt *lexic) |
| tree_cell * | nasl_open_sock_udp (lex_ctxt *lexic) |
| tree_cell * | nasl_recv (lex_ctxt *lexic) |
| tree_cell * | nasl_recv_line (lex_ctxt *lexic) |
| tree_cell * | nasl_send (lex_ctxt *lexic) |
| tree_cell * | nasl_close_socket (lex_ctxt *lexic) |
| tree_cell * | nasl_join_multicast_group (lex_ctxt *lexic) |
| tree_cell * | nasl_leave_multicast_group (lex_ctxt *lexic) |
| tree_cell * | nasl_get_source_port (lex_ctxt *lexic) |
| tree_cell * | nasl_socket_get_error (lex_ctxt *lexic) |
This file contains all the functions related to the handling of the sockets within a NASL script - namely, this is the implementation of open_(priv_)?sock_(udp|tcp)(), send(), recv(), recv_line() and close().
1.8.1.1