summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2009-04-21 22:16:15 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2009-04-21 22:16:15 +0000
commit922f6cd14bbd573abcd11b78973efc00b80a3dc0 (patch)
tree997d97293982144da945f34d01306accf2075fca
parent906d7f0f4eda9ccc5d9616277def34fb19858123 (diff)
Move DAHDI_DEFAULT_MTU_MRU from kernel.h to user.h
The macro DAHDI_DEFAULT_MTU_MRU needs to be exposed to userspace to build tools/ppp/dahdi.c . git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6430 a0bf4364-ded3-4de4-8d8a-66a801d63aff
-rw-r--r--include/dahdi/kernel.h3
-rw-r--r--include/dahdi/user.h3
2 files changed, 3 insertions, 3 deletions
diff --git a/include/dahdi/kernel.h b/include/dahdi/kernel.h
index f974f52..e2ece4c 100644
--- a/include/dahdi/kernel.h
+++ b/include/dahdi/kernel.h
@@ -392,9 +392,6 @@ void dahdi_unregister_echocan(const struct dahdi_echocan *ec);
/*! Define the maximum block size */
#define DAHDI_MAX_BLOCKSIZE 8192
-/*! Define the default network block size */
-#define DAHDI_DEFAULT_MTU_MRU 2048
-
#define DAHDI_DEFAULT_WINKTIME 150 /*!< 150 ms default wink time */
#define DAHDI_DEFAULT_FLASHTIME 750 /*!< 750 ms default flash time */
diff --git a/include/dahdi/user.h b/include/dahdi/user.h
index 0bc6e37..7434fcf 100644
--- a/include/dahdi/user.h
+++ b/include/dahdi/user.h
@@ -116,6 +116,9 @@
#define DAHDI_DEFAULT_BLOCKSIZE 1024
#define DAHDI_DEFAULT_MTR_MRU 2048
+/*! Define the default network block size */
+#define DAHDI_DEFAULT_MTU_MRU 2048
+
#define DAHDI_POLICY_IMMEDIATE 0 /* Start play/record immediately */
#define DAHDI_POLICY_WHEN_FULL 1 /* Start play/record when buffer is full */
#define DAHDI_POLICY_HALF_FULL 2 /* Start play/record when buffer is half full.