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

Add some utility functions #76

Merged
merged 2 commits into from
Mar 2, 2025
Merged

Add some utility functions #76

merged 2 commits into from
Mar 2, 2025

Conversation

jtt
Copy link
Collaborator

@jtt jtt commented Feb 24, 2025

  • Add a function to compute Solicited-Node multicast address for (unicast) IPv6 address.
  • Add a function to check if IPv6Address is a Solicited-Node multicast address
  • Add a method for MacAddr to create a MacAddr corresponding to multicast address.

…ress

Also adds function to check if IPv6 Address is Solicited-Node multicast
address.
@jtt jtt requested a review from oherrala February 24, 2025 21:48
@jtt jtt marked this pull request as draft February 26, 2025 20:57
@jtt jtt changed the title Add function to compute Solicited-Node multicast address for IPv6 address Add some utility functions Feb 26, 2025
Adds utility method to MacAddr which allows to create MacAddress corresponding
to multicast IP address. The method returns broadcast (IPv4) or all-nodes
(IPv6) if IP address is not multicast address.
@jtt jtt force-pushed the solicited-node-addr branch from 74d0709 to 71bb612 Compare March 2, 2025 18:51
@jtt jtt marked this pull request as ready for review March 2, 2025 18:53
@jtt jtt requested a review from oherrala March 2, 2025 18:53
@oherrala oherrala merged commit 3961468 into main Mar 2, 2025
23 checks passed
@oherrala oherrala deleted the solicited-node-addr branch March 2, 2025 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants