OpenVAS Libraries
4.0+rc3.SVN
|
00001 /* Nessus Attack Scripting Language 00002 * 00003 * Copyright (C) 2002 - 2003 Michel Arboi and Renaud Deraison 00004 * 00005 * This program is free software; you can redistribute it and/or modify 00006 * it under the terms of the GNU General Public License version 2, 00007 * as published by the Free Software Foundation 00008 * 00009 * This program is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 * GNU General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU General Public License 00015 * along with this program; if not, write to the Free Software 00016 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 00017 */ 00018 00019 #ifndef NASL_PACKET_FORGERY_H 00020 00021 00022 tree_cell *forge_ip_packet (lex_ctxt *); 00023 tree_cell *set_ip_elements (lex_ctxt *); 00024 tree_cell *get_ip_element (lex_ctxt *); 00025 tree_cell *dump_ip_packet (lex_ctxt *); 00026 tree_cell *insert_ip_options (lex_ctxt *); 00027 00028 00029 tree_cell *forge_tcp_packet (lex_ctxt *); 00030 tree_cell *get_tcp_element (lex_ctxt *); 00031 tree_cell *set_tcp_elements (lex_ctxt *); 00032 tree_cell *dump_tcp_packet (lex_ctxt *); 00033 00034 00035 tree_cell *forge_udp_packet (lex_ctxt *); 00036 tree_cell *set_udp_elements (lex_ctxt *); 00037 tree_cell *dump_udp_packet (lex_ctxt *); 00038 tree_cell *get_udp_element (lex_ctxt *); 00039 00040 00041 tree_cell *forge_icmp_packet (lex_ctxt *); 00042 tree_cell *get_icmp_element (lex_ctxt *); 00043 00044 00045 tree_cell *forge_igmp_packet (lex_ctxt *); 00046 00047 00048 tree_cell *nasl_tcp_ping (lex_ctxt *); 00049 00050 tree_cell *nasl_send_packet (lex_ctxt *); 00051 tree_cell *nasl_pcap_next (lex_ctxt *); 00052 tree_cell *nasl_send_capture (lex_ctxt *); 00053 #endif