#include <IPv4Key.h>
Inheritance diagram for IPv4Key:
Public Member Functions | |
IPv4Key (IPv4Addr source, IPv4Addr dest, bool bi=true) | |
IPv4Key (const IPv4Key &toCopy) | |
virtual IPv4Key * | clone (void) const |
virtual bool | operator== (const StreamKey &rhs) const |
virtual bool | operator< (const StreamKey &rhs) const |
virtual void | setBidirectional (bool bi) |
virtual const PacketAttributeValue & | getAttrib (const PacketAttribute &attrib) const throw ( UnknownAttributeException ) |
Get a packet attribute for the entire stream keyed by the StreamKey. | |
virtual bool | isBidirectional (void) const |
Does the stream represent both sides of a bidirectional flow? | |
virtual uint32_t | getDirection (const TraceIterator &packet) const |
determine the direction of a packet relative to a bidirectional StreamKey | |
virtual std::string | toString (void) const |
Static Public Attributes | |
static const uint32_t | DIR_FORWARD = 0 |
static const uint32_t | DIR_REVERSE = 1 |
|
Get a packet attribute for the entire stream keyed by the StreamKey.
Implements StreamKey. |
|
determine the direction of a packet relative to a bidirectional StreamKey
Reimplemented from StreamKey. |
|
operator< provided to support fast searching in a data structure Implements StreamKey. |
|
compare two StreamKeys for equality Implements StreamKey. |
|
operator> provided to support fast searching in a data structure |
|
Last type identifier used by a StreamKey subclass; a new StreamKey should use a type identifier one greater than this. |