1
2
3
4
5
6
7
8
9
10
11
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
22
23
24
25
26
27
28
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