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

Linux Cross Reference
Linux/net/ipv6/sysctl_net_ipv6.c

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

  1 /*
  2  * sysctl_net_ipv6.c: sysctl interface to net IPV6 subsystem.
  3  */
  4 
  5 #include <linux/mm.h>
  6 #include <linux/sysctl.h>
  7 #include <linux/config.h>
  8 #include <linux/in6.h>
  9 #include <linux/ipv6.h>
 10 #include <net/ndisc.h>
 11 #include <net/ipv6.h>
 12 #include <net/addrconf.h>
 13 
 14 extern ctl_table ipv6_route_table[];
 15 
 16 #ifdef CONFIG_SYSCTL
 17 
 18 ctl_table ipv6_table[] = {
 19         {NET_IPV6_ROUTE, "route", NULL, 0, 0555, ipv6_route_table},
 20         {0}
 21 };
 22 
 23 #ifdef MODULE
 24 static struct ctl_table_header *ipv6_sysctl_header;
 25 static struct ctl_table ipv6_root_table[];
 26 static struct ctl_table ipv6_net_table[];
 27 
 28 
 29 ctl_table ipv6_root_table[] = {
 30         {CTL_NET, "net", NULL, 0, 0555, ipv6_net_table},
 31         {0}
 32 };
 33 
 34 ctl_table ipv6_net_table[] = {
 35         {NET_IPV6, "ipv6", NULL, 0, 0555, ipv6_table},
 36         {0}
 37 };
 38 
 39 void ipv6_sysctl_register(void)
 40 {
 41         ipv6_sysctl_header = register_sysctl_table(ipv6_root_table, 0);
 42 }
 43 
 44 void ipv6_sysctl_unregister(void)
 45 {
 46         unregister_sysctl_table(ipv6_sysctl_header);
 47 }
 48 #endif  /* MODULE */
 49 
 50 #endif /* CONFIG_SYSCTL */
 51 
 52 
 53 
 54 

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