This repository has been archived on 2024-10-30. You can view files and clone it, but cannot push or open issues or pull requests.
esp-firewall/ESPTest/include/lwip_hooks.h

24 lines
381 B
C
Raw Normal View History

2022-07-25 16:01:07 +02:00
#ifndef _LWIP_HOOKS_H_
#define _LWIP_HOOKS_H_
2022-07-25 10:42:07 +02:00
2022-07-25 16:01:07 +02:00
#include "lwip/netif.h"
#include "lwip/pbuf.h"
2022-07-25 16:28:55 +02:00
#include "lwip/ip4.h"
2022-07-25 16:01:07 +02:00
#include "esp_log.h"
2022-07-25 16:28:55 +02:00
#include "esp_err.h"
2022-07-25 16:01:07 +02:00
#ifdef __cplusplus
extern "C"
{
#endif
int lwip_hook_ip4_input(struct pbuf *pbuf, struct netif *input_netif);
#define LWIP_HOOK_IP4_INPUT lwip_hook_ip4_input
#ifdef __cplusplus
}
#endif
#endif /* _LWIP_HOOKS_H_ */