#include <probereply.h>
Definition at line 90 of file probereply.h.
ProbeReply::ProbeReply | ( | ) |
Definition at line 39 of file probereply.cpp.
ProbeReply::~ProbeReply | ( | ) |
Definition at line 53 of file probereply.cpp.
int ProbeReply::code | ( | ) |
if response probe is ICMP get ICMP type, if TCP get TCP_RST_FLAG, TCP_SYN_ACK or TCP_UNKNOWN
Definition at line 317 of file probereply.cpp.
std::string ProbeReply::dst_addr | ( | ) |
get destination IP address in dotted notation
Definition at line 216 of file probereply.cpp.
uint32 ProbeReply::dst_addr_raw | ( | ) |
get destination IP address in number notation
Definition at line 226 of file probereply.cpp.
uint16 ProbeReply::dst_port | ( | ) |
get destination port if probe is TCP otherwhise -1.
Definition at line 256 of file probereply.cpp.
bool ProbeReply::has_response | ( | ) |
boolean value which is true if a response probe is obtained, otherwise false.
Definition at line 337 of file probereply.cpp.
int ProbeReply::ihl | ( | ) |
IHL field of IP header
Definition at line 307 of file probereply.cpp.
bool ProbeReply::inner_options | ( | TSOption ** | opt | ) |
get the inner IP Options field of IP header encapsulated in response ICMP packet
Definition at line 408 of file probereply.cpp.
int ProbeReply::ip_protocol | ( | ) |
IP protocol field of IP header of response probe
Definition at line 287 of file probereply.cpp.
std::string ProbeReply::iperror_dst_addr | ( | ) |
get destination IP address in IP encapsulated in ICMP packet in dotted notation.
Definition at line 236 of file probereply.cpp.
uint32 ProbeReply::iperror_dst_addr_raw | ( | ) |
ProbeReply::iperror_dst_addr_raw.
get destination IP address in IP encapsulated in ICMP packet in number notation.
Definition at line 246 of file probereply.cpp.
int ProbeReply::iperror_ip_protocol | ( | ) |
ProbeReply::iperror_ip_protocol.
IP protocol field of IP header encapsulated in ICMP packet of response probe
Definition at line 297 of file probereply.cpp.
bool ProbeReply::options | ( | ) |
boolean value which is true if IP Options field of IP header is setted.
Definition at line 350 of file probereply.cpp.
bool ProbeReply::outer_options | ( | TSOption ** | opt | ) |
get the outer IP Options field of IP header
Definition at line 392 of file probereply.cpp.
char * ProbeReply::payload_probe | ( | ) |
Probe::Reply::payload_probe.
get the response payload probe in raw if ICMP
Definition at line 381 of file probereply.cpp.
void ProbeReply::print | ( | ) |
printing details of response probe
Definition at line 425 of file probereply.cpp.
char * ProbeReply::probe | ( | ) |
probe
get the whole response probe in raw
Definition at line 360 of file probereply.cpp.
void ProbeReply::reset | ( | ) |
int ProbeReply::scan_result | ( | ) |
ProbeReply::result_scan.
return a value with the result of probing. If ERROR value is -8, if NO_RESPONSE value is -1 otherwise ICMP type or TCP_RST_FLAG, TCP_SYN_ACK or TCP_UNKNOWN.
Definition at line 268 of file probereply.cpp.
void ProbeReply::set_probe | ( | char | probe[MAX_PACKET] | ) |
PUBLIC METHOD
probe |
Definition at line 184 of file probereply.cpp.
void ProbeReply::set_scan_result | ( | int | result_scan | ) |
std::string ProbeReply::src_addr | ( | ) |
get source IP address in dotted notation
Definition at line 196 of file probereply.cpp.
uint32 ProbeReply::src_addr_raw | ( | ) |
get source IP address in number notation
Definition at line 206 of file probereply.cpp.
int ProbeReply::subcode | ( | ) |
if response probe is ICMP get ICMP code.
Definition at line 327 of file probereply.cpp.
char * ProbeReply::transport_probe | ( | ) |
get the response transport probe in raw
Definition at line 370 of file probereply.cpp.