Main Page | Modules | Class Hierarchy | Class List | Directories | Class Members | Related Pages | Examples

IPv4Sessionizer Class Reference

Take a demuxed stream of IPv4Packets and sessionize them. More...

#include <IPv4Sessionizer.h>

Inheritance diagram for IPv4Sessionizer:

StreamedOutputParser ProtocolParser FilteredPacketListener PacketListener List of all members.

Public Member Functions

 IPv4Sessionizer (Decomposition &out, Decomposition *streamTempl, Trace *halfstreamTempl)
 construct a new IPv4Sessionizer
virtual void handlePassedPacket (TraceIterator &newPkt)
 send a packet to the parser to be processed
void purgeConnections (const Timeval &time)
 expire or delete any inactive connections
virtual void handlePacket (TraceIterator &newPkt)

Protected Attributes


Detailed Description

Take a demuxed stream of IPv4Packets and sessionize them.

Takes a stream of layer 3 packets (probably IPv4) that have been demultiplexed (probably by IPv4Demux) and produces TCPPackets from them. Output to a Decomposition, further keyed by source port, dest port, and a unique identifier to distinguish between multiple sessions with the same 5-tuple.


Constructor & Destructor Documentation

IPv4Sessionizer::IPv4Sessionizer Decomposition out,
Decomposition streamTempl,
Trace halfstreamTempl

construct a new IPv4Sessionizer

out - target Decomposition
streamTempl - template Trace containing attributes for created streams

Member Function Documentation

void FilteredPacketListener::handlePacket TraceIterator newPkt  )  [virtual, inherited]

checks the packet against the filter and calls handlePassedPacket if it passes or if the filter is NULL

Implements PacketListener.

The documentation for this class was generated from the following files:
Generated on Thu Apr 5 01:02:37 2007 for ANTARES by  doxygen 1.4.2