summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1994-12-01 08:00:00 +0000
committer <ralf@linux-mips.org>1994-12-01 08:00:00 +0000
commit90ecc248e200fee448001248dde0ca540dd3ef64 (patch)
treea3fe89494ce63b4835f0f9cf5c45e74cde88252b /net
parent1513ff9b7899ab588401c89db0e99903dbf5f886 (diff)
Import of Linux/MIPS 1.1.68
Diffstat (limited to 'net')
-rw-r--r--net/Makefile4
-rw-r--r--net/inet/ncp.h26
2 files changed, 28 insertions, 2 deletions
diff --git a/net/Makefile b/net/Makefile
index 388749bed..1b97fdf01 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -30,8 +30,8 @@ net.o: $(OBJS) network.a
network.a: subdirs
rm -f $@
- ar rc $@ $(SUBOBJS)
- ranlib $@
+ $(AR) rc $@ $(SUBOBJS)
+ $(RANLIB) $@
subdirs: dummy
set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i; done
diff --git a/net/inet/ncp.h b/net/inet/ncp.h
new file mode 100644
index 000000000..b12011c98
--- /dev/null
+++ b/net/inet/ncp.h
@@ -0,0 +1,26 @@
+/*
+ *
+ * Kernel support for NCP
+ *
+ * Mark Evans 1994
+ *
+ */
+
+#ifndef _NCP_H
+#define _NCP_H
+
+#include <linux/ncp.h>
+
+struct ncp_info
+{
+ unsigned short conn; /* connection number */
+ unsigned char seq; /* sequence number */
+ ipx_socket *ncp; /* ncp socket */
+ ipx_socket *watchdog; /* watchdog socket */
+ ipx_socket *mail; /* mail socket */
+};
+
+#define NCP_TIMEOUT (3*HZ)
+#define MAX_TIMEOUT 15
+
+#endif /* _NCP_H */