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

StreamedUDPParser Class Reference

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

#include <StreamedUDPParser.h>

Inheritance diagram for StreamedUDPParser:

StreamedOutputParser ProtocolParser FilteredPacketListener PacketListener List of all members.

Public Member Functions

 StreamedUDPParser (Decomposition &out, Trace *streamTempl=NULL)
virtual void handlePassedPacket (TraceIterator &newPkt)
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 UDPPackets 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.


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 StreamedUDPParser::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