gateway_rpc.c File Reference

#include "gateway_rpc.h"
#include "gateway_prot.h"
#include <netdb.h>
#include <string.h>
#include <stdio.h>

Go to the source code of this file.

Functions

int lookup_host (const char *host, int port, struct sockaddr_in *addr)
CLIENT * get_connection (struct sockaddr_in *addr)
int do_null_op (CLIENT *c)
int test_node (const char *hostname, struct sockaddr_in *addr)

Variables

static const int DHT_PORT = 5852


Function Documentation

int do_null_op ( CLIENT *  c  ) 

Definition at line 72 of file gateway_rpc.c.

Referenced by test_node().

CLIENT* get_connection ( struct sockaddr_in *  addr  ) 

Definition at line 49 of file gateway_rpc.c.

Referenced by TcaRegistry::get_node(), and test_node().

int lookup_host ( const char *  host,
int  port,
struct sockaddr_in *  addr 
)

Definition at line 31 of file gateway_rpc.c.

Referenced by test_node().

int test_node ( const char *  hostname,
struct sockaddr_in *  addr 
)

Definition at line 83 of file gateway_rpc.c.

Referenced by TcaRegistry::init_addrs().


Variable Documentation

const int DHT_PORT = 5852 [static]

Definition at line 24 of file gateway_rpc.c.

Referenced by test_node().


Generated on Sat Sep 8 08:43:38 2007 for DTN Reference Implementation by  doxygen 1.5.3