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

Linux Cross Reference
Linux/net/econet/sysctl_net_ec.c

Version: ~ [ 2.4.0 ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /*
  2  *      An implementation of the Acorn Econet and AUN protocols.
  3  *      Philip Blundell <philb@gnu.org>
  4  *
  5  *      Fixes:
  6  *
  7  *      This program is free software; you can redistribute it and/or
  8  *      modify it under the terms of the GNU General Public License
  9  *      as published by the Free Software Foundation; either version
 10  *      2 of the License, or (at your option) any later version.
 11  *
 12  */
 13 
 14 #include <linux/mm.h>
 15 #include <linux/sysctl.h>
 16 
 17 ctl_table econet_table[] = {
 18         {0}
 19 };
 20 
 21 static struct ctl_table_header *econet_sysctl_header;
 22 
 23 static ctl_table econet_net_table[] = {
 24         {NET_ECONET, "econet", NULL, 0, 0555, econet_table},
 25         {0}
 26 };
 27 
 28 static ctl_table econet_root_table[] = {
 29         {CTL_NET, "net", NULL, 0, 0555, econet_net_table},
 30         {0}
 31 };
 32 
 33 void econet_sysctl_register(void)
 34 {
 35         econet_sysctl_header = register_sysctl_table(econet_root_table, 0);
 36 }
 37 
 38 #ifdef MODULE
 39 void econet_sysctl_unregister(void)
 40 {
 41         unregister_sysctl_table(econet_sysctl_header);
 42 }
 43 #endif  /* MODULE */
 44 

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

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.