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

ICMPProbe Class Reference

#include <Probe.h>

Inheritance diagram for ICMPProbe:

Probe Datagram

List of all members.

Detailed Description

Wrapper for an ICMP probe.

Definition at line 45 of file Probe.h.

Public Member Functions

void addHeader (Header *h)
void dump ()
void dumpRaw ()
void getDatagram (uint8 **data, int *length)
 Get this probe in a packet form.
HeadergetHeader (int index)
int getID ()
int getNbrHeaders ()
 ICMPProbe (const char *src_addr, uint32 dst_addr, uint8 ttl, uint8 tos, int data_len, int chksum, uint16 proc_id, uint16 id)
void packData (uint8 *data, int length, int offset)
void send ()
 Send this probe.
void setData (const uint8 *data, int length)

Static Public Member Functions

static ProbeprobeFactory (const char *protocol, const char *src_addr, int src_port, uint32 dst_addr, int dst_port, uint8 ttl, uint8 tos, int data_length, uint16 proc_id, uint16 id, bool reset)

Public Attributes

uint8 * data
int data_length

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

Generated by  Doxygen 1.6.0   Back to index