This repository has been archived on 2024-10-30. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
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
}