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  *      Please see the comments in ddi.c - Alan
  12  * 
  13  */
  14  
  15 #include <linux/config.h>
  16 #include <linux/types.h>
  17 #include <linux/kernel.h>
  18 #include <linux/ddi.h>
  19 
  20 
  21 #define CONFIG_UNIX             YES             /* always present...    */
  22 
  23 
  24 /*
  25  * Section A:   Networking Protocol Handlers.
  26  *              This section defines which networking protocols get
  27  *              linked into the SOCKET layer of the Linux kernel.
  28  *              Currently, these are AF_UNIX (always) and AF_INET.
  29  */
  30 #ifdef  CONFIG_UNIX
  31 #  include "unix/unix.h"
  32 #endif
  33 #ifdef  CONFIG_INET
  34 #  include <linux/inet.h>
  35 #endif
  36 #ifdef CONFIG_IPX
  37 #include "inet/ipxcall.h"
  38 #endif
  39 #ifdef CONFIG_AX25
  40 #include "inet/ax25call.h"
  41 #endif
  42 
  43 struct ddi_proto protocols[] = {
  44 #ifdef  CONFIG_UNIX
  45   { "UNIX",     unix_proto_init },
  46 #endif
  47 #ifdef  CONFIG_IPX
  48   { "IPX",      ipx_proto_init },
  49 #endif
  50 #ifdef CONFIG_AX25  
  51   { "AX.25",    ax25_proto_init },
  52 #endif  
  53 #ifdef  CONFIG_INET
  54   { "INET",     inet_proto_init },
  55 #endif
  56   { NULL,       NULL            }
  57 };
  58 
  59 

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