Logo Search packages:      
Sourcecode: paris-traceroute version File versions  Download package

TCPReply Class Reference

#include <Reply.h>

Inheritance diagram for TCPReply:

Reply Datagram

List of all members.


Detailed Description

This class hold a TCP message.

Definition at line 82 of file Reply.h.


Public Types

enum  reply_type {
  DESTINATION_REACHED, TIME_EXPIRED, HOST_UNREACHABLE, NETWORK_UNREACHABLE,
  PROTOCOL_UNREACHABLE, OTHER_UNREACHABLE, SOURCE_QUENCH, UNKNOW
}
 Type of a reply.

Public Member Functions

void addHeader (Header *h)
void dump ()
void dumpRaw ()
HeadergetHeader (int index)
int getID ()
int getID2 ()
int getID3 ()
int getIPId ()
uint32 * getMPLSLabelStack ()
int getMPLSNbrLabels ()
uint8 getMPLSTTL ()
int getNbrHeaders ()
uint32 getOriginalDestAddress ()
int getOriginalProtocol ()
int getOriginalTTL ()
int getProcId ()
int getResetID ()
uint32 getSourceAddress ()
uint8 getTTL ()
int getType ()
bool IPOptions ()
void packData (uint8 *data, int length, int offset)
bool resetRequired ()
void setData (const uint8 *data, int length)
 TCPReply (const uint8 *packet, int packet_len)

Static Public Member Functions

static ReplyreplyFactory (const uint8 *packet, int packet_len)

Public Attributes

uint8 * data
int data_length
int proc_id

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index