summaryrefslogtreecommitdiff
path: root/include/dahdi/kernel.h
diff options
context:
space:
mode:
authorMatthew Fredrickson <creslin@digium.com>2008-12-19 21:14:00 +0000
committerMatthew Fredrickson <creslin@digium.com>2008-12-19 21:14:00 +0000
commitdda189e53d42ea8e1cc6396eeefdb95f67eb759a (patch)
tree63b892e59814ac5e38e5827f0eb983370574ecb2 /include/dahdi/kernel.h
parent34860cc9bf9af24623341dd51e3bcbbf0486815b (diff)
Add support for new half full buffer policy. This significantly improves performance in fax and data modem calls.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5597 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'include/dahdi/kernel.h')
-rw-r--r--include/dahdi/kernel.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/dahdi/kernel.h b/include/dahdi/kernel.h
index 738cb0f..47139e5 100644
--- a/include/dahdi/kernel.h
+++ b/include/dahdi/kernel.h
@@ -139,6 +139,10 @@ struct dahdi_chan {
int do_ppp_error;
struct sk_buff_head ppp_rq;
#endif
+#ifdef BUFFER_DEBUG
+ int statcount;
+ int lastnumbufs;
+#endif
spinlock_t lock;
char name[40];
/* Specified by DAHDI */