lwIP - A Lightweight TCP/IP stack - Bugs: bug #56695, Multicast socket options missing...
You are not allowed to post comments on this tracker with your current authentication level.
bug #56695: Multicast socket options missing for IPv6
Submitter: | Daniel Pauli <dapaulid> | ||
Submitted: | Tue 30 Jul 2019 11:37:45 AM UTC | ||
Votes: | 50 | ||
Category: | IPv6 | Severity: | 3 - Normal |
Item Group: | Feature Request | Status: | None |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Open | Planned Release: | None |
lwIP version: | git head |
Thu 25 Nov 2021 09:34:11 PM UTC, comment #5: |
Eric Koldeweij <eric_koldeweij> |
Wed 13 Nov 2019 07:19:47 PM UTC, comment #4: +1 for requesting these options be exposed in the sockets API in addition to core. We've got threaded apps that are using the sockets API and my understanding is that there is not a thread-safe workaround to use the core API in this case. |
Sam Kearney <skearney> |
Thu 01 Aug 2019 06:45:17 PM UTC, comment #3: Right. Someone needs to clean up those patches into smaller ones that are more easily reviewable... I'd do it if I found the time, but I failed to do that in the last months... :-( |
Simon Goldschmidt <goldsimon> |
Tue 30 Jul 2019 01:55:14 PM UTC, comment #2: You're right, after some more searching I found this patch: https://savannah.nongnu.org/patch/?func=detailitem&item_id=9257
|
Daniel Pauli <dapaulid> |
Tue 30 Jul 2019 01:21:17 PM UTC, comment #1: Isn't this a duplicate? I think we already have a bug, task or patch for this. |
Simon Goldschmidt <goldsimon> |
Tue 30 Jul 2019 11:37:45 AM UTC, original submission:
The following socket options related to multicast for IPv6 seem to be missing:
|
Daniel Pauli <dapaulid> |
Depends on the following items: None found
Items that depend on this one: None found
There are 50 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 2 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2021-11-25 | eric_koldeweij | Attached File | - | Added lwip_sockopt.patch, #52343 | |
2020-01-03 | skearney | Carbon-Copy | - | Added skearney |
Powered by Savane 3.13-02a9.
Corresponding source code
I have added a patch that implements the requested options. In addition, these options as well as their IPv4 counterparts are now also supported on RAW sockets.
So the patch implements:
o IP_MULTICAST_TTL for RAW IPv4 sockets
o IP_MULTICAST_IF for RAW IPv4 sockets
o IP_MULTICAST_LOOP for RAW IPv4 sockets
o IPV6_MULTICAST_HOPS for UDP and RAW IPv6 sockets according to RFC3493 section 5.2
o IPV6_MULTICAST_IF for UDP and RAW IPv6 sockets according to RFC3493 section 5.2
o IPV6_MULTICAST_LOOP for UDP and RAW IPv6 sockets according to RFC3493 section 5.2
(file #52343)