OpenVAS Libraries  4.0+rc3.SVN
nasl_packet_forgery_v6.h
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  * Modified for IPv6 packet forgery - 04/02/2010
20  * Preeti Subramanian <spreeti@secpod.com>
21  * Srinivas NL <nl.srinivas@gmail.com>
22  */
23 
24 #ifndef NASL_PACKET_FORGERY_H
25 
30 tree_cell *insert_ipv6_options (lex_ctxt *);
31 
36 
37 tree_cell *forge_udp_v6_packet (lex_ctxt *);
38 tree_cell *set_udp_v6_elements (lex_ctxt *);
39 tree_cell *dump_udp_v6_packet (lex_ctxt *);
40 tree_cell *get_udp_v6_element (lex_ctxt *);
41 
42 tree_cell *forge_icmp_v6_packet (lex_ctxt *);
43 tree_cell *get_icmp_v6_element (lex_ctxt *);
44 
45 tree_cell *forge_igmp_v6_packet (lex_ctxt *);
46 
49 #endif