patch-1.3.21 linux/net/netrom/af_netrom.c
Next file: linux/net/netrom/nr_dev.c
Previous file: linux/net/ipv4/udp.c
Back to the patch index
Back to the overall index
- Lines: 37
- Date:
Mon Aug 28 10:43:29 1995
- Orig file:
v1.3.20/linux/net/netrom/af_netrom.c
- Orig date:
Fri Aug 18 08:45:00 1995
diff -u --recursive --new-file v1.3.20/linux/net/netrom/af_netrom.c linux/net/netrom/af_netrom.c
@@ -36,6 +36,7 @@
#include <linux/string.h>
#include <linux/sockios.h>
#include <linux/net.h>
+#include <linux/stat.h>
#include <net/ax25.h>
#include <linux/inet.h>
#include <linux/netdevice.h>
@@ -53,7 +54,7 @@
#include <linux/proc_fs.h>
#include <net/ip.h>
#include <net/arp.h>
-
+#include <linux/if_arp.h>
#include <linux/proc_fs.h>
/************************************************************************\
@@ -1411,16 +1412,19 @@
proc_net_register(&(struct proc_dir_entry) {
PROC_NET_NR, 2, "nr",
S_IFREG | S_IRUGO, 1, 0, 0,
+ 0, &proc_net_inode_operations,
nr_get_info
});
proc_net_register(&(struct proc_dir_entry) {
PROC_NET_NR_NEIGH, 8, "nr_neigh",
S_IFREG | S_IRUGO, 1, 0, 0,
+ 0, &proc_net_inode_operations,
nr_neigh_get_info
});
proc_net_register(&(struct proc_dir_entry) {
PROC_NET_NR_NODES, 8, "nr_nodes",
S_IFREG | S_IRUGO, 1, 0, 0,
+ 0, &proc_net_inode_operations,
nr_nodes_get_info
});
}
FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected]
with Sam's (original) version of this