Implement task #14367: Hooks need a better place to be defined

We now have a #define for a header file name that is #included in every .c file that provides hooks.
This commit is contained in:
Dirk Ziegelmeier
2017-02-10 13:25:04 +01:00
committed by goldsimon
parent b3293d903e
commit 76efa271e6
9 changed files with 41 additions and 1 deletions

View File

@@ -56,6 +56,10 @@
#include "netif/ppp/pppoe.h"
#endif /* PPPOE_SUPPORT */
#ifdef LWIP_HOOK_FILENAME
#include LWIP_HOOK_FILENAME
#endif
const struct eth_addr ethbroadcast = {{0xff,0xff,0xff,0xff,0xff,0xff}};
const struct eth_addr ethzero = {{0,0,0,0,0,0}};