_INTERMEDIATE_BUFFER
struct _INTERMEDIATE_BUFFER
{
LIST_ENTRY m_qLink;
ULONG m_dwDeviceFlags;
ULONG m_Length;
ULONG m_Flags; // NDIS_PACKET flags
UCHAR m_IBuffer [MAX_ETHER_FRAME];
}
m_qLink
Used by helper driver
internally. Feel free to use this field on your own.
m_dwDeviceFlags
This field must be a
PACKET_FLAG_ON_SEND if packet was intercepted from MSTCP or
PACKET_FLAG_ON_RECEIVE if packet was intercepted from the network
interface.
m_Length
The length of the
packet in the m_IBuffer.
m_Flags
This field can be a
combination of the NDIS_FLAGS_XXX (defined in ndis.h)
m_IBuffer
This field contains
the raw Ethernet packet.
|