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