IPHelper API for kernel mode
The Cookbook mentions Networking: Kernel Mode IP Helper APIs. If you wonder where you can find them, they are the same as the usermode APIs. Only difference is the header. Instead of compiling against #include "iphlpapi.h", you compile against #include "netioapi.h".