lwip: Add IPv4 route hook to the esp32 port

This commit is contained in:
David Cermak
2022-03-17 12:43:57 +01:00
parent 808ac7427a
commit 06263efe0b
2 changed files with 53 additions and 0 deletions

View File

@@ -53,6 +53,9 @@ int lwip_hook_ip6_input(struct pbuf *p, struct netif *inp);
#define LWIP_HOOK_IP6_INPUT lwip_hook_ip6_input
#endif /* CONFIG_LWIP_HOOK_IP6_INPUT_CUSTIOM... */
struct netif *
ip4_route_src_hook(const ip4_addr_t *src,const ip4_addr_t *dest);
#ifdef __cplusplus
}
#endif