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

How to understand the internal working of NDIS Miniport driver

I am new to Window driver development. I am trying to understand the working of a NDIS miniport driver (from Microsoft WDK samples). Especially, to understand the packet flow. As per numerous sources, I have seen suggestions of installing two…
Denny Mathew
  • 1,072
  • 9
  • 13
0
votes
1 answer

Internationalisation-correct way to select network adapter to bind to

I have an application which needs to bind to a "Microsoft Loopback Adapter". I can enumerate all the network devices and perform a string match on the friendly name, but of course this will fail on international Windows variants. What is the…
Martin Thompson
  • 16,395
  • 1
  • 38
  • 56
0
votes
1 answer

Process distinction from packets

I captured all packets from a pc with NDIS driver and Pcap library. Can i distinct processes from these packet and sort packets group by process? Or should i use recv, send function hook about all process?
Lightstar
  • 183
  • 3
  • 12
0
votes
0 answers

Prepending a header to a NetBuffer in NDIS6

In a NDIS6 LWF, we are using the following code snippet to prepend a structure called DaiHdr to a netbuffer before sending down: // retreat data start offset by sizeof(DAI_HDR) NdisRetreatNetBufferDataStart(pNetBuffer, sizeof(DaiHdr), 0, NULL); //…
Vitalie
  • 3
  • 3
0
votes
0 answers

NDIS6 modifying filter

We are working on a modifying filter for NDIS6 that uses wrapping of original packets into its own layer protocol. Before adding our own header, we call NdisRetreatNetBufferDataStart(pNetBuffer, sizeof(OurHeader), 0, NULL), assuming that NDIS will…
Vitalie
  • 3
  • 3
0
votes
1 answer

NdisChainBufferAtBack substitution in NDIS 6

I am building a filter driver in NDIS 6. I want to add some data at the back of my NET_BUFFER. To add data I have allocated an MDL through the NdisAllocateMdl API. Now I want to know, is there any wrapper to add this MDL to the existing MDL…
0
votes
1 answer

NdisProt takes a long time to write Ethernet packets

I'm developing a virtualized application in C# that needs network access. I'm using the ndisprot sample driver to read and write Ethernet layer-2 packets. I have everything working fine, except that the WriteFile operations take a HUGE amount of…
Dan
  • 1,805
  • 2
  • 18
  • 21
0
votes
1 answer

ndis5.0 driver and Disable driver signature enfrcement

I was installing ndis 4.0 with 'disable driver signature enforcement'. and driver is giving no error and working fine. But same case for ndis5.0 driver is not working. Does ndis5.0 work with disabling driver signature enforcement. Or It must…
John3245
  • 177
  • 2
  • 13
0
votes
1 answer

Two binaries in one INF file for NDIS 6 LWF

In previous times with NDIS 5.1 we managed to make one inf file that installed the respectie 32 or 64 bit sys file binary, depending on the OS where it was installed. We are trying now the same thing with a NDIS 6 LWF INF file, and have no idea how…
user245481
  • 17
  • 3
0
votes
1 answer

ndisprot on Windows 7 64 bit without using a signed driver

I heard it might be possible to run ndisprot 6 on Windows 7 64 bit for development before having to create a signed driver. Can someone help with this? Creating a signed driver is not what I want. I have been using ndisprot sample driver under…
Edward
  • 148
  • 1
  • 6
0
votes
1 answer

How to prepend headers to a NetBuffer in NDIS 6?

We are upgrading our NDIS 5.1 Intermediate Miniport driver to NDIS 6. We need to prepend some header information to a packet that is goind to be sent. In 5.1 we used NdisChainBufferAtFront(). We already did the entire kitchen to traverse and clone…
user245481
  • 17
  • 3
0
votes
1 answer

Does NDISUIO have a limit on the number of EtherTypes to listen for

I've been asked to look into using raw ethernet frames on WinCE 7.0 As far as I can tell I need to call CreateFile and use IOCTL_NDISUIO_SET_ETHER_TYPE for every ether type I want to receive. I've tested this calling create file multiple times and…
James
  • 9,774
  • 5
  • 34
  • 58
0
votes
1 answer

NDIS LWF - FilterRestart and FilterPause

I'm new to NDIS LWF drivers but I had to move to them after determining that WFP on Win7 would not meet my requirements. So hopefully this isn't too basic of a question. My requirements basically entail being able to promiscuously listen on a…
user3517331
0
votes
1 answer

How to Notify user mode application from windows ndislwf driver?

I took the sample ndislwf 6.0 sample and made some changes like putting unique-incoming ARP packets in a linked list. I can fetch all of the data from user space via IOCTL command. This much is fine. Now, I want to have a running application; and as…
user900360
0
votes
1 answer

DeviceIoControl error 87 for OID_802_11_BSSID_LIST

I'm trying to get the available access points from a network GUID but I'm always getting error 87 (wrong param) for DeviceIoControl(). It's getting me crazy for a while, as I don't know which param is wrong! I've been googling for hours and can't…
Miquel
  • 8,339
  • 11
  • 59
  • 82