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/myhook.c
2022-07-25 10:42:07 +02:00

9 lines
No EOL
233 B
C

#include "lwip/netif.h"
#include "lwip/pbuf.h"
#include "esp_log.h"
int IRAM_ATTR lwip_hook_ip4_input(struct pbuf *pbuf, struct netif *input_netif)
{
ESP_LOGI("HOOK", "Testing...");
return 0; // we don't consume the packet
}