Go to the documentation of this file.
35 #include <netinet/in.h>
36 #include <netinet/ip.h>
37 #include <netinet/ip_icmp.h>
38 #include <netinet/udp.h>
39 #include <netinet/tcp.h>
41 #define MAX_PACKET 1500
54 #define NO_RESPONSE -1
57 #define TCP_RST_FLAG 60;
58 #define TCP_SYN_ACK 61;
59 #define TCP_UNKNOWN 62;
65 #if __BYTE_ORDER == __LITTLE_ENDIAN
70 # elif __BYTE_ORDER == __BIG_ENDIAN
105 struct iphdr* _ip_buf;
106 struct icmp * _icmp_buf;
107 struct iphdr* _iperror_buf;
108 struct tcphdr* _tcp_buf;
114 void _dissect_icmp(
int offset);
115 void _dissect_iperror(
int offset);
116 void _dissect_tcp(
int offset);
118 void _set_dst_addr();
160 #endif // PROBEREPLY_H