2 * Protocol initializer table. Here separately for convenience
7 #include <linux/config.h>
8 #include <linux/types.h>
9 #include <linux/kernel.h>
10 #include <linux/net.h>
15 #include <net/af_unix.h>
19 #include <linux/inet.h>
21 extern void inet6_proto_init(struct net_proto
*pro
);
26 extern void econet_proto_init(struct net_proto
*pro
);
30 extern void netlink_proto_init(struct net_proto
*pro
);
34 extern void packet_proto_init(struct net_proto
*pro
);
37 #if defined(CONFIG_IPX) || defined(CONFIG_IPX_MODULE)
39 #include <net/ipxcall.h>
43 #include <net/x25call.h>
47 #include <net/lapbcall.h>
51 #include <net/ax25call.h>
53 #include <net/nrcall.h>
56 #include <net/rosecall.h>
61 #include <net/irda/irdacall.h>
64 #if defined(CONFIG_DECNET)
65 #include <net/decnet_call.h>
68 #if defined(CONFIG_ATALK) || defined(CONFIG_ATALK_MODULE)
70 #include <net/atalkcall.h>
73 #if defined(CONFIG_NETBEUI)
75 #include <net/netbeuicall.h>
78 #if defined(CONFIG_LLC)
82 #include <net/psnapcall.h>
85 #include <linux/netdevice.h>
86 #include <linux/trdevice.h>
87 extern void rif_init(struct net_proto
*);
92 #include <net/llccall.h>
96 #include <net/p8022call.h>
103 struct net_proto protocols
[] = {
104 #ifdef CONFIG_NETLINK
105 { "NETLINK", netlink_proto_init
},
109 { "PACKET", packet_proto_init
},
113 { "UNIX", unix_proto_init
}, /* Unix domain socket family */
117 { "802.2", p8022_proto_init
}, /* 802.2 demultiplexor */
118 { "SNAP", snap_proto_init
}, /* SNAP demultiplexor */
122 { "RIF", rif_init
}, /* RIF for Token ring */
126 { "802.2LLC", llc_init
}, /* 802.2 LLC */
130 { "AX.25", ax25_proto_init
}, /* Amateur Radio AX.25 */
132 { "NET/ROM", nr_proto_init
}, /* Amateur Radio NET/ROM */
135 { "Rose", rose_proto_init
}, /* Amateur Radio X.25 PLP */
139 { "DECnet", decnet_proto_init
}, /* DECnet */
142 { "INET", inet_proto_init
}, /* TCP/IP */
144 { "INET6", inet6_proto_init
}, /* IPv6 */
149 { "IPX", ipx_proto_init
}, /* IPX */
153 { "DDP", atalk_proto_init
}, /* Netatalk Appletalk driver */
157 { "LAPB", lapb_proto_init
}, /* LAPB protocols */
161 { "X.25", x25_proto_init
}, /* CCITT X.25 Packet Layer */
165 { "Econet", econet_proto_init
}, /* Acorn Econet */
169 { "IrDA", irda_proto_init
}, /* IrDA protocols */
172 { NULL
, NULL
} /* End marker */