mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-13 01:44:38 +08:00

In the BSD socket API world, IP_HDRINCL is a socket option for "raw" sockets that indicates whether sent packets already include an IP header. Within lwIP, "IP_HDRINCL" is redefined as a special value that indicates to lwIP-internal functions that an IP header is already included. While somewhat related, the two meanings are different and, on platforms that define the IP_HDRINCL socket option, this results in a conflict. This patch renames the lwIP one to "LWIP_IP_HDRINCL", thus resolving the conflict.