OpenVAS Libraries  4.0+rc3.SVN
nasl/nasl_packet_forgery_v6.h
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  * Modified for IPv6 packet forgery - 04/02/2010
00020  * Preeti Subramanian <spreeti@secpod.com>
00021  * Srinivas NL <nl.srinivas@gmail.com>
00022  */
00023 
00024 #ifndef NASL_PACKET_FORGERY_H
00025 
00026 tree_cell *forge_ipv6_packet (lex_ctxt *);
00027 tree_cell *set_ipv6_elements (lex_ctxt *);
00028 tree_cell *get_ipv6_element (lex_ctxt *);
00029 tree_cell *dump_ipv6_packet (lex_ctxt *);
00030 tree_cell *insert_ipv6_options (lex_ctxt *);
00031 
00032 tree_cell *forge_tcp_v6_packet (lex_ctxt *);
00033 tree_cell *get_tcp_v6_element (lex_ctxt *);
00034 tree_cell *set_tcp_v6_elements (lex_ctxt *);
00035 tree_cell *dump_tcp_v6_packet (lex_ctxt *);
00036 
00037 tree_cell *forge_udp_v6_packet (lex_ctxt *);
00038 tree_cell *set_udp_v6_elements (lex_ctxt *);
00039 tree_cell *dump_udp_v6_packet (lex_ctxt *);
00040 tree_cell *get_udp_v6_element (lex_ctxt *);
00041 
00042 tree_cell *forge_icmp_v6_packet (lex_ctxt *);
00043 tree_cell *get_icmp_v6_element (lex_ctxt *);
00044 
00045 tree_cell *forge_igmp_v6_packet (lex_ctxt *);
00046 
00047 tree_cell *nasl_tcp_v6_ping (lex_ctxt *);
00048 tree_cell *nasl_send_v6packet (lex_ctxt *);
00049 #endif