summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/net
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-05-11 14:35:03 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-05-11 14:35:03 +0000
commitc7d0d8678af18d7cb65b96c8e60f9fe91d0638d9 (patch)
tree297ec5bc2371d82420fcb8d673915355fe8d4546 /cpukit/libnetworking/net
parent2011-05-11 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-c7d0d8678af18d7cb65b96c8e60f9fe91d0638d9.tar.bz2
Make self-contained.
Diffstat (limited to 'cpukit/libnetworking/net')
-rw-r--r--cpukit/libnetworking/net/bpf.h2
-rw-r--r--cpukit/libnetworking/net/if.h1
-rw-r--r--cpukit/libnetworking/net/if_ppp.h3
-rw-r--r--cpukit/libnetworking/net/if_pppvar.h14
-rw-r--r--cpukit/libnetworking/net/if_var.h3
-rw-r--r--cpukit/libnetworking/net/raw_cb.h2
-rw-r--r--cpukit/libnetworking/net/slcompress.h4
7 files changed, 25 insertions, 4 deletions
diff --git a/cpukit/libnetworking/net/bpf.h b/cpukit/libnetworking/net/bpf.h
index df21575640..4fc93a399f 100644
--- a/cpukit/libnetworking/net/bpf.h
+++ b/cpukit/libnetworking/net/bpf.h
@@ -44,6 +44,8 @@
#ifndef _NET_BPF_H_
#define _NET_BPF_H_
+#include <sys/time.h> /* struct timeval */
+
/* BSD style release date */
#define BPF_RELEASE 199606
diff --git a/cpukit/libnetworking/net/if.h b/cpukit/libnetworking/net/if.h
index 31e256fcd4..286e6da8e3 100644
--- a/cpukit/libnetworking/net/if.h
+++ b/cpukit/libnetworking/net/if.h
@@ -48,6 +48,7 @@
#define __BSD_VISIBLE 1
#endif
#include <inttypes.h>
+#include <sys/socket.h> /* struct sockaddr */
#endif
#ifdef _KERNEL
diff --git a/cpukit/libnetworking/net/if_ppp.h b/cpukit/libnetworking/net/if_ppp.h
index 820f722070..b5679646b6 100644
--- a/cpukit/libnetworking/net/if_ppp.h
+++ b/cpukit/libnetworking/net/if_ppp.h
@@ -26,6 +26,9 @@
#ifndef _IF_PPP_H_
#define _IF_PPP_H_
+#include <net/ppp_defs.h> /* NPmode */
+#include <net/if.h> /* IFNAMSIZ */
+
/*
* Packet sizes
*/
diff --git a/cpukit/libnetworking/net/if_pppvar.h b/cpukit/libnetworking/net/if_pppvar.h
index 4bb6a086b0..b55204bf85 100644
--- a/cpukit/libnetworking/net/if_pppvar.h
+++ b/cpukit/libnetworking/net/if_pppvar.h
@@ -42,17 +42,23 @@
* $FreeBSD: src/sys/net/if_pppvar.h,v 1.26 2006/12/05 18:54:21 ume Exp $
*/
+/*
+ * $Id$
+ */
+
#ifndef _NET_IF_PPPVAR_H_
#define _NET_IF_PPPVAR_H_
+#include <net/if_var.h> /* struct ifnet */
+#include <net/ppp_defs.h> /* struct pppstat */
+#include <rtems/rtems/types.h> /* rtems_id */
+
#ifdef __cplusplus
extern "C" {
#endif
-/*
- * $Id$
- */
-
+struct proc;
+
/*
* Supported network protocols. These values are used for
* indexing sc_npmode.
diff --git a/cpukit/libnetworking/net/if_var.h b/cpukit/libnetworking/net/if_var.h
index 7aa0ddbf43..e24d2403cc 100644
--- a/cpukit/libnetworking/net/if_var.h
+++ b/cpukit/libnetworking/net/if_var.h
@@ -37,6 +37,9 @@
#ifndef _NET_IF_VAR_H_
#define _NET_IF_VAR_H_
+#include <net/if.h> /* struct if_data */
+#include <sys/ioccom.h> /* ioctl_command_t */
+
/*
* Structures defining a network interface, providing a packet
* transport mechanism (ala level 0 of the PUP protocols).
diff --git a/cpukit/libnetworking/net/raw_cb.h b/cpukit/libnetworking/net/raw_cb.h
index 02881e32b2..9a0097a559 100644
--- a/cpukit/libnetworking/net/raw_cb.h
+++ b/cpukit/libnetworking/net/raw_cb.h
@@ -37,6 +37,8 @@
#ifndef _NET_RAW_CB_H_
#define _NET_RAW_CB_H_
+#include <sys/socket.h>
+
#include <sys/queue.h>
/*
diff --git a/cpukit/libnetworking/net/slcompress.h b/cpukit/libnetworking/net/slcompress.h
index e1dd9b0c3f..511a8d8554 100644
--- a/cpukit/libnetworking/net/slcompress.h
+++ b/cpukit/libnetworking/net/slcompress.h
@@ -36,6 +36,10 @@
#ifndef _NET_SLCOMPRESS_H_
#define _NET_SLCOMPRESS_H_
+#include <netinet/ip.h> /* struct ip */
+
+struct mbuf;
+
#define MAX_STATES 16 /* must be > 2 and < 256 */
#define MAX_HDR 128