/* Global constants */ /* ================ */ /* Uncomment to switch on debugging output */ /* #define DEBUG */ #define MAXWORDS 512 #define MAX_IP_SIZE 15 unsigned int rv_iptoint (char *); char* rv_inttoip (unsigned int, char *); int read_line (char *buf, unsigned int *src, unsigned int *dest, int* time, int *npoints, char *ipvec, char *aspath, GHashTable* asnums); int read_line_ip6 (char *buf, char **src, char **dest, int* time, int *npoints, char *ipvec, char *aspath, GHashTable* asnums); char *match_ip_as (GHashTable* asnums, char *ipstring, int ip6flag); /* returns ASnum(s) for specified IP address (ascii format) */