2
* Copyright (c) 2007-2008 University of Washington
4
* All rights reserved. For information, contact the Adeona research
5
* team at adeona@cs.washington.edu
7
* See the file License.txt included in this distribution for details.
10
#ifndef _TRACEROUTE_H_
11
#define _TRACEROUTE_H_
13
#include <netinet/in.h>
16
#define TR_HOP_LIMIT_STR "20"
17
#define TR_HOP_LIMIT 20
33
typedef struct _probe_t
35
struct in_addr target;
36
hop_t hops[TR_HOP_LIMIT];
39
#define TR_DATA_UPPERBOUND \
40
( TR_NPROBES * ( sizeof( probe_t ) ) )
42
int get_traceroutes( uchar** data OUT, int* len OUT );
44
int print_traceroutes( FILE* file, uchar* data IN, int len IN, trpstyle_t style IN );
46
#endif // _TRACEROUTE_H_