⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sysctl_net.c

📁 嵌入式系统设计与实例开发实验教材二源码 多线程应用程序设计 串行端口程序设计 AD接口实验 CAN总线通信实验 GPS通信实验 Linux内核移植与编译实验 IC卡读写实验 SD驱动使
💻 C
字号:
/* -*- linux-c -*- * sysctl_net.c: sysctl interface to net subsystem. * * Begun April 1, 1996, Mike Shaver. * Added /proc/sys/net directories for each protocol family. [MS] * * $Log: sysctl_net.c,v $ * Revision 1.2  1996/05/08  20:24:40  shaver * Added bits for NET_BRIDGE and the NET_IPV4_ARP stuff and * NET_IPV4_IP_FORWARD. * * */#include <linux/config.h>#include <linux/mm.h>#include <linux/sysctl.h>#ifdef CONFIG_INETextern ctl_table ipv4_table[];#endifextern ctl_table core_table[];#ifdef CONFIG_NETextern ctl_table ether_table[], e802_table[];#endif#ifdef CONFIG_IPV6extern ctl_table ipv6_table[];#endif#ifdef CONFIG_TRextern ctl_table tr_table[];#endifctl_table net_table[] = {	{NET_CORE,   "core",      NULL, 0, 0555, core_table},      #ifdef CONFIG_NET	{NET_802,    "802",       NULL, 0, 0555, e802_table},	{NET_ETHER,  "ethernet",  NULL, 0, 0555, ether_table},#endif#ifdef CONFIG_INET	{NET_IPV4,   "ipv4",      NULL, 0, 0555, ipv4_table},#endif#ifdef CONFIG_IPV6	{NET_IPV6, "ipv6", NULL, 0, 0555, ipv6_table},#endif#ifdef CONFIG_TR	{NET_TR, "token-ring", NULL, 0, 0555, tr_table},#endif	{0}};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -