1
2
3
4
5
6
7 #include <linux/config.h>
8 #include <linux/types.h>
9 #include <linux/kernel.h>
10 #include <linux/net.h>
11
12
13 #define CONFIG_UNIX
14
15 #ifdef CONFIG_UNIX
16 #include "unix/unix.h"
17 #endif
18 #ifdef CONFIG_INET
19 #include <linux/inet.h>
20 #endif
21 #ifdef CONFIG_IPX
22 #include "inet/ipxcall.h"
23 #include "inet/p8022call.h"
24 #endif
25 #ifdef CONFIG_AX25
26 #include "inet/ax25call.h"
27 #endif
28
29
30
31
32
33 struct net_proto protocols[] = {
34 #ifdef CONFIG_UNIX
35 { "UNIX", unix_proto_init },
36 #endif
37 #ifdef CONFIG_IPX
38 { "IPX", ipx_proto_init },
39 { "802.2", p8022_proto_init },
40 #endif
41 #ifdef CONFIG_AX25
42 { "AX.25", ax25_proto_init },
43 #endif
44 #ifdef CONFIG_INET
45 { "INET", inet_proto_init },
46 #endif
47 { NULL, NULL }
48 };
49
50