diff options
author | Matthew Fredrickson <creslin@digium.com> | 2008-08-24 05:53:32 +0000 |
---|---|---|
committer | Matthew Fredrickson <creslin@digium.com> | 2008-08-24 05:53:32 +0000 |
commit | 2a54508b0817ef7d930e15b5995c666c191356fd (patch) | |
tree | c78479c070fdb5716def20ac5bdfb4822e20bd79 /include/dahdi/kernel.h | |
parent | d2dc50fa62b6cb6c806abb9dc43662901034c4a7 (diff) |
Add support for 56 KB HDLC as well as selectable rate via ioctl
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4817 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'include/dahdi/kernel.h')
-rw-r--r-- | include/dahdi/kernel.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/dahdi/kernel.h b/include/dahdi/kernel.h index 1b165f9..e24e375 100644 --- a/include/dahdi/kernel.h +++ b/include/dahdi/kernel.h @@ -462,6 +462,7 @@ enum dahdi_rxsig { #define DAHDI_FLAG_NOSTDTXRX (1 << 17) /*!< Do NOT do standard transmit and receive on every interrupt */ #define DAHDI_FLAG_LOOPED (1 << 18) /*!< Loopback the receive data from the channel to the transmit */ #define DAHDI_FLAG_MTP2 (1 << 19) /*!< Repeats last message in buffer and also discards repeating messages sent to us */ +#define DAHDI_FLAG_HDLC56 (1 << 20) /*!< Sets the given channel (if in HDLC mode) to use 56K HDLC instead of 64K */ /*! This is a redefinition of the flags from above to allow use of the kernel atomic bit testing and changing routines. * See the above descriptions for DAHDI_FLAG_.... for documentation about function. */ @@ -486,6 +487,7 @@ enum { DAHDI_FLAGBIT_NOSTDTXRX = 17, DAHDI_FLAGBIT_LOOPED = 18, DAHDI_FLAGBIT_MTP2 = 19, + DAHDI_FLAGBIT_HDLC56 = 20, }; struct dahdi_span { |