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> 13 #define CONFIG_UNIX/* always present... */ 16 #include <net/af_unix.h> 19 #include <linux/inet.h> 22 #include <net/ipxcall.h> 23 #include <net/p8022call.h> 26 #include <net/ax25call.h> 28 #include <net/nrcall.h> 33 #include <net/p8022call.h> 35 #include <net/atalkcall.h> 37 #include <net/psnapcall.h> 39 #include <linux/netdevice.h> 40 #include <linux/trdevice.h> 41 externvoidrif_init(struct net_proto
*); 47 struct net_proto protocols
[] = { 49 {"UNIX", unix_proto_init
},/* Unix domain socket family */ 51 #if defined(CONFIG_IPX)||defined(CONFIG_ATALK) 52 {"802.2", p8022_proto_init
},/* 802.2 demultiplexor */ 53 {"SNAP", snap_proto_init
},/* SNAP demultiplexor */ 56 {"RIF", rif_init
},/* RIF for Token ring */ 59 {"AX.25", ax25_proto_init
}, 61 {"NET/ROM", nr_proto_init
}, 65 {"INET", inet_proto_init
},/* TCP/IP */ 68 {"IPX", ipx_proto_init
},/* IPX */ 71 {"DDP", atalk_proto_init
},/* Netatalk Appletalk driver */ 73 { NULL
, NULL
}/* End marker */