Go to the source code of this file.
#define FILTERSIZE 150 |
#define LINUX_OFFSET 2 |
#define NO_PROMISC 0 |
#define SNAPLEN 2048 |
#define TP_BUF_SIZE 1024 |
Definition at line 23 of file traceproto.h.
#define TP_DONT_FRAG 0x4000 |
#define TP_IF_ARRAY 10 |
#define TP_TIMESTAMP_LEN 22 |
#define TRACEPROTO_H 1 |
Definition at line 21 of file traceproto.h.
enum accounting |
Definition at line 44 of file traceproto.h.
enum bool |
enum output |
TP_GRAPHIC_OUTPUT | |
TP_CLASSIC_OUTPUT | |
TP_MIN_OUTPUT | |
TP_SCRIPT_OUTPUT | |
TP_CURSES_OUTPUT | |
TP_STD_OUTPUT | |
TP_NO_OUTPUT |
Definition at line 50 of file traceproto.h.
enum output_items |
Definition at line 60 of file traceproto.h.
enum packet_numbers |
Definition at line 68 of file traceproto.h.
enum packet_track |
Definition at line 32 of file traceproto.h.
enum tp_tstamps |
Definition at line 91 of file traceproto.h.
unsigned int account_hops |
Definition at line 168 of file traceproto.h.
int account_level |
Definition at line 134 of file traceproto.h.
unsigned int as_discovery |
Definition at line 116 of file traceproto.h.
unsigned int as_lookup |
Definition at line 220 of file traceproto.h.
double ave_time |
Definition at line 174 of file traceproto.h.
struct { ... } behavior |
unsigned char* capture_buf |
Definition at line 205 of file traceproto.h.
unsigned int continuous |
Definition at line 110 of file traceproto.h.
unsigned int continuous_accounting |
Definition at line 111 of file traceproto.h.
int continuous_count |
Definition at line 179 of file traceproto.h.
int current_hop |
Definition at line 187 of file traceproto.h.
struct { ... } debug |
Referenced by do_filter(), freelist_cleaner(), main(), make_timestamp(), parse_debug(), parse_packet(), and tp_align().
unsigned int default_if |
Definition at line 117 of file traceproto.h.
int distance |
Definition at line 170 of file traceproto.h.
unsigned int do_audit |
Definition at line 114 of file traceproto.h.
unsigned int do_audit_exit |
Definition at line 113 of file traceproto.h.
unsigned int do_skip |
Definition at line 112 of file traceproto.h.
int dst_port |
Definition at line 154 of file traceproto.h.
int dst_port_incr |
Definition at line 128 of file traceproto.h.
struct timeval end_time |
Definition at line 191 of file traceproto.h.
char* error_buff[LIBNET_ERRBUF_SIZE] |
Definition at line 186 of file traceproto.h.
struct { ... } fake_pcap * fake_psocket |
int fd |
Definition at line 201 of file traceproto.h.
char const* filter_text |
Definition at line 147 of file traceproto.h.
unsigned short frag_bit |
Definition at line 162 of file traceproto.h.
struct addrinfo hint |
Definition at line 150 of file traceproto.h.
int hop_changes |
Definition at line 177 of file traceproto.h.
int hop_incr_unit |
Definition at line 146 of file traceproto.h.
struct { ... } hop_record * hop_record |
Referenced by main().
libnet_ptag_t icmp_h |
Definition at line 183 of file traceproto.h.
unsigned int incr_error |
Definition at line 209 of file traceproto.h.
unsigned int interface |
Definition at line 132 of file traceproto.h.
libnet_ptag_t ip_h |
Definition at line 184 of file traceproto.h.
struct libnet_ipv4_hdr* ip_hdr |
Definition at line 207 of file traceproto.h.
unsigned short ip_id |
Definition at line 163 of file traceproto.h.
unsigned short ip_packet_len |
Definition at line 157 of file traceproto.h.
Definition at line 145 of file traceproto.h.
unsigned int loop |
Definition at line 214 of file traceproto.h.
int lost_packets |
Definition at line 176 of file traceproto.h.
unsigned int low_ttl |
Definition at line 208 of file traceproto.h.
int max_dst_port |
Definition at line 126 of file traceproto.h.
int max_src_port |
Definition at line 124 of file traceproto.h.
double max_time |
Definition at line 172 of file traceproto.h.
int max_ttl |
Definition at line 121 of file traceproto.h.
double median_time |
Definition at line 173 of file traceproto.h.
unsigned int memory |
Definition at line 221 of file traceproto.h.
int min_dst_port |
Definition at line 125 of file traceproto.h.
int min_src_port |
Definition at line 123 of file traceproto.h.
double min_time |
Definition at line 171 of file traceproto.h.
int min_ttl |
Definition at line 122 of file traceproto.h.
int num_packets |
Definition at line 175 of file traceproto.h.
int output_style |
Definition at line 138 of file traceproto.h.
long packed_src |
Definition at line 161 of file traceproto.h.
long packed_target |
Definition at line 160 of file traceproto.h.
struct hostent* packed_target_reverse |
Definition at line 143 of file traceproto.h.
libnet_t* packet |
Definition at line 180 of file traceproto.h.
Referenced by build_packet(), do_filter(), main(), parse_icmp_packet(), report_std(), send_tcp_reset(), and tixe().
unsigned int packet_length |
Definition at line 218 of file traceproto.h.
int packet_match |
Definition at line 189 of file traceproto.h.
struct timeval packet_wait |
Definition at line 192 of file traceproto.h.
unsigned int packets_per_hop |
Definition at line 120 of file traceproto.h.
unsigned int packets_this_hop |
Definition at line 188 of file traceproto.h.
unsigned char* payload |
Definition at line 158 of file traceproto.h.
unsigned int payload_size |
Definition at line 139 of file traceproto.h.
char pc_error[PCAP_ERRBUF_SIZE] |
Definition at line 185 of file traceproto.h.
char* prog |
Definition at line 167 of file traceproto.h.
char const* protocol |
Definition at line 131 of file traceproto.h.
int protocol_number |
Definition at line 156 of file traceproto.h.
struct pcap_pkthdr psock_hdr |
Definition at line 206 of file traceproto.h.
pcap_t* psocket |
Definition at line 194 of file traceproto.h.
unsigned int recv_buf |
void( * report)(int, struct in_addr *, int) |
unsigned int rndm_src_port |
Definition at line 119 of file traceproto.h.
unsigned int send_buf |
char* skip_str |
Definition at line 136 of file traceproto.h.
int* skips |
Definition at line 137 of file traceproto.h.
int src_port |
Definition at line 155 of file traceproto.h.
int src_port_incr |
Definition at line 127 of file traceproto.h.
struct timeval start_time |
Definition at line 190 of file traceproto.h.
struct { ... } state |
char* target |
Definition at line 140 of file traceproto.h.
struct addrinfo* target_addrinfo |
Definition at line 142 of file traceproto.h.
struct addrinfo* target_addrinfo_list_start |
Definition at line 141 of file traceproto.h.
unsigned int target_response |
Definition at line 210 of file traceproto.h.
char* target_reverse |
Definition at line 144 of file traceproto.h.
unsigned char tcp_flags |
Definition at line 159 of file traceproto.h.
libnet_ptag_t tcp_h |
Definition at line 181 of file traceproto.h.
unsigned int tcp_resets |
Definition at line 115 of file traceproto.h.
unsigned int timestamp |
Definition at line 118 of file traceproto.h.
char timestamp_str[TP_TIMESTAMP_LEN] |
Definition at line 148 of file traceproto.h.
char timestamp_style |
Definition at line 149 of file traceproto.h.
struct tp_align_ref tp_align_freelist |
Referenced by freelist_cleaner(), main(), parse_packet(), and tp_align().
double trip_time |
Definition at line 193 of file traceproto.h.
libnet_ptag_t udp_h |
Definition at line 182 of file traceproto.h.
char unused[1024] |
Definition at line 202 of file traceproto.h.
Definition at line 130 of file traceproto.h.
int wait_timeout |
Definition at line 129 of file traceproto.h.
fd_set wheel |
Definition at line 204 of file traceproto.h.