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
0 answers

Receive Packet Acknowledgement from NDIS to Miniport Layer

When developing a PCIe - Ethernet driver in Wince 7 . Send packet is working fine but on receive when we dump buffer at miniport layer we are receiving the packet but once sent to NDIS we don't get any flags or acknowledgement from NDIS to Miniport…
skanda93
  • 195
  • 3
  • 10
0
votes
1 answer

NdisFSendNetBufferLists causes BSoD when the adapter is being disabled

I have a NDIS 6.x LWF driver that can capture and send packets on Windows. It's an update of WinPcap from NDIS 5 to NDIS 6. This driver receives the packet data from the user-mode applications and send them out using NdisFSendNetBufferLists (See…
hsluoyz
  • 2,739
  • 5
  • 35
  • 59
0
votes
1 answer

What could cause "The MDL is being inserted twice on the same process list"?

We are developing an NDIS protocol and miniport driver. When the driver is in-use and the system hibernates we get a bug check (blue screen) with the following error: LOCKED_PAGES_TRACKER_CORRUPTION (d9) Arguments: Arg1: 00000001, The MDL is being…
Tom Hennen
  • 4,746
  • 7
  • 34
  • 45
0
votes
1 answer

Using the ndisprot example driver (in the WDK) with C++

I have compiled succesfully the ndisprot example ndis driver that came with the Windows Driver Kit, but I don't know how to use it from C++ to send or receive packets. Could someone instruct me on how?
0
votes
1 answer

How to retrieve the network adapter link speed?

I want to determine the link speed of a Ethernet adapter in a Windows CE environment. The actual version of the OS is WEC2013 supporting NDIS6. The miniport driver provides the OID_GET_LINK_SPEED at the MiniportQueryInformation function. But I can't…
harper
  • 13,345
  • 8
  • 56
  • 105
0
votes
1 answer

What version of NDIS to use and maybe even what WDK?

So I'm porting an old 32bit NIC driver which was written for NDIS 5.0. I'm targeting (if possible) all 64bit Windows versions starting from XP. What NDIS version to use? From what I've read it should be less then 6 because then Windows XP x64 won't…
AnArrayOfFunctions
  • 3,452
  • 2
  • 29
  • 66
0
votes
2 answers

How to port NDIS 6.2 to NDIS 6.3 using NDIS_SUPPORT_NDIS630?

I have NDIS 6.2 Supporting Miniport Driver . Now I want to port NDIS 6.2 to NDIS 6.3 . https://msdn.microsoft.com/en-us/library/windows/hardware/dn232191(v=vs.85).aspx Using this link I changed some general requirements and Power Management for…
vinay kp
  • 35
  • 8
0
votes
1 answer

IS it possible to implement 802.1X supplicant functionality using NDIS6 LWF filter drivers?

I have a requirement to implement a 802.1x wired supplicant , for which I need to develop an NDIS 6 based driver which works as a filter as well. I know that it is possible to implement filtering functionality using LWF filters ,There are passthru…
user5334359
0
votes
0 answers

How should i add RAW IP packet to NDIS type Mobile broadband for support?

I'm trying to add support for Windows 7 Mobile Broadband Adapters to a LWF driver . So now I need to connect with USB dongle . I have a dongle with support RAS modem and NDIS . My application can connect with RAS modem on dongle . I have a…
vinay kp
  • 35
  • 8
0
votes
1 answer

porting NDIS 5 based IM driver for 802.1x to NDIS 6

I have an NDIS 5 based IM driver and a virtual miniport driver for 802.1X VPN connectivity. It works fine on Windows 7 / Windows 8 but it is not working on windows 10 as the driver is broken. I was suggested to port the driver to NDIS 6 so that it…
user5334359
0
votes
1 answer

How to install ndiskd extension for debugging my driver?

I have a mini port network driver installed on my PC . I want to debug kernel mode to find the mistakes of my driver . i Know i can use WinDbg tool for getting logs but i heard about the Ndiskd extension . How to install this ? Is this a tool ? or…
tech_123
  • 90
  • 1
  • 10
0
votes
1 answer

Removing and adding VLAN tag create buffer wrap around (NDIS MUX Intermediate Driver)

I am using the "NDIS MUX Intermediate Driver and Notify Object" driver on WEC2013 to simulate 3 different networks with one ethernet adapter (3 VELAN). My board is running a Freescale iMX6 processor connected to a Marvell switch. The switch is…
Jocelyn
  • 1
  • 2
0
votes
1 answer

Using wmi to trigger query OIDs in NDIS driver

I would like to make wmi query in cs to trigger NDIS OIDs. For example, to check hardware status (OID_GEN_HARDWARE_STATUS) I can use ManagementObjectSearcher("root\\WMI", "SELECT * FROM MSNDIS_HardwareStatus") I need to make some other requests, but…
Rick
  • 3
  • 2
0
votes
2 answers

PowerShell C# WMI correct filling input object for InvokeMethod

I have a problem with translating PowerShell script to C#. I'm following Exploring NDIS WMI classes article and I'm trying to rewrite sample PowerShell to C#.. More precisely I've a problem with correctly translate Get-NdisObjectHeader,…
bob0123
  • 13
  • 5
0
votes
1 answer

WPA Supplicant build on Wince6.0

I want to build wpa supplicant for wince. As a newbie don't know how much efforts it will take ? What are the major thing i want to consider before entering into porting ? I think its working for windows xp so can…