patch-2.3.51 linux/include/linux/if_ec.h

Next file: linux/include/linux/interrupt.h
Previous file: linux/include/linux/ide.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.50/linux/include/linux/if_ec.h linux/include/linux/if_ec.h
@@ -34,6 +34,19 @@
 
 #ifdef __KERNEL__
 
+#define EC_HLEN				6
+
+/* This is what an Econet frame looks like on the wire. */
+struct ec_framehdr 
+{
+  unsigned char dst_stn;
+  unsigned char dst_net;
+  unsigned char src_stn;
+  unsigned char src_net;
+  unsigned char cb;
+  unsigned char port;
+};
+
 struct econet_opt
 {
   unsigned char cb;
@@ -41,6 +54,14 @@
   unsigned char station;
   unsigned char net;
 };
+
+struct ec_device
+{
+  unsigned char station, net;		/* Econet protocol address */
+};
+
+extern struct sock *ec_listening_socket(unsigned char port, unsigned char
+				 station, unsigned char net);
 
 #endif
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)