FilterSendNetBufferListsComplete:
NDIS calls the FilterSendNetBufferListsComplete function to complete a send request that a filter driver started by calling the NdisFSendNetBufferLists function.
FilterSendNetBufferLists:
NDIS calls the FilterSendNetBufferLists function to allow a filter driver to filter a linked list of NET_BUFFER_LISTstructures.
调用关系如下:
ndis6.0中NET_BUFFER_LIST和NET_BUFFER是两个很重要的数据结构。
如何在FilterSendNetBufferLists函数中读取数据包的内容呢,步骤如下:
1.pCurrentNetBuffer = NET_BUFFER_LIST_FIRST_NB(CurrNbl)
2.pMdl = NET_BUFFER_CURRENT_MDL(pCurrentNetBuffer)
3.NdisQueryMdl(
pMdl,
&pEthHeader,
pMdl,
&pEthHeader,