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

Access to neighbor cache from interface API #847

Open
strtok opened this issue Oct 11, 2023 · 1 comment
Open

Access to neighbor cache from interface API #847

strtok opened this issue Oct 11, 2023 · 1 comment

Comments

@strtok
Copy link

strtok commented Oct 11, 2023

In previous versions it was possible to pre-fill the neighbor cache. It looks like it's part of the inner Interface context() now, but no longer exposed to the public API? Am I missing an API call?

@thvdveld
Copy link
Contributor

The access to the neighbour cache was removed in #722, where we changed from using managed to heapless. It was possible to prefill a neighbour cache because of the usage of managed. I guess we could add something like an update_neighbor_cache function, like how we do it for IP addresses. To be honest, I don't see why you would pre-fill a neighbour cache as this might come back as a footgun.

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

2 participants