Fast Probing
 All Classes Files Functions Variables Typedefs Macros
Public Member Functions | List of all members
FastProbing Class Reference

#include <fastprobing.h>

Public Member Functions

 FastProbing ()
 FastProbing::FastProbing.
 ~FastProbing ()
int udp (GeneralOption *option, ProbeReply *reply, std::string dst_addr)
 FastProbing::udp.
int udp_ts (GeneralOption *option, ProbeReply *reply, std::string dst_addr)
 FastProbing::udp_ts.
int udp_ts (GeneralOption *option, ProbeReply *reply, std::string dst_addr, std::string ts_addr_1)
 FastProbing::udp_ts.
int udp_ts (GeneralOption *option, ProbeReply *reply, std::string dst_addr, std::string ts_addr_1, std::string ts_addr_2)
 FastProbing::udp_ts.
int udp_ts (GeneralOption *option, ProbeReply *reply, std::string dst_addr, std::string ts_addr_1, std::string ts_addr_2, std::string ts_addr_3)
 FastProbing::udp_ts.
int udp_ts (GeneralOption *option, ProbeReply *reply, std::string dst_addr, std::string ts_addr_1, std::string ts_addr_2, std::string ts_addr_3, std::string ts_addr_4)
 FastProbing::udp_ts.
int icmp (GeneralOption *option, ProbeReply *reply, std::string dst_addr)
 FastProbing::icmp.
int icmp_ts (GeneralOption *option, ProbeReply *reply, std::string dst_addr)
 FastProbing::icmp_ts.
int icmp_ts (GeneralOption *option, ProbeReply *reply, std::string dst_addr, std::string ts_addr_1)
 FastProbing::icmp_ts.
int icmp_ts (GeneralOption *option, ProbeReply *reply, std::string dst_addr, std::string ts_addr_1, std::string ts_addr_2)
 FastProbing::icmp_ts.
int icmp_ts (GeneralOption *option, ProbeReply *reply, std::string dst_addr, std::string ts_addr_1, std::string ts_addr_2, std::string ts_addr_3)
 FastProbing::icmp_ts.
int icmp_ts (GeneralOption *option, ProbeReply *reply, std::string dst_addr, std::string ts_addr_1, std::string ts_addr_2, std::string ts_addr_3, std::string ts_addr_4)
 FastProbing::icmp_ts.
int tcp (GeneralOption *option, ProbeReply *reply, std::string dst_addr)
 tcp
int tcp_ts (GeneralOption *option, ProbeReply *reply, std::string dst_addr)
 tcp_ts
int tcp_ts (GeneralOption *option, ProbeReply *reply, std::string dst_addr, std::string ts_addr_1)
 tcp_ts
int tcp_ts (GeneralOption *option, ProbeReply *reply, std::string dst_addr, std::string ts_addr_1, std::string ts_addr_2)
 tcp_ts
int tcp_ts (GeneralOption *option, ProbeReply *reply, std::string dst_addr, std::string ts_addr_1, std::string ts_addr_2, std::string ts_addr_3)
 tcp_ts
int tcp_ts (GeneralOption *option, ProbeReply *reply, std::string dst_addr, std::string ts_addr_1, std::string ts_addr_2, std::string ts_addr_3, std::string ts_addr_4)
 tcp_ts
int protocol (GeneralOption *option, ProbeReply *reply, std::string dst_addr)
 FastProbing::protocol.
int protocol_ts (GeneralOption *option, ProbeReply *reply, std::string dst_addr)
 FastProbing::protocol_ts.
int protocol_ts (GeneralOption *option, ProbeReply *reply, std::string dst_addr, std::string ts_addr_1)
 FastProbing::protocol_ts.
int protocol_ts (GeneralOption *option, ProbeReply *reply, std::string dst_addr, std::string ts_addr_1, std::string ts_addr_2)
 FastProbing::protocol_ts.
int protocol_ts (GeneralOption *option, ProbeReply *reply, std::string dst_addr, std::string ts_addr_1, std::string ts_addr_2, std::string ts_addr_3)
 FastProbing::protocol_ts.
int protocol_ts (GeneralOption *option, ProbeReply *reply, std::string dst_addr, std::string ts_addr_1, std::string ts_addr_2, std::string ts_addr_3, std::string ts_addr_4)
 FastProbing::protocol_ts.

Detailed Description

Definition at line 46 of file fastprobing.h.

Constructor & Destructor Documentation

FastProbing::FastProbing ( )

FastProbing::FastProbing.

Definition at line 42 of file fastprobing.cpp.

FastProbing::~FastProbing ( )

Definition at line 47 of file fastprobing.cpp.

Member Function Documentation

int FastProbing::icmp ( GeneralOption option,
ProbeReply reply,
std::string  dst_addr 
)

FastProbing::icmp.

send ICMP probe to destination IP using option passed as input and reply contains response probe.

Parameters
optionparams to customize sender probe.
replyresponse probe.
dst_addrdestination IP address of probe.
Returns
a value < 0 if error or no reply, otherwise the ICMP type. The response probe is reply.

Definition at line 1554 of file fastprobing.cpp.

Here is the caller graph for this function:

int FastProbing::icmp_ts ( GeneralOption option,
ProbeReply reply,
std::string  dst_addr 
)

FastProbing::icmp_ts.

send ICMP probe to destination IP prespecifing 4 times destination IP address in Timestamp option. Option passed as input customizes the sender probe and reply contains response probe.

Parameters
optionparams to customize sender probe.
replyresponse probe.
dst_addrdestination IP address of probe and IP address prespecified in Timestamp option.
Returns
a value < 0 if error or no reply, otherwise the ICMP type. The response probe is reply.

Definition at line 1568 of file fastprobing.cpp.

Here is the caller graph for this function:

int FastProbing::icmp_ts ( GeneralOption option,
ProbeReply reply,
std::string  dst_addr,
std::string  ts_addr_1 
)

FastProbing::icmp_ts.

send ICMP probe to destination IP prespecifing 4 times ts_addr_1 IP address in Timestamp option. Option passed as input customizes the sender probe and reply contains response probe.

Parameters
optionparams to customize sender probe.
replyresponse probe.
dst_addrdestination IP address of probe.
ts_addr_1IP address prespecified 4 times in Timestamp option.
Returns
a value < 0 if error or no reply, otherwise the ICMP type. The response probe is reply.

Definition at line 1583 of file fastprobing.cpp.

int FastProbing::icmp_ts ( GeneralOption option,
ProbeReply reply,
std::string  dst_addr,
std::string  ts_addr_1,
std::string  ts_addr_2 
)

FastProbing::icmp_ts.

send ICMP probe to destination IP prespecifing 1 time ts_addr_1 IP address and 3 times ts_addr_2 in Timestamp option. Option passed as input customizes the sender probe and reply contains response probe.

Parameters
optionparams to customize sender probe.
replyresponse probe.
dst_addrdestination IP address of probe.
ts_addr_1first IP address prespecified in Timestamp option.
ts_addr_2last 3 IP address prespecified in Timestamp option.
Returns
a value < 0 if error or no reply, otherwise the ICMP type. The response probe is reply.

Definition at line 1599 of file fastprobing.cpp.

int FastProbing::icmp_ts ( GeneralOption option,
ProbeReply reply,
std::string  dst_addr,
std::string  ts_addr_1,
std::string  ts_addr_2,
std::string  ts_addr_3 
)

FastProbing::icmp_ts.

send ICMP probe to destination IP prespecifing 1 time ts_addr_1 and ts_addr_2 IP addresses and 2 times ts_addr_3 in Timestamp option. Option passed as input customizes the sender probe and reply contains response probe.

Parameters
optionparams to customize sender probe.
replyresponse probe.
dst_addrdestination IP address of probe.
ts_addr_1first IP address prespecified in Timestamp option.
ts_addr_2second IP address prespecified in Timestamp option.
ts_addr_3last 2 IP address prespecified in Timestamp option.
Returns
a value < 0 if error or no reply, otherwise the ICMP type. The response probe is reply.

Definition at line 1616 of file fastprobing.cpp.

int FastProbing::icmp_ts ( GeneralOption option,
ProbeReply reply,
std::string  dst_addr,
std::string  ts_addr_1,
std::string  ts_addr_2,
std::string  ts_addr_3,
std::string  ts_addr_4 
)

FastProbing::icmp_ts.

send ICMP probe to destination IP prespecifing ts_addr_1, ts_addr_2, ts_addr_3 and ts_addr_4 IP addresses in Timestamp option. Option passed as input customizes the sender probe and reply contains response probe.

Parameters
optionparams to customize sender probe.
replyresponse probe.
dst_addrdestination IP address of probe.
ts_addr_1first IP address prespecified in Timestamp option.
ts_addr_2second IP address prespecified in Timestamp option.
ts_addr_3third IP address prespecified in Timestamp option.
ts_addr_4fourth IP address prespecified in Timestamp option.
Returns
a value < 0 if error or no reply, otherwise the ICMP type. The response probe is reply.

Definition at line 1634 of file fastprobing.cpp.

int FastProbing::protocol ( GeneralOption option,
ProbeReply reply,
std::string  dst_addr 
)

FastProbing::protocol.

send PROTOCOL probe to destination IP using option passed as input (in which is specify PROTOCOL IP number, default is 57, SKIP protocol) and reply contains response probe.

Parameters
optionparams to customize sender probe.
replyresponse probe.
dst_addrdestination IP address of probe.
Returns
a value < 0 if error or no reply, otherwise the ICMP type. The response probe is reply. 

Definition at line 1742 of file fastprobing.cpp.

Here is the caller graph for this function:

int FastProbing::protocol_ts ( GeneralOption option,
ProbeReply reply,
std::string  dst_addr 
)

FastProbing::protocol_ts.

send PROTOCOL probe to destination IP prespecifing 4 times destination IP address in Timestamp option. Option passed as input (in which is specify PROTOCOL IP number, default is 57, SKIP protocol) customizes the sender probe and reply contains response probe.

Parameters
optionparams to customize sender probe.
replyresponse probe.
dst_addrdestination IP address of probe and IP address prespecified in Timestamp option.
Returns
a value < 0 if error or no reply, otherwise the ICMP type. The response probe is reply.

Definition at line 1756 of file fastprobing.cpp.

Here is the caller graph for this function:

int FastProbing::protocol_ts ( GeneralOption option,
ProbeReply reply,
std::string  dst_addr,
std::string  ts_addr_1 
)

FastProbing::protocol_ts.

send PROTOCOL probe to destination IP prespecifing 4 times ts_addr_1 IP address in Timestamp option. Option passed as input (in which is specify PROTOCOL IP number, default is 57, SKIP protocol) customizes the sender probe and reply contains response probe.

Parameters
optionparams to customize sender probe.
replyresponse probe.
dst_addrdestination IP address of probe.
ts_addr_1IP address prespecified 4 times in Timestamp option.
Returns
a value < 0 if error or no reply, otherwise the ICMP type. The response probe is reply.

Definition at line 1771 of file fastprobing.cpp.

int FastProbing::protocol_ts ( GeneralOption option,
ProbeReply reply,
std::string  dst_addr,
std::string  ts_addr_1,
std::string  ts_addr_2 
)

FastProbing::protocol_ts.

send PROTOCOL probe to destination IP prespecifing 1 time ts_addr_1 IP address and 3 times ts_addr_2 in Timestamp option. Option passed as input (in which is specify PROTOCOL IP number, default is 57, SKIP protocol) customizes the sender probe and reply contains response probe.

Parameters
optionparams to customize sender probe.
replyresponse probe.
dst_addrdestination IP address of probe.
ts_addr_1first IP address prespecified in Timestamp option.
ts_addr_2last 3 IP address prespecified in Timestamp option.
Returns
a value < 0 if error or no reply, otherwise the ICMP type. The response probe is reply.

Definition at line 1787 of file fastprobing.cpp.

int FastProbing::protocol_ts ( GeneralOption option,
ProbeReply reply,
std::string  dst_addr,
std::string  ts_addr_1,
std::string  ts_addr_2,
std::string  ts_addr_3 
)

FastProbing::protocol_ts.

send PROTOCOL probe to destination IP prespecifing 1 time ts_addr_1 and ts_addr_2 IP addresses and 2 times ts_addr_3 in Timestamp option. Option passed as input (in which is specify PROTOCOL IP number, default is 57, SKIP protocol) customizes the sender probe and reply contains response probe.

Parameters
optionparams to customize sender probe.
replyresponse probe.
dst_addrdestination IP address of probe.
ts_addr_1first IP address prespecified in Timestamp option.
ts_addr_2second IP address prespecified in Timestamp option.
ts_addr_3last 2 IP address prespecified in Timestamp option.
Returns
a value < 0 if error or no reply, otherwise the ICMP type. The response probe is reply.

Definition at line 1804 of file fastprobing.cpp.

int FastProbing::protocol_ts ( GeneralOption option,
ProbeReply reply,
std::string  dst_addr,
std::string  ts_addr_1,
std::string  ts_addr_2,
std::string  ts_addr_3,
std::string  ts_addr_4 
)

FastProbing::protocol_ts.

send PROTOCOL probe to destination IP prespecifing ts_addr_1, ts_addr_2, ts_addr_3 and ts_addr_4 IP addresses in Timestamp option. Option passed as input (in which is specify PROTOCOL IP number, default is 57, SKIP protocol) customizes the sender probe and reply contains response probe.

Parameters
optionparams to customize sender probe.
replyresponse probe.
dst_addrdestination IP address of probe.
ts_addr_1first IP address prespecified in Timestamp option.
ts_addr_2second IP address prespecified in Timestamp option.
ts_addr_3third IP address prespecified in Timestamp option.
ts_addr_4fourth IP address prespecified in Timestamp option.
Returns
a value < 0 if error or no reply, otherwise the ICMP type. The response probe is reply.

Definition at line 1822 of file fastprobing.cpp.

int FastProbing::tcp ( GeneralOption option,
ProbeReply reply,
std::string  dst_addr 
)

tcp

send TCP probe to destination IP using option passed as input and reply contains response probe.

Parameters
optionparams to customize sender probe.
replyresponse probe.
dst_addrdestination IP address of probe.
Returns
a value < 0 if error or no reply, otherwise returns 60 if TCP_RST_FLAG, 61 if TCP_SYN_ACK, 62 if TCP_UNKWON. The response probe is reply.

Definition at line 1648 of file fastprobing.cpp.

Here is the caller graph for this function:

int FastProbing::tcp_ts ( GeneralOption option,
ProbeReply reply,
std::string  dst_addr 
)

tcp_ts

send TCP probe to destination IP prespecifing 4 times destination IP address in Timestamp option. Option passed as input customizes the sender probe and reply contains response probe.

Parameters
optionparams to customize sender probe.
replyresponse probe.
dst_addrdestination IP address of probe and IP address prespecified in Timestamp option.
Returns
a value < 0 if error or no reply, otherwise returns 60 if TCP_RST_FLAG, 61 if TCP_SYN_ACK, 62 if TCP_UNKWON. The response probe is reply.

Definition at line 1662 of file fastprobing.cpp.

Here is the caller graph for this function:

int FastProbing::tcp_ts ( GeneralOption option,
ProbeReply reply,
std::string  dst_addr,
std::string  ts_addr_1 
)

tcp_ts

send TCP probe to destination IP prespecifing 4 times ts_addr_1 IP address in Timestamp option. Option passed as input customizes the sender probe and reply contains response probe.

Parameters
optionparams to customize sender probe.
replyresponse probe.
dst_addrdestination IP address of probe.
ts_addr_1IP address prespecified 4 times in Timestamp option.
Returns
a value < 0 if error or no reply, otherwise returns 60 if TCP_RST_FLAG, 61 if TCP_SYN_ACK, 62 if TCP_UNKWON. The response probe is reply.

Definition at line 1677 of file fastprobing.cpp.

int FastProbing::tcp_ts ( GeneralOption option,
ProbeReply reply,
std::string  dst_addr,
std::string  ts_addr_1,
std::string  ts_addr_2 
)

tcp_ts

send TCP probe to destination IP prespecifing 1 time ts_addr_1 IP address and 3 times ts_addr_2 in Timestamp option. Option passed as input customizes the sender probe and reply contains response probe.

Parameters
optionparams to customize sender probe.
replyresponse probe.
dst_addrdestination IP address of probe.
ts_addr_1first IP address prespecified in Timestamp option.
ts_addr_2last 3 IP address prespecified in Timestamp option.
Returns
a value < 0 if error or no reply, otherwise returns 60 if TCP_RST_FLAG, 61 if TCP_SYN_ACK, 62 if TCP_UNKWON. The response probe is reply.

Definition at line 1693 of file fastprobing.cpp.

int FastProbing::tcp_ts ( GeneralOption option,
ProbeReply reply,
std::string  dst_addr,
std::string  ts_addr_1,
std::string  ts_addr_2,
std::string  ts_addr_3 
)

tcp_ts

send UDP probe to destination IP prespecifing 1 time ts_addr_1 and ts_addr_2 IP addresses and 2 times ts_addr_3 in Timestamp option. Option passed as input customizes the sender probe and reply contains response probe.

Parameters
optionparams to customize sender probe.
replyresponse probe.
dst_addrdestination IP address of probe.
ts_addr_1first IP address prespecified in Timestamp option.
ts_addr_2second IP address prespecified in Timestamp option.
ts_addr_3last 2 IP address prespecified in Timestamp option.
Returns
a value < 0 if error or no reply, otherwise returns 60 if TCP_RST_FLAG, 61 if TCP_SYN_ACK, 62 if TCP_UNKWON. The response probe is reply.

Definition at line 1710 of file fastprobing.cpp.

int FastProbing::tcp_ts ( GeneralOption option,
ProbeReply reply,
std::string  dst_addr,
std::string  ts_addr_1,
std::string  ts_addr_2,
std::string  ts_addr_3,
std::string  ts_addr_4 
)

tcp_ts

send TCP probe to destination IP prespecifing ts_addr_1, ts_addr_2, ts_addr_3 and ts_addr_4 IP addresses in Timestamp option. Option passed as input customizes the sender probe and reply contains response probe.

Parameters
optionparams to customize sender probe.
replyresponse probe.
dst_addrdestination IP address of probe.
ts_addr_1first IP address prespecified in Timestamp option.
ts_addr_2second IP address prespecified in Timestamp option.
ts_addr_3third IP address prespecified in Timestamp option.
ts_addr_4fourth IP address prespecified in Timestamp option.
Returns
a value < 0 if error or no reply, otherwise returns 60 if TCP_RST_FLAG, 61 if TCP_SYN_ACK, 62 if TCP_UNKWON. The response probe is reply.

Definition at line 1728 of file fastprobing.cpp.

int FastProbing::udp ( GeneralOption option,
ProbeReply reply,
std::string  dst_addr 
)

FastProbing::udp.

PUBLIC METHOD send UDP probe to destination IP using option passed as input and reply contains response probe.

Parameters
optionparams to customize sender probe.
replyresponse probe.
dst_addrdestination IP address of probe.
Returns
a value < 0 if error or no reply, otherwise the ICMP type. The response probe is reply.

Definition at line 1460 of file fastprobing.cpp.

Here is the caller graph for this function:

int FastProbing::udp_ts ( GeneralOption option,
ProbeReply reply,
std::string  dst_addr 
)

FastProbing::udp_ts.

send UDP probe to destination IP prespecifing 4 times destination IP address in Timestamp option. Option passed as input customizes the sender probe and reply contains response probe.

Parameters
optionparams to customize sender probe.
replyresponse probe.
dst_addrdestination IP address of probe and IP address prespecified in Timestamp option.
Returns
a value < 0 if error or no reply, otherwise the ICMP type. The response probe is reply.

Definition at line 1474 of file fastprobing.cpp.

Here is the caller graph for this function:

int FastProbing::udp_ts ( GeneralOption option,
ProbeReply reply,
std::string  dst_addr,
std::string  ts_addr_1 
)

FastProbing::udp_ts.

send UDP probe to destination IP prespecifing 4 times ts_addr_1 IP address in Timestamp option. Option passed as input customizes the sender probe and reply contains response probe.

Parameters
optionparams to customize sender probe.
replyresponse probe.
dst_addrdestination IP address of probe.
ts_addr_1IP address prespecified 4 times in Timestamp option.
Returns
a value < 0 if error or no reply, otherwise the ICMP type. The response probe is reply.

Definition at line 1489 of file fastprobing.cpp.

int FastProbing::udp_ts ( GeneralOption option,
ProbeReply reply,
std::string  dst_addr,
std::string  ts_addr_1,
std::string  ts_addr_2 
)

FastProbing::udp_ts.

send UDP probe to destination IP prespecifing 1 time ts_addr_1 IP address and 3 times ts_addr_2 in Timestamp option. Option passed as input customizes the sender probe and reply contains response probe.

Parameters
optionparams to customize sender probe.
replyresponse probe.
dst_addrdestination IP address of probe.
ts_addr_1first IP address prespecified in Timestamp option.
ts_addr_2last 3 IP address prespecified in Timestamp option.
Returns
a value < 0 if error or no reply, otherwise the ICMP type. The response probe is reply.

Definition at line 1505 of file fastprobing.cpp.

int FastProbing::udp_ts ( GeneralOption option,
ProbeReply reply,
std::string  dst_addr,
std::string  ts_addr_1,
std::string  ts_addr_2,
std::string  ts_addr_3 
)

FastProbing::udp_ts.

send UDP probe to destination IP prespecifing 1 time ts_addr_1 and ts_addr_2 IP addresses and 2 times ts_addr_3 in Timestamp option. Option passed as input customizes the sender probe and reply contains response probe.

Parameters
optionparams to customize sender probe.
replyresponse probe.
dst_addrdestination IP address of probe.
ts_addr_1first IP address prespecified in Timestamp option.
ts_addr_2second IP address prespecified in Timestamp option.
ts_addr_3last 2 IP address prespecified in Timestamp option.
Returns
a value < 0 if error or no reply, otherwise the ICMP type. The response probe is reply.

Definition at line 1522 of file fastprobing.cpp.

int FastProbing::udp_ts ( GeneralOption option,
ProbeReply reply,
std::string  dst_addr,
std::string  ts_addr_1,
std::string  ts_addr_2,
std::string  ts_addr_3,
std::string  ts_addr_4 
)

FastProbing::udp_ts.

send UDP probe to destination IP prespecifing ts_addr_1, ts_addr_2, ts_addr_3 and ts_addr_4 IP addresses in Timestamp option. Option passed as input customizes the sender probe and reply contains response probe.

Parameters
optionparams to customize sender probe.
replyresponse probe.
dst_addrdestination IP address of probe.
ts_addr_1first IP address prespecified in Timestamp option.
ts_addr_2second IP address prespecified in Timestamp option.
ts_addr_3third IP address prespecified in Timestamp option.
ts_addr_4fourth IP address prespecified in Timestamp option.
Returns
a value < 0 if error or no reply, otherwise the ICMP type. The response probe is reply.

Definition at line 1540 of file fastprobing.cpp.


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