main/ipx_drv.c File Reference

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <sys/time.h>
#include "types.h"
#include "config.h"
#include "args.h"
#include "text.h"
#include "network.h"
#include "mono.h"
#include "ipx.h"
#include "ipx_drv.h"
#include "checker.h"

Classes

struct  user_address

Defines

#define MAX_IPX_DATA   576
#define MAX_USERS   64
#define MAX_NETWORKS   64

Functions

void ipx_close (void)
int ipx_general_PacketReady (int fd)
ubyteipx_get_my_server_address ()
ubyteipx_get_my_local_address ()
int ipx_init (int socket_number)
int ipx_set_driver (char *arg)
int ipx_get_packet_data (ubyte *data)
void ipx_send_packet_data (ubyte *data, int datasize, ubyte *network, ubyte *address, ubyte *immediate_address)
void ipx_get_local_target (ubyte *server, ubyte *node, ubyte *local_target)
void ipx_send_broadcast_packet_data (ubyte *data, int datasize)
void ipx_send_internetwork_packet_data (ubyte *data, int datasize, ubyte *server, ubyte *address)
int ipx_check_ready_to_join (ubyte *server, ubyte *node)
int ipx_change_default_socket (ushort socket_number)
void ipx_read_user_file (char *filename)
void ipx_read_network_file (char *filename)

Variables

ubyte broadcast_addr [] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }
ubyte null_addr [] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }
ubyte ipx_installed = 0
ubyte ipx_atexit_installed = 0
u_int32_t ipx_network = 0
ubyte ipx_MyAddress [10]
int ipx_packetnum = 0
int Ipx_num_users = 0
user_address Ipx_users [MAX_USERS]
int Ipx_num_networks = 0
uint Ipx_networks [MAX_NETWORKS]
ipx_driverdriver = NULL

Define Documentation

#define MAX_IPX_DATA   576
 

#define MAX_NETWORKS   64
 

#define MAX_USERS   64
 


Function Documentation

int ipx_change_default_socket ushort  socket_number  ) 
 

int ipx_check_ready_to_join ubyte server,
ubyte node
 

void ipx_close void   ) 
 

int ipx_general_PacketReady int  fd  ) 
 

void ipx_get_local_target ubyte server,
ubyte node,
ubyte local_target
 

ubyte* ipx_get_my_local_address  ) 
 

ubyte* ipx_get_my_server_address  ) 
 

int ipx_get_packet_data ubyte data  ) 
 

int ipx_init int  socket_number  ) 
 

void ipx_read_network_file char *  filename  ) 
 

void ipx_read_user_file char *  filename  ) 
 

void ipx_send_broadcast_packet_data ubyte data,
int  datasize
 

void ipx_send_internetwork_packet_data ubyte data,
int  datasize,
ubyte server,
ubyte address
 

void ipx_send_packet_data ubyte data,
int  datasize,
ubyte network,
ubyte address,
ubyte immediate_address
 

int ipx_set_driver char *  arg  ) 
 


Variable Documentation

ubyte broadcast_addr[] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }
 

struct ipx_driver* driver = NULL
 

ubyte ipx_atexit_installed = 0
 

ubyte ipx_installed = 0
 

ubyte ipx_MyAddress[10]
 

u_int32_t ipx_network = 0
 

uint Ipx_networks[MAX_NETWORKS]
 

int Ipx_num_networks = 0
 

int Ipx_num_users = 0
 

int ipx_packetnum = 0
 

user_address Ipx_users[MAX_USERS]
 

ubyte null_addr[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }
 


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