#include "arpa/inet.h" // ntohs, etc. #include "protocol_examples_common.h" #if !defined(CONFIG_EXAMPLE_CONNECT_ETHERNET) #error Ethernet interface is not configured to connect. #endif #define ETH_INTERFACE "ETH_DEF" #define ETH_TYPE_FILTER_BLOCK 0x2220 #define ETH_TYPE_FILTER_NOBLOCK ...
Answers checklist. I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there. I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there. I have s...
if (PP_NTOHS(udphdr->src) >= 1024) { /* Register new UDP session */ mport = ip_napt_add(IP_PROTO_UDP, iphdr->src.addr, udphdr->src, iphdr->dest.addr, udphdr->dest, 0); iphdr->dest.addr, udphdr->dest, udphdr->dest, 0); ...