Skip to content
This repository has been archived by the owner on Apr 14, 2024. It is now read-only.

Apply takes more time on Windows with Stream using Host device when ARP/NDP fails #308

Open
pstavirs opened this issue May 29, 2020 · 0 comments

Comments

@pstavirs
Copy link
Owner

Observations

  • Problem is not seen with Linux/MacOS
  • Problem is not seen on Windows when ARP/NDP succeeds

While building packets, populating mac address ultimately calls WinHostDevice::arpLookup(). This function currently uses the Windows API GetIpNetEntry2() which if entry is not present sends out ARP/NDP requests and waits for response instead of returning a lookup failure immediately.

Unless there is another API which does not wait (can't find one), an alternate fix might be to use GetIpNetTable2() to retrieve all entries and lookup in that result.

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

No branches or pull requests

1 participant