File: arpd-1.0.2.kernel.patch

package info (click to toggle)
arpd 1.0.2-7
  • links: PTS
  • area: main
  • in suites: potato
  • size: 92 kB
  • ctags: 27
  • sloc: ansic: 253; sh: 68; makefile: 60
file content (65 lines) | stat: -rw-r--r-- 2,038 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
--- linux-2.0.0.orig/include/linux/if_arp.h	Fri May 31 06:46:27 1996
+++ linux/include/linux/if_arp.h	Thu Jun 20 14:42:36 1996
@@ -22,6 +22,7 @@
 #ifndef _LINUX_IF_ARP_H
 #define _LINUX_IF_ARP_H
 
+#include <linux/netdevice.h>
 
 /* ARP protocol HARDWARE identifiers. */
 #define ARPHRD_NETROM	0		/* from KA9Q: NET/ROM pseudo	*/
@@ -112,6 +113,12 @@
 #define ARPD_UPDATE	0x01
 #define ARPD_LOOKUP	0x02
 #define ARPD_FLUSH	0x03
+
+#ifndef MAX_ADDR_LEN
+#define MAX_ADDR_LEN    10
+#endif
+
+
 
 struct arpd_request
 {
--- linux-2.0.0.orig/include/linux/kerneld.h	Sat May 11 03:35:04 1996
+++ linux/include/linux/kerneld.h	Thu Jun 20 14:42:36 1996
@@ -8,7 +8,6 @@
 #define KERNELD_CANCEL_RELEASE_MODULE 5 /* "rmmod" */
 #define KERNELD_REQUEST_ROUTE 6 /* from net/ipv4/route.c */
 #define KERNELD_BLANKER 7 /* from drivers/char/console.c */
-#define KERNELD_ARP 256 /* from net/ipv4/arp.c */
 
 /*
  * Uncomment the following line for the new kerneld protocol
--- linux-2.0.0.orig/include/linux/interrupt.h	Thu Jun  6 05:59:42 1996
+++ linux/include/linux/interrupt.h	Thu Jun 20 14:42:36 1996
@@ -4,6 +4,7 @@
 
 #include <linux/kernel.h>
 #include <asm/bitops.h>
+#include <linux/personality.h>
 
 struct irqaction {
 	void (*handler)(int, void *, struct pt_regs *);
--- linux-2.0.0.orig/net/ipv4/arp.c	Wed Jun  5 07:42:27 1996
+++ linux/net/ipv4/arp.c	Thu Jun 20 14:42:36 1996
@@ -55,8 +55,7 @@
  *		Eckes		:	ARP ioctl control errors.
  *		Alexey Kuznetsov:	Arp free fix.
  *		Manuel Rodriguez:	Gratuitous ARP.
- *              Jonathan Layes  :       Added arpd support through kerneld 
- *                                      message queue (960314)
+ *              Jonathan Layes  :       arpd support
  *		Mike Shaver	:	/proc/sys/net/ipv4/arp_* support
  */
 
--- linux-2.0.0.orig/MAINTAINERS	Sun Jun  9 05:47:01 1996
+++ linux/MAINTAINERS	Thu Jun 20 14:42:36 1996
@@ -212,6 +212,7 @@
 ARPD SUPPORT
 P:	Jonathan Layes
 M:	layes@loran.com
+W:	http://www.loran.com/~layes/arpd/index.html
 L:	linux-net@vger.rutgers.edu
 S:	Maintained