Add missing #defines used by fd_device.c.
This commit is contained in:
parent
3fc678a8df
commit
26dc50599d
1 changed files with 9 additions and 0 deletions
|
|
@ -25,6 +25,15 @@
|
||||||
#define ETH_ALEN 6
|
#define ETH_ALEN 6
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef ETH_HLEN
|
||||||
|
#define ETH_HLEN 14
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef ETHER_TYPE_LEN
|
||||||
|
#define ETHER_TYPE_LEN 2
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#ifndef ARPHRD_ETHER
|
#ifndef ARPHRD_ETHER
|
||||||
#define ARPHRD_ETHER 1
|
#define ARPHRD_ETHER 1
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue