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

How can I get neighbour cache from Interface? #923

Open
ruiqurm opened this issue Apr 19, 2024 · 0 comments
Open

How can I get neighbour cache from Interface? #923

ruiqurm opened this issue Apr 19, 2024 · 0 comments

Comments

@ruiqurm
Copy link

ruiqurm commented Apr 19, 2024

Hello, I'm new to smoltcp and am trying to retrieve a MAC address from a given IP address. It appears there are no direct methods in smoltcp for querying MAC addresses. However, I'm considering an indirect approach. I understand that sending any packet prompts a MAC address lookup, which means I could theoretically send a random UDP packet to cache the MAC address. But, how can I then access this cached MAC address? I've reviewed the documentation for the Interface but couldn't find a method to do this. Any suggestions or guidance would be greatly appreciated. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant