#include <sys/types.h>#include <sys/socket.h>#include <string.h>#include <linux/ipx.h>#include <netinet/in.h>#include <unistd.h>#include <errno.h>#include "ipx_drv.h"#include "ipx_bsd.h"#include "mono.h"Defines | |
| #define | IPX_TYPE 1 |
| #define | n_printf(format, args...) mprintf((1, format, ## args)) |
| #define | enter_priv_on() |
| #define | leave_priv_setting() |
Functions | |
| static int | ipx_bsd_GetMyAddress (void) |
| static int | ipx_bsd_OpenSocket (int port) |
| static void | ipx_bsd_CloseSocket (void) |
| static int | ipx_bsd_SendPacket (IPXPacket_t *IPXHeader, u_char *data, int dataLen) |
| static int | ipx_bsd_ReceivePacket (char *buffer, int bufsize, struct ipx_recv_data *rd) |
| static int | ipx_bsd_general_PacketReady (void) |
Variables | |
| static ipx_socket_t | mysock |
| ipx_driver | ipx_bsd |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
|
Initial value: {
ipx_bsd_OpenSocket,
ipx_bsd_CloseSocket,
ipx_bsd_SendPacket,
ipx_bsd_ReceivePacket,
ipx_bsd_general_PacketReady,
NULL,
1,
NULL,
NULL,
NULL
}
|
|
|
|
1.4.6