]> icculus.org git repositories - btb/d2x.git/blob - arch/linux/include/ipx_lin.h
da49c94116c36f35f652cd90fbcc548adc5b4eb3
[btb/d2x.git] / arch / linux / include / ipx_lin.h
1 /*
2  * $Source: /cvs/cvsroot/d2x/arch/linux/include/ipx_lin.h,v $
3  * $Revision: 1.3 $
4  * $Author: bradleyb $
5  * $Date: 2001-10-19 07:39:26 $
6  *
7  * FIXME: add description
8  *
9  * $Log: not supported by cvs2svn $
10  * Revision 1.2  2001/10/19 07:29:37  bradleyb
11  * Brought linux networking in line with d1x, moved some arch/linux_* stuff to arch/linux/
12  *
13  *
14  */
15
16 #ifndef IPX_LINUX_H_
17 #define IPX_LINUX_H_
18 #include <sys/types.h>
19 #include "ipx_hlpr.h"
20 int ipx_linux_GetMyAddress(void);
21 int ipx_linux_OpenSocket(ipx_socket_t *sk, int port);
22 void ipx_linux_CloseSocket(ipx_socket_t *mysock);
23 int ipx_linux_SendPacket(ipx_socket_t *mysock, IPXPacket_t *IPXHeader,
24  u_char *data, int dataLen);
25 int ipx_linux_ReceivePacket(ipx_socket_t *s, char *buffer, int bufsize,
26  struct ipx_recv_data *rd);
27
28 #endif