> Well, there is even a WFP layer for that but it is rather ‘under’ documented - perhaps even unsupported until post Win7 RTM - but it simply is a LWF that is a classification altitude in WFP.
Do not use this layer. Not only is it unsupported, it has already been removed from “post Win7 RTM”. It’s an odd little artifact, which isn’t intended for 3rd party use.
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of David R. Cattley
Sent: Friday, January 07, 2011 5:42 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] how to find L2 header size in NDIS LWF
The beautiful thing about WFP is that you *can* filter packets before they
effectively reach tcpip.sys. The even nicer thing is that if you want to
let tcpip.sys do the heavy lifting like reassembly, check-sum verification, etc. then you can filter at an intermediate layer where you see *exactly* what you need to do whatever it is you are trying to do. Unless whatever it is you are trying to do really really really cannot let the framing layer of
tcpip.sys see the network frames. Well, there is even a WFP layer for that
but it is rather ‘under’ documented - perhaps even unsupported until post
Win7 RTM - but it simply is a LWF that is a classification altitude in WFP.
Good Luck,
Dave Cattley
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@yahoo.com
Sent: Friday, January 07, 2011 7:02 AM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] how to find L2 header size in NDIS LWF
Hi,
Thank you all for answering.
@Mr. Divine: The media type in this case is 802.3
@Mr. Cattley: For now, I will ignore LLC/SNAP frames.
@Mr. Tippet: I know about WFP, but I want to filter packets before they reach tcpip.sys.
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer