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

StreamedTCPParser Class Reference

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

#include <StreamedTCPParser.h>

Inheritance diagram for StreamedTCPParser:

StreamedOutputParser ProtocolParser FilteredPacketListener PacketListener List of all members.

Public Member Functions

 StreamedTCPParser (Decomposition &out, Trace *streamTempl=NULL)
 construct a new StreamedTCPParser
virtual void handlePassedPacket (TraceIterator &newPkt)
virtual void handlePacket (TraceIterator &newPkt)

Protected Attributes

Decompositionoutput

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.

Examples:

test_harness.cc.


Constructor & Destructor Documentation

StreamedTCPParser::StreamedTCPParser Decomposition out,
Trace streamTempl = NULL
 

construct a new StreamedTCPParser

Parameters:
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.

void StreamedTCPParser::handlePassedPacket TraceIterator newPkt  )  [virtual]
 

send a packet to the parser to be processed

Implements StreamedOutputParser.


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