]> icculus.org git repositories - btb/d2x.git/blob - arch/linux/linuxnet.c
OS X stuff
[btb/d2x.git] / arch / linux / linuxnet.c
1 /*
2  * $Source: /cvs/cvsroot/d2x/arch/linux/linuxnet.c,v $
3  * $Revision: 1.5 $
4  * $Author: bradleyb $
5  * $Date: 2001-10-19 07:39:26 $
6  *
7  * Linux net
8  *
9  * $Log: not supported by cvs2svn $
10  * Revision 1.4  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  * Revision 1.3  2001/01/29 13:35:09  bradleyb
14  * Fixed build system, minor fixes
15  *
16  */
17
18 #ifdef HAVE_CONFIG_H
19 #include <conf.h>
20 #endif
21
22 #include "pstypes.h"
23
24 #include "ipx_drv.h"
25 #include "ipx_bsd.h"
26 #include "ipx_kali.h"
27 #include "ipx_udp.h"
28
29 #include <string.h>
30
31 struct ipx_driver * arch_ipx_set_driver(char *arg)
32 {
33         if (strcmp(arg,"kali")==0){
34                 return &ipx_kali;
35 #if 0
36         }else if (strcmp(arg,"udp")==0){
37                 return &ipx_udp;
38 #endif
39         }else {
40                 return &ipx_bsd;
41         }
42 }