summaryrefslogtreecommitdiffstats
path: root/newlib/libc/sys/linux/net/etherent.h
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys/linux/net/etherent.h')
-rw-r--r--newlib/libc/sys/linux/net/etherent.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/newlib/libc/sys/linux/net/etherent.h b/newlib/libc/sys/linux/net/etherent.h
new file mode 100644
index 000000000..95a58b48c
--- /dev/null
+++ b/newlib/libc/sys/linux/net/etherent.h
@@ -0,0 +1,9 @@
+/* Because the `ethers' lookup does not fit so well in the scheme we
+ define a dummy struct here which helps us to use the available
+ functions. */
+struct etherent
+{
+ const char *e_name;
+ struct ether_addr e_addr;
+};
+