OVMS3-idf/components/lwip/api
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
..
api_lib.c fix bug that files missing commit in MR 773 2017-05-31 19:37:39 +08:00
api_msg.c lwip: Enable IPV6_ONLY option for UDP sockets (BSD & netconn) 2017-10-02 10:50:27 +11:00
err.c Initial public version 2016-08-17 23:08:22 +08:00
netbuf.c lwip: refractor for lwip 2016-10-27 14:11:01 +08:00
netdb.c lwip: Enable IPV6_ONLY option for UDP sockets (BSD & netconn) 2017-10-02 10:50:27 +11:00
netifapi.c Initial public version 2016-08-17 23:08:22 +08:00
pppapi.c Enable lwip PPPoS support 2017-04-21 14:23:34 +10:00
sockets.c lwip: Enable IPV6_ONLY option for UDP sockets (BSD & netconn) 2017-10-02 10:50:27 +11:00
tcpip.c lwip: refractor to esp specific counter 2017-04-10 14:46:48 +08:00