mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 17:49:10 -04:00
Merge branch 'bugfix/idf_lwip_hook_filename' into 'master'
lw-IP: Add IDF hook filename to customize lw-ip hooks Closes IDFGH-4430 See merge request espressif/esp-idf!11649
This commit is contained in:
commit
ec0358ad4f
@ -18,6 +18,10 @@
|
|||||||
#include "lwip/arch.h"
|
#include "lwip/arch.h"
|
||||||
#include "lwip/err.h"
|
#include "lwip/err.h"
|
||||||
|
|
||||||
|
#ifdef ESP_IDF_LWIP_HOOK_FILENAME
|
||||||
|
#include ESP_IDF_LWIP_HOOK_FILENAME
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
@ -767,6 +767,9 @@
|
|||||||
---------- Hook options ---------------
|
---------- Hook options ---------------
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
*/
|
*/
|
||||||
|
#ifdef LWIP_HOOK_FILENAME
|
||||||
|
#warning LWIP_HOOK_FILENAME is used for IDF default hooks. Please use ESP_IDF_LWIP_HOOK_FILENAME to insert additional hook
|
||||||
|
#endif
|
||||||
#define LWIP_HOOK_FILENAME "lwip_default_hooks.h"
|
#define LWIP_HOOK_FILENAME "lwip_default_hooks.h"
|
||||||
#define LWIP_HOOK_IP4_ROUTE_SRC ip4_route_src_hook
|
#define LWIP_HOOK_IP4_ROUTE_SRC ip4_route_src_hook
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user