The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.
Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/
I am working on ovpn-dco-win - a new kernel driver for OpenVPN. We have some test automation in GitHub when we run HLK tests using AutoHCK. The driver works on IP layer and therefore
*MediaType value in .INF file is set to
NdisMediumIP (19). With this value, HLK Studio only detects "generic" features of the device, such as
and doesn't detect network-related device features like
and so on.
With missing network features HLK studio doesn't run NDIS tests, such as connection tests involving two machines. I tried to add missing features manually, but this didn't work - NDISTEST tool on a test machine shows modal message box with the text
You must select at least one test to run. The same thing happens when I run NDISTEST tool - it just doesn't show any tests to run.
If I change
*MediaType value in .INF file to
NdisMedium802_3 (0), HLK Studio detects abovementioned network features and I also do see lots of NDIS tests in NDISTEST tool.
So my question is - is it possible to run HLK NDIS tests for network devices which work on IP layer? So far the only way I see is to use
NdisMedium802_3 and account for ethernet header, but I am not sure I want to implement this just for testing purposes.
|Upcoming OSR Seminars|
|OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!|
|Writing WDF Drivers||12 September 2022||Live, Online|
|Internals & Software Drivers||23 October 2022||Live, Online|
|Kernel Debugging||14 November 2022||Live, Online|
|Developing Minifilters||5 December 2022||Live, Online|