Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support IP_MULTICAST_LOOP socket option #86977

Closed
pdgendt opened this issue Mar 12, 2025 · 7 comments · Fixed by #87167
Closed

Support IP_MULTICAST_LOOP socket option #86977

pdgendt opened this issue Mar 12, 2025 · 7 comments · Fixed by #87167
Assignees
Labels
area: Networking area: Sockets Networking sockets Feature Request A request for a new feature Good first issue Good for a first time contributor to take

Comments

@pdgendt
Copy link
Collaborator

pdgendt commented Mar 12, 2025

Is your feature request related to a problem? Please describe.

I'd like to have the option to enable/disable socket multicast loopback, determining whether or not transmitted messages are delivered to the sending host.

Describe the solution you'd like

Similar to how this is provided in linux, a Zephyr implementation.

Describe alternatives you've considered

None

Additional context

@pdgendt pdgendt added area: Sockets Networking sockets Feature Request A request for a new feature Good first issue Good for a first time contributor to take labels Mar 12, 2025
@sayooj-aerlync
Copy link
Contributor

sayooj-aerlync commented Mar 15, 2025

I am looking into this.

@Abd002
Copy link
Contributor

Abd002 commented Mar 15, 2025

iam working on it

@sayooj-aerlync
Copy link
Contributor

Alright @Abd002 👍

@jukkar
Copy link
Member

jukkar commented Mar 17, 2025

@sayooj-aerlync As you were also interested implementing this, may I suggest you implement support for IPv6 variant of this option IPV6_MULTICAST_LOOP?

@sayooj-aerlync
Copy link
Contributor

@jukkar Sure! I am working on it! I had a chat with @pdgendt in Discord on the same :)

@sayooj-aerlync
Copy link
Contributor

@jukkar @pdgendt I am done with the coding for IPV6_MULTICAST_LOOP. I will rasie the pull request after I complete the tests.

@sayooj-aerlync
Copy link
Contributor

Please find the pull request for IPV6_MULTICAST_LOOP here: #87338
Test logs: https://github.com/sayooj-aerlync/zephyr-unit-test/tree/main/ipv6_mcast_loop_sample_and_log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Networking area: Sockets Networking sockets Feature Request A request for a new feature Good first issue Good for a first time contributor to take
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants