Commit 9a974dea authored by Eric Durbin's avatar Eric Durbin Committed by Alexandre Julliard

iphlpapi: Implement getNumUdpEntries on FreeBSD.

parent 53058e86
......@@ -1145,7 +1145,11 @@ DWORD getArpTable(PMIB_IPNETTABLE *ppIpNetTable, HANDLE heap, DWORD flags)
DWORD getNumUdpEntries(void)
{
#if defined(HAVE_SYS_SYSCTL_H) && defined(HAVE_NETINET_IN_PCB_H)
return getNumWithOneHeader ("net.inet.udp.pcblist");
#else
return getNumWithOneHeader("/proc/net/udp");
#endif
}
DWORD getUdpTable(PMIB_UDPTABLE *ppUdpTable, HANDLE heap, DWORD flags)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment