Process a packet. More...

List of all members.

Public Member Functions

HRESULT ProcessPacket ([in] IPacket *pIPacket)


Detailed Description

Optional interface implemented by Distributed Analysis Modules and used by the Omnił Engine. This interface is exposed by a Distributed Analysis Module that needs to process packets captured by the engine.


Member Function Documentation

HRESULT IProcessPacket::ProcessPacket [in] IPacket pIPacket  ) 
 

Allows a Distributed Analysis Module to process a packet captured by the engine.

Parameters:
pIPacket Pointer to an IPacket interface that allows the Distributed Analysis Module to get information about the packet.
Return values:
S_OK Success
E_FAIL Error
E_OUTOFMEMORY Out of memory
E_POINTER The pointer is invalid
Remarks:
This interface should not be implemented if the Distributed Analysis Module does not need to process packets captured by the engine. This packet processing could include analyzing the packet or modifying statistics that are used by IUpdateSummaryStats.