Questions tagged [ndis]

NDIS is a programming framework for low-level network drivers on Microsoft Windows

Network Driver Interface Specification (NDIS) is a driver development framework on Microsoft Windows. NDIS supports several types of drivers:

  • Network Interface Card (NIC) drivers
  • Layer 2 filter drivers
  • Layer 3 protocol drivers (like IPv6)
  • NIC aggregation drivers (like LBFO, or virtual switches)

Learn more about NDIS on MSDN.

228 questions
0
votes
1 answer

Unable to use NDIS related functions from a Visual Studio's Empty WDM Driver template

I was looking at try writing an NDIS miniport driver and created a new project in my VS2019 installation, choosing the "Empty WDM Driver" as my starting template. I can include ndis.h, but many functions appear not be available including important…
James Parsons
  • 6,097
  • 12
  • 68
  • 108
0
votes
1 answer

WiFi NDIS driver does not appear in the WHQL ndistest device list

I maintain an NDIS 6.0 native WiFi driver. One of my missions is passing a WHQL test. To that end I installed version 1.6 of the Windows Logo Kit. I also installed my driver on a a Windows 7, 32-bit test machine. The device appears in the device…
Yariv
  • 486
  • 6
  • 12
0
votes
1 answer

How to send OID_PM_WOL_PATTERN_LIST to NDIS driver in C++?

I would like to query the Wake On Lan patterns defined on an Ethernet card in C++ (later on I would like to upload such patterns, but one step at once. :) ). As I understood I have to send the OID_PM_WOL_PATTERN_LIST request from the user space to…
TrueY
  • 7,360
  • 1
  • 41
  • 46
0
votes
2 answers

(win10) Ndis miniport driver, EvtDeviceAdd not called before MpInitialize

As descriped in https://technet.microsoft.com/en-us/windows/ff543720(v=vs.60) PnP manager should call NDIS's AddDevice routine after DriverEntry is called. And then IRP_MN_START_DEVICE and MpInitializeEx countinues ... On my situation, AddDevice…
Rick Lee
  • 3
  • 2
0
votes
1 answer

Does a ndis filter driver belong to NT driver or WDM driver?

NT driver doesn't support plugin and play. Does ndis filter belong to NT driver or WDM driver?
gdb
  • 7,189
  • 12
  • 38
  • 36
0
votes
1 answer

Is there any good good resource on how to write a ndis filter with windows develop kit?

Although wdk ships an exampe with it,it doesn't have any detail documents on how it works. Is there any resource that fully explains how it works?
driver
  • 1
  • 1
0
votes
1 answer

Does debugging a netfilter service in windows belong to kernel debug?

I know that to do kernel debug I need 2 OS,the hosting OS and the target OS. but does a netfilter service(ndis filter,to be exact) belong to the kernel?
gdb
  • 7,189
  • 12
  • 38
  • 36
0
votes
1 answer

Error in setting the IP configuration properties of mini port adapter

I am working on developing an intermediate NDIS driver. It is actually a load balancing driver which I am working on. There is one strange issue which I am getting while changing the miniport properties. After installing the driver, when I try to…
0
votes
0 answers

Debugging NdisTimedDataHang reported by Driver Verifier

I have enabled NDIS/WIFI verification flag of my driver in Driver Verifier. This resulted in BSOD for hitting the ndistimeddatahang rule. When I analyzed the dump, I got - DRIVER_VERIFIER_DETECTED_VIOLATION (c4) Arguments: Arg1: 000000000009200f,…
Mahesh
  • 34,573
  • 20
  • 89
  • 115
0
votes
2 answers

NDIS filter driver doesn't load in windows 2008 R2

I'm trying to develop an NDIS filter driver. However, I don't seem to be able to load it. I have the debug and testsigning boot options enabled; my driver is test-signed, and the certificate is loaded in the root and trustedpublisher stores. Before…
0
votes
0 answers

Native Wifi API: Perform WlanScan with restricted channel set

Is there a chance to perform a channel restricted AP scan with Native Wifi API in Win10? There seem to be no suitable parameters for the WlanScan call to restrict the channel selection to a whitelist or blacklist. Is there another way to achieve it…
0
votes
1 answer

receive ip frames using ndisuio

I'm writing a DHCP client for Windows ce. after doing it all with sockets I realized that I coudn't send packets from ip 0.0.0.0 so I found that I need to use NDISUIO. After googling about NDISUIO I can send working DHCP Discovery Packets BUT I…
jesus_m90
  • 26
  • 5
0
votes
1 answer

explain WEC7 virtual/physical address space

Can anyone explain about the address spacing (virtual/physical) in WEC7 (Windows Embedded Compact 7)? and Virtual to physical address mapping with examples?
0
votes
1 answer

Problems in reading memory while analyzing Windows kernel crash dumps

While analyzing Windows Kernel crash dumps using WinDBG, I have often faced a problem of WinDBG not able to read some memory location. Recently while analyzing a Kernel crash dump (minidump file), I observed that there were six stack variables…
Arun Kaushal
  • 593
  • 3
  • 16
0
votes
1 answer

How 8021q tagged frame making in NDIS NET_BUFFER LIST of Ethernet field?

I am testing my virtual driver to get HLK certification. In HLK, they have 2c_priority test which will check the sending of 802.1 p tagged packet. Initially i am not supporting 802.1p . In order to support 802.1p , I added…
user2986042
  • 1,098
  • 2
  • 16
  • 37