root/net/Space.c

/* [previous][next][first][last][top][bottom][index][help] */
   1 /*
   2  * Space.c      Defines which protocol modules and I/O device drivers get
   3  *              linked into the LINUX kernel.  Currently, this is only used
   4  *              by the NET layer of LINUX, but it eventually might move to
   5  *              an upper directory of the system.
   6  *
   7  * Version:     @(#)Space.c     1.0.2   04/22/93
   8  *
   9  * Author:      Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
  10  */
  11 #include <linux/config.h>
  12 #include <linux/types.h>
  13 #include <linux/kernel.h>
  14 #include <linux/ddi.h>
  15 
  16 
  17 #define CONFIG_UNIX             YES             /* always present...    */
  18 
  19 
  20 /*
  21  * Section A:   Networking Protocol Handlers.
  22  *              This section defines which networking protocols get
  23  *              linked into the SOCKET layer of the Linux kernel.
  24  *              Currently, these are AF_UNIX (always) and AF_INET.
  25  */
  26 #ifdef  CONFIG_UNIX
  27 #  include "unix/unix.h"
  28 #endif
  29 #ifdef  CONFIG_INET
  30 #  include "inet/inet.h"
  31 #endif
  32 #ifdef CONFIG_IPX
  33 #include "ipx/ipxcall.h"
  34 #endif
  35 #ifdef CONFIG_AX25
  36 #include "ax25/ax25call.h"
  37 #endif
  38 
  39 struct ddi_proto protocols[] = {
  40 #ifdef  CONFIG_UNIX
  41   { "UNIX",     unix_proto_init },
  42 #endif
  43 #ifdef  CONFIG_IPX
  44   { "IPX",      ipx_proto_init },
  45 #endif
  46 #ifdef CONFIG_AX25  
  47   { "AX.25",    ax25_proto_init },
  48 #endif  
  49 #ifdef  CONFIG_INET
  50   { "INET",     inet_proto_init },
  51 #endif
  52   { NULL,       NULL            }
  53 };
  54 
  55 

/* [previous][next][first][last][top][bottom][index][help] */