#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"
Go to the source code of this file.
Functions | |
int | setup_as (void) |
int | find_as (const char *dotted_quad) |
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 | ) |