main/ip_base.cpp File Reference

#include "timer.h"
#include "mono.h"
#include "args.h"
#include <string.h>
#include "ip_base.h"
#include <assert.h>

Classes

struct  do_find_by_addr
struct  pairkiller< ret, p1, p2, fo >
struct  do_peer_handshake
struct  do_peer_delete

Functions

template<class p1, class fo>
pairkiller< typename fo::result_type,
p1, typename fo::argument_type,
fo > 
pairkill (fo *no)
int ip_sendtoid (ubyte *id, const void *buf, int len)
void ip_receive_cfg (ubyte *buf, int buflen, ip_addr fromaddr)
int ipx_ip_GetMyAddress (void)
unsigned short ip_portshift (unsigned short baseport, const char *cs)

Variables

int myport = -1
int baseport = UDP_BASEPORT
ip_addr_list ip_my_addrs
ip_peer_list peer_list

Function Documentation

unsigned short ip_portshift unsigned short  baseport,
const char *  cs
 

void ip_receive_cfg ubyte buf,
int  buflen,
ip_addr  fromaddr
 

int ip_sendtoid ubyte id,
const void *  buf,
int  len
 

int ipx_ip_GetMyAddress void   ) 
 

template<class p1, class fo>
pairkiller<typename fo::result_type,p1,typename fo::argument_type,fo> pairkill fo *  no  ) 
 


Variable Documentation

int baseport = UDP_BASEPORT
 

ip_addr_list ip_my_addrs
 

int myport = -1
 

ip_peer_list peer_list
 


Generated on Mon Aug 28 20:55:33 2006 for D1X-Rebirth by  doxygen 1.4.6