OVMS3-idf/components/lwip/core
Angus Gratton 04a2cefb26 lwip: Enable IPV6_ONLY option for UDP sockets (BSD & netconn)
* setsockopt(s, IPV6_ONLY, &one, sizeof(int)) will disable IPV6-only
  mode. Incoming/outgoing IPV4 packets are dropped.

* Otherwise, sockets bound to IPV6_ANY_ADDR can receive unicast packets
  for IPV4 or IPV6.

* sendto() a IPV6-mapped-IPV4 address on a UDP socket works correctly
  (not supported for RAW or TCP sockets.)

* getaddrinfo() option AI_V4MAPPED is implemented.

As well as extending support to TCP & RAW, there is some potential improvement
to dropping incoming packets - the drop happens a bit late in the process and
there is no "ICMP port unreachable" response sent.
2017-10-02 10:50:27 +11:00
..
ipv4 optimize lwip route when loopback open and in "APSTA" mode 2017-09-14 16:19:05 +08:00
ipv6 lwip: Add IPV6 multicast group membership socket options 2017-10-02 10:50:27 +11:00
def.c Initial public version 2016-08-17 23:08:22 +08:00
dns.c lwip: refractor for lwip 2016-10-27 14:11:01 +08:00
inet_chksum.c Initial public version 2016-08-17 23:08:22 +08:00
init.c make build pass when disable per soc tcp window 2016-10-31 19:38:47 +08:00
ip.c Initial public version 2016-08-17 23:08:22 +08:00
mem.c lwip: refractor for lwip 2016-10-27 14:11:01 +08:00
memp.c lwip: refractor for lwip 2016-10-27 14:11:01 +08:00
netif.c ipv6 interface: add branch for ipv6 interface 2016-11-21 11:06:51 +08:00
pbuf.c lwip: Allow configuring/disabling some TCP options to save RAM 2017-06-23 16:26:11 +10:00
raw.c lwip: refractor for lwip 2016-10-27 14:11:01 +08:00
stats.c lwip: refractor to esp specific counter 2017-04-10 14:46:48 +08:00
sys.c Initial public version 2016-08-17 23:08:22 +08:00
tcp.c lwip: Use hardware RNG for LWIP_RAND(), use LWIP_RAND() for random port assignment 2017-09-07 16:32:05 +10:00
tcp_in.c lwip: refractor for lwip 2016-10-27 14:11:01 +08:00
tcp_out.c fix lwip tcp_oversize_dbgcheck assert 2017-09-15 10:28:51 +08:00
timers.c lwip: refractor for lwip 2016-10-27 14:11:01 +08:00
udp.c lwip: Enable IPV6_ONLY option for UDP sockets (BSD & netconn) 2017-10-02 10:50:27 +11:00