OpenVAS Libraries
8.0.3
Main Page
Related Pages
Data Structures
Files
File List
Globals
nasl
nasl_raw.h
Go to the documentation of this file.
1
/* Nessus Attack Scripting Language
2
*
3
* Copyright (C) 2002 - 2004 Tenable Network Security
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
#ifndef OPENVAS_RAW_H
21
#define OPENVAS_RAW_H
22
23
#ifdef __linux__
24
#ifndef __BSD_SOURCE
25
# define __BSD_SOURCE
26
#endif
27
28
/* legacy feature macros */
29
#ifndef _BSD_SOURCE
30
# define _BSD_SOURCE
31
#endif
32
33
/* New feature macro that provides everything _BSD_SOURCE provided and
34
possibly more. */
35
#ifndef _DEFAULT_SOURCE
36
# define _DEFAULT_SOURCE 1
37
#endif
38
39
#ifndef __FAVOR_BSD
40
# define __FAVOR_BSD
41
#endif
42
#endif // __linux__
43
44
#include <netinet/tcp.h>
45
#include <netinet/udp.h>
46
#include <netinet/ip_icmp.h>
47
48
#endif
Generated by
1.8.9.1