WinDNS

From ReactOS Wiki
Jump to: navigation, search
This page is probably outdated

The information on this page might not be valid for the current state of ReactOS.
A Wiki Administrator should look at this page and decide or discuss what to do with it.


WinDNS is implemented by dnsapi.dll. Several things are missing that I am putting in to try to make everything go. The main thing I'm doing now is working on GetNetworkParams in iphlpapi. Specifically, it needs to return a valid DNS server list.

I took iphlpapi_main from Juan Lang's Wine version and merged it. The iphlpapi part needed by WinDNS is totally done.

I finished off compatibility with Wine. We have our own *_reactos.c files that have our OS-specific stuff. These will use the NtDeviceIoControl scheme with codes IOCTL_TCP_QUERY_INFORMATION_EX and IOCTL_TCP_SET_INFORMATION_EX. I need to have these types of information taken from TCP/IP:

  • entity type (CLASS_GENERIC/TYPE_PROVIDER/ENTITY_TYPE_ID)
  • entity id set (done)
  • interface mib (CLASS_PROTOCOL/TYPE_PROVIDER/IF_MIB_STATS_ID)
  • tcpip mib (CLASS_PROTOCOL/TYPE_PROVIDER/IP_MIB_STATS_ID)
  • route list (CLASS_PROTOCOL/TYPE_PROVIDER/IP_MIB_ROUTETABLE_ENTRY_ID)
  • address list (CLASS_PROTOCOL/TYPE_PROVIDER/IP_MIB_ADDRTABLE_ENTRY_ID, partly done)

And these to be there:

Add/Delete route (both use CLASS_PROTOCOL/TYPE_PROVIDER/IP_MIB_ROUTETABLE_ENTRY_ID)

Side jaunt #2: be able to add a route to the ReactOS TCP/IP stack (also needs iphlpapi).

I started the TCP/IP part. There's some info retrieval there already but it was not hooked up. I've hooked in those functions and now am fleshing out the types of information that can be returned by IOCTL_TCP_QUERY_INFORMATION_EX. Also, I'm doing small patches to other parts of TCP/IP where applicable. I just made the 'SubnetMask' value in the registry effective.