Driver Problems? Questions? Issues?
Put OSR's experience to work for you! Contact us for assistance with:
  • Creating the right design for your requirements
  • Reviewing your existing driver code
  • Analyzing driver reliability/performance issues
  • Custom training mixed with consulting and focused directly on your specific areas of interest/concern.
Check us out. OSR, the Windows driver experts.

Monthly Seminars at OSR Headquarters

East Coast USA
Windows Internals and SW Drivers, Dulles (Sterling) VA, 9 April 2018

Writing WDF Drivers I: Core Concepts, Manchester, NH, 7 May 2018

Kernel Debugging & Crash Analysis for Windows, Manchester, NH, 21 May 2018


Go Back   OSR Online Lists > ntdev
Welcome, Guest
You must login to post to this list
  Message 1 of 2  
16 Mar 17 12:24
ntdev member 172037
xxxxxx@gmail.com
Join Date:
Posts To This List: 2
Windows filtering platform callout execution time

from this link https://msdn.microsoft.com/en-us/windows/hardware/drivers/network/callout-driver- programming-considerations the classify function should execute as soon as possible. I filtering plackets at layer 2 but I want to wait for the user app to reply with allow or block action and in my classify function I will only wait for 5 seconds and if the user app delays then it continues by the block action but I want to know if 5 seconds is too much for the classify function running at dispatch_level to wait or I should just proceed
  Message 2 of 2  
16 Mar 17 12:57
Peter Scott
xxxxxx@kerneldrivers.com
Join Date: 17 Feb 2012
Posts To This List: 49
Windows filtering platform callout execution time

You won't be able to block directly within your classify function at dispatch level, at least not waiting for a user mode response. You'll need to queue these requests up to a worker and then process them asynchronously, similar to how the stream edit (stmedit) sample in the DDK functions. Pete -- Kernel Drivers Windows File System and Device Driver Consulting www.KernelDrivers.com 866.263.9295 ------ Original Message ------ From: xxxxx@gmail.com To: "Windows System Software Devs Interest List" <xxxxx@lists.osr.com> Sent: 3/16/2017 10:25:22 AM Subject: [ntdev] Windows filtering platform callout execution time >from this link >https://msdn.microsoft.com/en-us/windows/hardware/drivers/network/callout-driver -programming-considerations >the classify function should execute as soon as possible. I filtering >plackets at layer 2 but I want to wait for the user app to reply with >allow or block action and in my classify function I will only wait for >5 seconds and if the user app delays then it continues by the block >action but I want to know if 5 seconds is too much for the classify >function running at dispatch_level to wait or I should just proceed > >--- <...excess quoted lines suppressed...>
Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You must login to OSR Online AND be a member of the ntdev list to be able to post.

All times are GMT -5. The time now is 08:02.


Copyright ©2015, OSR Open Systems Resources, Inc.
Based on vBulletin Copyright ©2000 - 2005, Jelsoft Enterprises Ltd.
Modified under license