Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Sept/Oct 2019 Issue of The NT Insider available


Download PDF here: http://insider.osr.com/2019/ntinsider_2019_01.pdf

It’s a particularly BIG issue, too: 40 pages of technical goodness, ranging from WDF to Minifilters. Check it out.
Before Posting...
Please check out the Community Guidelines in the Announcements and Administration Category.

NDIS Intermediate driver - Setting packet filter - Receive handler not getting called

sathish1323sathish1323 Member Posts: 7

Hello All,
I am developing an intermediate for the purpose of adding the failover functionality in the network. My initial task is to open two physical NICs and capture the packets in the Protocol driver's receive handler. I am facing an issue where after setting the packet filter, NDIS is not calling the receive handler function where I get the packets received by the NIC. In wireshark, I see some arp packets are received by the NIC. There is one workaround I found If I disable and re-enable the adapters NDIS is calling the receive handler.

Note:- I am not initializing any mini ports here.

I would like to know why is it so,

Steps:-
1. Opened the adapter
2. Set the packet filter with the value 0x0F which includes (unicast, multicast, broadcast)

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Upcoming OSR Seminars
Writing WDF Drivers 21 Oct 2019 OSR Seminar Space & ONLINE
Internals & Software Drivers 18 Nov 2019 Dulles, VA
Kernel Debugging 30 Mar 2020 OSR Seminar Space
Developing Minifilters 27 Apr 2020 OSR Seminar Space & ONLINE