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

TOMOYO Linux Cross Reference
Linux/net/appletalk/sysctl_net_atalk.c

Version: ~ [ linux-5.10-rc5 ] ~ [ linux-5.9.10 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.79 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.159 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.208 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.245 ] ~ [ linux-4.8.17 ] ~ [ linux-4.7.10 ] ~ [ linux-4.6.7 ] ~ [ linux-4.5.7 ] ~ [ linux-4.4.245 ] ~ [ linux-4.3.6 ] ~ [ linux-4.2.8 ] ~ [ linux-4.1.52 ] ~ [ linux-4.0.9 ] ~ [ linux-3.19.8 ] ~ [ linux-3.18.140 ] ~ [ linux-3.17.8 ] ~ [ linux-3.16.85 ] ~ [ linux-3.15.10 ] ~ [ linux-3.14.79 ] ~ [ linux-3.13.11 ] ~ [ linux-3.12.74 ] ~ [ linux-3.11.10 ] ~ [ 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.5 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /*
  2  * sysctl_net_atalk.c: sysctl interface to net AppleTalk subsystem.
  3  *
  4  * Begun April 1, 1996, Mike Shaver.
  5  * Added /proc/sys/net/atalk directory entry (empty =) ). [MS]
  6  * Dynamic registration, added aarp entries. (5/30/97 Chris Horn)
  7  */
  8 
  9 #include <linux/sysctl.h>
 10 #include <net/sock.h>
 11 #include <linux/atalk.h>
 12 
 13 static struct ctl_table atalk_table[] = {
 14         {
 15                 .procname       = "aarp-expiry-time",
 16                 .data           = &sysctl_aarp_expiry_time,
 17                 .maxlen         = sizeof(int),
 18                 .mode           = 0644,
 19                 .proc_handler   = proc_dointvec_jiffies,
 20         },
 21         {
 22                 .procname       = "aarp-tick-time",
 23                 .data           = &sysctl_aarp_tick_time,
 24                 .maxlen         = sizeof(int),
 25                 .mode           = 0644,
 26                 .proc_handler   = proc_dointvec_jiffies,
 27         },
 28         {
 29                 .procname       = "aarp-retransmit-limit",
 30                 .data           = &sysctl_aarp_retransmit_limit,
 31                 .maxlen         = sizeof(int),
 32                 .mode           = 0644,
 33                 .proc_handler   = proc_dointvec,
 34         },
 35         {
 36                 .procname       = "aarp-resolve-time",
 37                 .data           = &sysctl_aarp_resolve_time,
 38                 .maxlen         = sizeof(int),
 39                 .mode           = 0644,
 40                 .proc_handler   = proc_dointvec_jiffies,
 41         },
 42         { },
 43 };
 44 
 45 static struct ctl_table_header *atalk_table_header;
 46 
 47 void atalk_register_sysctl(void)
 48 {
 49         atalk_table_header = register_net_sysctl(&init_net, "net/appletalk", atalk_table);
 50 }
 51 
 52 void atalk_unregister_sysctl(void)
 53 {
 54         unregister_net_sysctl_table(atalk_table_header);
 55 }
 56 

~ [ 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