projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fc678a
)
Add missing #defines used by fd_device.c.
author
Guus Sliepen
<guus@tinc-vpn.org>
Mon, 20 Mar 2017 21:15:20 +0000
(22:15 +0100)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Mon, 20 Mar 2017 21:15:20 +0000
(22:15 +0100)
src/ethernet.h
patch
|
blob
|
history
diff --git
a/src/ethernet.h
b/src/ethernet.h
index
2165c51
..
0b4a1db
100644
(file)
--- a/
src/ethernet.h
+++ b/
src/ethernet.h
@@
-25,6
+25,15
@@
#define ETH_ALEN 6
#endif
+#ifndef ETH_HLEN
+#define ETH_HLEN 14
+#endif
+
+#ifndef ETHER_TYPE_LEN
+#define ETHER_TYPE_LEN 2
+#endif
+
+
#ifndef ARPHRD_ETHER
#define ARPHRD_ETHER 1
#endif