summaryrefslogtreecommitdiffstats
path: root/usr/include/net
diff options
context:
space:
mode:
Diffstat (limited to 'usr/include/net')
-rw-r--r--usr/include/net/if.h8
-rw-r--r--usr/include/net/if_arp.h3
-rw-r--r--usr/include/net/if_packet.h2
-rw-r--r--usr/include/net/route.h2
4 files changed, 15 insertions, 0 deletions
diff --git a/usr/include/net/if.h b/usr/include/net/if.h
new file mode 100644
index 0000000..116a176
--- /dev/null
+++ b/usr/include/net/if.h
@@ -0,0 +1,8 @@
+#ifndef _NET_IF_H
+#define _NET_IF_H
+
+#include <sys/socket.h>
+#include <sys/types.h>
+#include <linux/if.h>
+
+#endif /* _NET_IF_H */
diff --git a/usr/include/net/if_arp.h b/usr/include/net/if_arp.h
new file mode 100644
index 0000000..6261eeb
--- /dev/null
+++ b/usr/include/net/if_arp.h
@@ -0,0 +1,3 @@
+/* if_arp.h needs sockaddr */
+#include <sys/socket.h>
+#include <linux/if_arp.h>
diff --git a/usr/include/net/if_packet.h b/usr/include/net/if_packet.h
new file mode 100644
index 0000000..33ee0aa
--- /dev/null
+++ b/usr/include/net/if_packet.h
@@ -0,0 +1,2 @@
+#include <sys/types.h>
+#include <linux/if_packet.h>
diff --git a/usr/include/net/route.h b/usr/include/net/route.h
new file mode 100644
index 0000000..8b4305b
--- /dev/null
+++ b/usr/include/net/route.h
@@ -0,0 +1,2 @@
+#include <sys/types.h>
+#include <linux/route.h>