You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 14, 2024. It is now read-only.
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.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Observations
While building packets, populating mac address ultimately calls
WinHostDevice::arpLookup()
. This function currently uses the Windows APIGetIpNetEntry2()
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.The text was updated successfully, but these errors were encountered: