patch-1.3.19 linux/net/ipx/af_ipx.c
Next file: linux/net/netrom/Makefile
Previous file: linux/net/ipx/Makefile
Back to the patch index
Back to the overall index
- Lines: 31
- Date:
Tue Aug 15 14:45:20 1995
- Orig file:
v1.3.18/linux/net/ipx/af_ipx.c
- Orig date:
Sun Aug 13 14:45:36 1995
diff -u --recursive --new-file v1.3.18/linux/net/ipx/af_ipx.c linux/net/ipx/af_ipx.c
@@ -1969,12 +1969,24 @@
register_netdevice_notifier(&ipx_dev_notifier);
-proc_net_register(&(struct proc_dir_entry)
- { PROC_NET_IPX, 3, "ipx", ipx_get_info });
-proc_net_register(&(struct proc_dir_entry)
- { PROC_NET_IPX_INTERFACE, 13, "ipx_interface", ipx_interface_get_info });
-proc_net_register(&(struct proc_dir_entry)
- { PROC_NET_IPX_ROUTE, 9, "ipx_route", ipx_rt_get_info });
+ proc_net_register(&(struct proc_dir_entry) {
+ PROC_NET_IPX, 3, "ipx",
+ S_IFREG | S_IRUGO, 1, 0, 0,
+ 0, &proc_net_inode_operations,
+ ipx_get_info
+ });
+ proc_net_register(&(struct proc_dir_entry) {
+ PROC_NET_IPX_INTERFACE, 13, "ipx_interface",
+ S_IFREG | S_IRUGO, 1, 0, 0,
+ 0, &proc_net_inode_operations,
+ ipx_interface_get_info
+ });
+ proc_net_register(&(struct proc_dir_entry) {
+ PROC_NET_IPX_ROUTE, 9, "ipx_route",
+ S_IFREG | S_IRUGO, 1, 0, 0,
+ 0, &proc_net_inode_operations,
+ ipx_rt_get_info
+ });
printk("Swansea University Computer Society IPX 0.31 for NET3.030\n");
printk("IPX Portions Copyright (c) 1995 Caldera, Inc.\n");
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this