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 12:38:22 +02:00

9 lines
No EOL
223 B
C

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