tp_as.c File Reference

#include <sys/types.h>
#include <sys/time.h>
#include <sys/socket.h>
#include <netdb.h>
#include <arpa/inet.h>
#include <string.h>
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <assert.h>
#include "config.h"
#include "tp_as.h"

Include dependency graph for tp_as.c:

Go to the source code of this file.

Functions

int setup_as (void)
int find_as (const char *dotted_quad)


Function Documentation

int find_as ( const char *  dotted_quad  ) 

Try to look up the AS for an IPv4 (dotted quad) address; put it in as_string if found. Returns 0 iff succesful.

Definition at line 112 of file tp_as.c.

References as_string, recv_buf, and send_buf.

Referenced by report_classic(), and report_std().

int setup_as ( void   ) 

Initialisation function for AS lookups; returns 0 iff successful.

Definition at line 54 of file tp_as.c.

References as_string.

Referenced by main().


Generated on Wed Sep 16 11:08:43 2009 for traceproto by  doxygen 1.5.4