On 9/2/19 4:07 PM, Dave Taht wrote: > Windows has the "RtmGetMostSpecificDestination" call: > https://docs.microsoft.com/en-us/windows/win32/rras/search-for-the-best-route > > In particular, I wanted to search for the best route, AND pick up the > PMTU from that (if it existed) > for older UDP applications like dnssec[1] and newer ones like QUIC[2].
RTM_GETROUTE with data for the route lookup. See iproute2 code as an example.