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

Transmitting raw packet in when 802.11 miniport driver in NetMon mode

As per msdn documentation, while in NetMon mode, the miniport driver can only receive the packet based on the filter settings. The miniport driver can not send the packet. But I need to transmit the raw packet while the miniport driver in NetMon…
0
votes
1 answer

Physical layer management entity services for 802.11

I am trying to implement ExtSTA operation mode for 802.11. Can any body please tell me PLME(Physical layer management entity) services for 802.11 and how can we implement those..
0
votes
1 answer

How to switch to monitor mode using NDIS?

I'm writing a program (C++) which will detect devices around me using Wi-fi on Windows OS. In order to do that I'm using Netmon API and I need to switch the wireless network adapter to monitor mode. I read that Netmon doesn't have an API for that…
0
votes
1 answer

kernel module of Windows that can be found NDIS in memory Windows

I want to write a kernel module of Windows 7 that can be found in the Windows memory and to access the module NDIS. How to implement? What to read on the subject? You can sample code in C + +
demonh
  • 21
  • 2
0
votes
1 answer

unicast, multicast, broadcast packet

I am developing a NDIS driver. NDIS sends packet to miniport. How will I know that the packet comes from NDIS is unicast, multicast or broadcast packet.How to find out a packet is unicast, multicast or broadcast..
MM WDD
  • 43
  • 1
  • 4
0
votes
1 answer

canceling oid request in NDIS driver

How to cancel oid request. Can anybody please tell me detailed procedure? Suppose NDIS sends any request to miniport driver. How driver will cancel the request and send it to the miniport driver.
MM WDD
  • 43
  • 1
  • 4
0
votes
1 answer

Transfer data using NDIS

I am working on fpga firmware, in which i want to have very fast data transfer using ethernet . I got help from FPGA forum they say that suggest designs for data transfer using light weight internet protocol (LWIP). How this is different from…
user1107855
  • 245
  • 2
  • 4
  • 12
0
votes
2 answers

Does a NIC 'know' its MAC address?

My understanding is that an Ethernet NIC 'knows' its MAC address. When packets arrive on the wire, the NIC checks to see if the destination MAC matches its MAC, and if so, forwards the packet up the network stack. This alleviates the operating…
The Demigeek
  • 763
  • 3
  • 13
  • 27
0
votes
2 answers

NDIS filter driver's FilterAttach routine isn't called under Windows 8

everybody. I have ported the famous packet capture software WinPcap from the NDIS 5 protocol to an NDIS 6 LWF. Everything is OK under Win7. However, the FilterAttach routine is never called under Win8. I found NdisFRegisterFilterDriver invoke in…
hsluoyz
  • 2,739
  • 5
  • 35
  • 59
0
votes
1 answer

Is FilterSendNetBufferLists handler a must for an NDIS filter to use NdisFSendNetBufferLists?

everyone, I am porting the WinPcap from NDIS6 protocol to NDIS6 filter. It is nearly finished, but I still have a bit of questions: The comment of ndislwf said "A filter that doesn't provide a FilerSendNetBufferList handler can not originate a send…
hsluoyz
  • 2,739
  • 5
  • 35
  • 59
0
votes
1 answer

Compilation error for NDIS driver with Visual Studio 2012! :(

I am trying to compile the NDIS driver using Visual studio 2012 Express for Desktop. I have installed WDK 8.1 already but still couldnot manage to get it... I suspect that somewhere i have to include the path for the MSbuild tools but unfortunately…
user1107855
  • 245
  • 2
  • 4
  • 12
0
votes
1 answer

Thread in driver don't send packets

I have this NDIS Filter Driver. I try to start in my driver a thread, that will send packet every 10 seconds. To do that, I use this code: LARGE_INTEGER TimePrev, TimeNow; void ThreadedAction() { while(1) { …
0
votes
1 answer

Windows NDIS Driver: Concurrent Read/Write on a single device (IRP_MJ_READ/WRITE)

Starting with the ndisprot sample from Microsoft I try to write a NDIS protocol driver. From User space I try to read and write to the device simultaneous (out of two threads). Since I don't receive any packets, the ReadFile system call blocks. I'm…
falstaff
  • 3,413
  • 2
  • 25
  • 26
0
votes
1 answer

How to disable loopback packets in NDIS protocol driver

How do I disable receiving loopback packets in protocol driver? The scenario is, my protocol driver is receiving packets from one adapter and sending it over to another. (like eth0 -> eth1). Interested only in IPv4, #define NPROT_ETH_TYPE …
Jimson James
  • 2,937
  • 6
  • 43
  • 78
0
votes
1 answer

NDIS Hooking for Blocking/Unblocking website on windows xp

I am trying to block/unblock some of website on windows xp using NDIS Hooking.I am new for this NDIS Hooking on windows xp. so can you please tell whether is there any sample in msdn or do you have any sample application whick can Block/Unblock…
KamalBhr
  • 29
  • 1
  • 3