summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRuss Meyerriecks <rmeyerriecks@digium.com>2010-11-19 17:34:25 +0000
committerRuss Meyerriecks <rmeyerriecks@digium.com>2010-11-19 17:34:25 +0000
commit09dc0bd0a6175596458d8d5f07e8c5f0268e61a6 (patch)
tree868becdecb4e4af0168ac8e4420c2e37c8e08d4e /include
parentff9aeeed86562e29126efddaadecbb6c71179c2c (diff)
dahdi: adding ss7 pcap support to dahdi.
Adding the patch from the issue with various fixups to fit style and checkpatch (issue #16831) Reported by: tsearle Patches: driver_v2.patch uploaded by tsearle (license 373) Signed-off-by: Russ Meyerriecks <rmeyerriecks@digium.com> Acked-by: Shaun Ruffell <sruffell@digium.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9491 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'include')
-rw-r--r--include/dahdi/kernel.h3
-rw-r--r--include/dahdi/user.h6
2 files changed, 9 insertions, 0 deletions
diff --git a/include/dahdi/kernel.h b/include/dahdi/kernel.h
index 9a21c63..e1c8927 100644
--- a/include/dahdi/kernel.h
+++ b/include/dahdi/kernel.h
@@ -444,6 +444,9 @@ struct dahdi_chan {
struct file *file; /*!< File structure */
+ struct dahdi_chan *rxmirror; /*!< channel we mirror reads to */
+ struct dahdi_chan *txmirror; /*!< channel we mirror writes to */
+ struct dahdi_chan *srcmirror; /*!< channel we mirror from */
struct dahdi_span *span; /*!< Span we're a member of */
int sig; /*!< Signalling */
int sigcap; /*!< Capability for signalling */
diff --git a/include/dahdi/user.h b/include/dahdi/user.h
index 0f71355..fe4be66 100644
--- a/include/dahdi/user.h
+++ b/include/dahdi/user.h
@@ -1076,6 +1076,12 @@ struct dahdi_vmwi_info {
#define DAHDI_ECHOCANCEL_FAX_MODE _IOW(DAHDI_CODE, 102, int)
+/*
+ * Defines which channel to receive mirrored traffic from
+ */
+#define DAHDI_RXMIRROR _IOW(DAHDI_CODE, 103, int)
+#define DAHDI_TXMIRROR _IOW(DAHDI_CODE, 104, int)
+
/* Get current status IOCTL */
/* Defines for Radio Status (dahdi_radio_stat.radstat) bits */