summaryrefslogtreecommitdiffstats
path: root/include/linux/ipx.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/ipx.h')
-rw-r--r--include/linux/ipx.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/include/linux/ipx.h b/include/linux/ipx.h
new file mode 100644
index 000000000..1b4b882c1
--- /dev/null
+++ b/include/linux/ipx.h
@@ -0,0 +1,30 @@
+#ifndef _IPX_H_
+#define _IPX_H_
+
+struct sockaddr_ipx
+{
+ short sipx_family;
+ unsigned long sipx_network;
+ unsigned char sipx_node[6];
+ short sipx_port;
+ unsigned char sipx_type;
+};
+
+struct ipx_route_def
+{
+ unsigned long ipx_network;
+ unsigned long ipx_router_network;
+#define IPX_ROUTE_NO_ROUTER 0
+ unsigned char ipx_router_node[6];
+ unsigned char ipx_device[16];
+ unsigned short ipx_flags;
+#define IPX_RT_SNAP 8
+#define IPX_RT_8022 4
+#define IPX_RT_BLUEBOOK 2
+#define IPX_RT_ROUTED 1
+};
+
+#define IPX_MTU 576
+
+#endif
+