1
2
3
4
5
6
7
8
9
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
18
19
20
21
22
23
24
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