~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/net/ipx/sysctl_net_ipx.c

Version: ~ [ linux-6.4-rc3 ] ~ [ linux-6.3.4 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.30 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.113 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.180 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.243 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.283 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.315 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /* -*- linux-c -*-
  2  * sysctl_net_ipx.c: sysctl interface to net IPX subsystem.
  3  *
  4  * Begun April 1, 1996, Mike Shaver.
  5  * Added /proc/sys/net/ipx directory entry (empty =) ). [MS]
  6  * Added /proc/sys/net/ipx/ipx_pprop_broadcasting - acme March 4, 2001
  7  */
  8 
  9 #include <linux/config.h>
 10 #include <linux/mm.h>
 11 #include <linux/sysctl.h>
 12 
 13 #ifndef CONFIG_SYSCTL
 14 #error This file should not be compiled without CONFIG_SYSCTL defined
 15 #endif
 16 
 17 /* From af_ipx.c */
 18 extern int sysctl_ipx_pprop_broadcasting;
 19 
 20 ctl_table ipx_table[] = {
 21         { NET_IPX_PPROP_BROADCASTING, "ipx_pprop_broadcasting",
 22           &sysctl_ipx_pprop_broadcasting, sizeof(int), 0644, NULL,
 23           &proc_dointvec },
 24         { 0 }
 25 };
 26 
 27 static ctl_table ipx_dir_table[] = {
 28         { NET_IPX, "ipx", NULL, 0, 0555, ipx_table },
 29         { 0 }
 30 };
 31 
 32 static ctl_table ipx_root_table[] = {
 33         { CTL_NET, "net", NULL, 0, 0555, ipx_dir_table },
 34         { 0 }
 35 };
 36 
 37 static struct ctl_table_header *ipx_table_header;
 38 
 39 void ipx_register_sysctl(void)
 40 {
 41         ipx_table_header = register_sysctl_table(ipx_root_table, 1);
 42 }
 43 
 44 void ipx_unregister_sysctl(void)
 45 {
 46         unregister_sysctl_table(ipx_table_header);
 47 }
 48 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | Wiki (Japanese) | Wiki (English) | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

osdn.jp