Loading...
/* * Protocol initializer table. Here separately for convenience * */ #include <linux/config.h> #include <linux/types.h> #include <linux/kernel.h> #include <linux/net.h> #define CONFIG_UNIX /* always present... */ #ifdef CONFIG_UNIX #include "unix/unix.h" #endif #ifdef CONFIG_INET #include <linux/inet.h> #endif #ifdef CONFIG_IPX #include "inet/ipxcall.h" #include "inet/p8022call.h" #endif #ifdef CONFIG_AX25 #include "inet/ax25call.h" #endif /* * Protocol Table */ struct net_proto protocols[] = { #ifdef CONFIG_UNIX { "UNIX", unix_proto_init }, #endif #ifdef CONFIG_IPX { "IPX", ipx_proto_init }, { "802.2", p8022_proto_init }, #endif #ifdef CONFIG_AX25 { "AX.25", ax25_proto_init }, #endif #ifdef CONFIG_INET { "INET", inet_proto_init }, #endif { NULL, NULL } }; |