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

UDPProbe Class Reference

#include <Probe.h>

Inheritance diagram for UDPProbe:

Probe Datagram

List of all members.


Detailed Description

Wrapper for a UDP probe.

Definition at line 58 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 ()
void packData (uint8 *data, int length, int offset)
void send ()
 Send this probe.
void setData (const uint8 *data, int length)
 UDPProbe (const char *src_addr, int src_port, uint32 dst_addr, int dst_port, uint8 ttl, uint8 tos, int data_len, uint16 proc_id, uint16 id)

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