patch-1.3.37 linux/net/core/skbuff.c
Next file: linux/net/ipv4/af_inet.c
Previous file: linux/net/core/firewall.c
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Sat Oct 28 15:18:23 1995
- Orig file:
v1.3.36/linux/net/core/skbuff.c
- Orig date:
Mon Oct 23 18:02:22 1995
diff -u --recursive --new-file v1.3.36/linux/net/core/skbuff.c linux/net/core/skbuff.c
@@ -53,6 +53,8 @@
volatile unsigned long net_fails = 0;
volatile unsigned long net_free_locked = 0;
+extern unsigned long ip_frag_mem;
+
void show_net_buffers(void)
{
printk("Networking buffers in use : %lu\n",net_skbcount);
@@ -60,6 +62,9 @@
printk("Total network buffer allocations : %lu\n",net_allocs);
printk("Total failed network buffer allocs : %lu\n",net_fails);
printk("Total free while locked events : %lu\n",net_free_locked);
+#ifdef CONFIG_INET
+ printk("IP fragment buffer size : %lu\n",ip_frag_mem);
+#endif
}
#if CONFIG_SKB_CHECK
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this