Re: [lwip-users] IPv6 multicast support by Socket API?

2017-08-10 Thread Andrej Butok
Hi Simon,
It is good that this is known issue and you are going to fix it.

I have discovered another issue but with the IPV6_V6ONLY option.
It was not possible to set this option for UDP sockets. Probably, it was caused 
by copy-paste mistake.

The fix is following (sockets.c, line 2515):
case IPV6_V6ONLY:
#if 0 // BUG FIX
  LWIP_SOCKOPT_CHECK_OPTLEN_CONN_PCB_TYPE(sock, optlen, int, NETCONN_TCP);
#else
  LWIP_SOCKOPT_CHECK_OPTLEN_CONN_PCB(sock, optlen, int);
#endif

Please add it to the task #14394

Thanks,
Andrey Butok

Date: Wed, 9 Aug 2017 21:27:45 +0200
From: "goldsi...@gmx.de" <goldsi...@gmx.de>
To: Mailing list for lwIP users <lwip-users@nongnu.org>
Subject: Re: [lwip-users] IPv6 multicast support by Socket API?

Andrej Butok wrote:
> BUT it looks like the lWIP Sockets does not support IPv6 multicast join/leave.
>
> Did I miss something?

No, you're right. This is not yet done.

> Are you going to add this missing functionality?

We have task #14394 (Improve socket options) for this. I'm not sure when this 
will be done though. Patches would be welcome :-)


Simon


___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users


[lwip-users] IPv6 multicast support by Socket API?

2017-08-09 Thread Andrej Butok
Hello lwIP developers,

I am using latest  lwIP 2.0.2.
My application have to use lwIP Socket user API and FreeRTOS. And It have to 
join IPv4 and IPv6 multicast groups.
The IPv4 Multicast is supported very well via  the IP_ADD_MEMBERSHIP / 
IP_DROP_MEMBERSHIP socket options.
BUT it looks like the lWIP Sockets does not support IPv6 multicast join/leave.

Did I miss something?
Are you going to add this missing functionality? 
Any suggestion how to work around this issue now?

Thank you,
Andrey

___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users