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

#include <oneprobeonereply.h>

Public Member Functions

 OneProbeOneReply ()
 OneProbeOneReply::OneProbeOneReply.
 ~OneProbeOneReply ()
int udp (GeneralOption *option, ProbeReply *reply, std::string dst_addr)
 OneProbeOneReply::udp.
int udp_ts (GeneralOption *option, ProbeReply *reply, std::string dst_addr)
 OneProbeOneReply::udp_ts.
int udp_ts (GeneralOption *option, ProbeReply *reply, std::string dst_addr, std::string ts_addr_1)
 OneProbeOneReply::udp_ts.
int udp_ts (GeneralOption *option, ProbeReply *reply, std::string dst_addr, std::string ts_addr_1, std::string ts_addr_2)
 OneProbeOneReply::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)
 OneProbeOneReply::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)
 OneProbeOneReply::udp_ts.
int icmp (GeneralOption *option, ProbeReply *reply, std::string dst_addr)
 OneProbeOneReply::icmp.
int icmp_ts (GeneralOption *option, ProbeReply *reply, std::string dst_addr)
 OneProbeOneReply::icmp_ts.
int icmp_ts (GeneralOption *option, ProbeReply *reply, std::string dst_addr, std::string ts_addr_1)
 OneProbeOneReply::icmp_ts.
int icmp_ts (GeneralOption *option, ProbeReply *reply, std::string dst_addr, std::string ts_addr_1, std::string ts_addr_2)
 OneProbeOneReply::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)
 OneProbeOneReply::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)
 OneProbeOneReply::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)
 OneProbeOneReply::protocol.
int protocol_ts (GeneralOption *option, ProbeReply *reply, std::string dst_addr)
 OneProbeOneReply::protocol_ts.
int protocol_ts (GeneralOption *option, ProbeReply *reply, std::string dst_addr, std::string ts_addr_1)
 OneProbeOneReply::protocol_ts.
int protocol_ts (GeneralOption *option, ProbeReply *reply, std::string dst_addr, std::string ts_addr_1, std::string ts_addr_2)
 OneProbeOneReply::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)
 OneProbeOneReply::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)
 OneProbeOneReply::protocol_ts.

Detailed Description

Definition at line 25 of file oneprobeonereply.h.

Constructor & Destructor Documentation

OneProbeOneReply::OneProbeOneReply ( )
OneProbeOneReply::~OneProbeOneReply ( )

Definition at line 27 of file oneprobeonereply.cpp.

Member Function Documentation

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

OneProbeOneReply::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 1534 of file oneprobeonereply.cpp.

Here is the caller graph for this function:

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

OneProbeOneReply::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 1548 of file oneprobeonereply.cpp.

Here is the caller graph for this function:

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

OneProbeOneReply::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 1563 of file oneprobeonereply.cpp.

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

OneProbeOneReply::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 1579 of file oneprobeonereply.cpp.

int OneProbeOneReply::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 
)

OneProbeOneReply::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 1596 of file oneprobeonereply.cpp.

int OneProbeOneReply::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 
)

OneProbeOneReply::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 1614 of file oneprobeonereply.cpp.

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

OneProbeOneReply::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 1722 of file oneprobeonereply.cpp.

Here is the caller graph for this function:

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

OneProbeOneReply::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 1736 of file oneprobeonereply.cpp.

Here is the caller graph for this function:

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

OneProbeOneReply::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 1751 of file oneprobeonereply.cpp.

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

OneProbeOneReply::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 1767 of file oneprobeonereply.cpp.

int OneProbeOneReply::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 
)

OneProbeOneReply::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 1784 of file oneprobeonereply.cpp.

int OneProbeOneReply::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 
)

OneProbeOneReply::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 1802 of file oneprobeonereply.cpp.

int OneProbeOneReply::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 1628 of file oneprobeonereply.cpp.

Here is the caller graph for this function:

int OneProbeOneReply::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 1642 of file oneprobeonereply.cpp.

Here is the caller graph for this function:

int OneProbeOneReply::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 1657 of file oneprobeonereply.cpp.

int OneProbeOneReply::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 1673 of file oneprobeonereply.cpp.

int OneProbeOneReply::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 1690 of file oneprobeonereply.cpp.

int OneProbeOneReply::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 1708 of file oneprobeonereply.cpp.

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

OneProbeOneReply::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 1440 of file oneprobeonereply.cpp.

Here is the caller graph for this function:

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

OneProbeOneReply::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 1454 of file oneprobeonereply.cpp.

Here is the caller graph for this function:

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

OneProbeOneReply::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 1469 of file oneprobeonereply.cpp.

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

OneProbeOneReply::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 1485 of file oneprobeonereply.cpp.

int OneProbeOneReply::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 
)

OneProbeOneReply::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 1502 of file oneprobeonereply.cpp.

int OneProbeOneReply::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 
)

OneProbeOneReply::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 1520 of file oneprobeonereply.cpp.


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