aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/mISDNhw.h
diff options
context:
space:
mode:
authorKarsten Keil <kkeil@linux-pingi.de>2012-05-15 23:51:08 +0000
committerDavid S. Miller <davem@davemloft.net>2012-05-16 15:24:36 -0400
commitc27b46e7f1cbf3be95a4cf5840c76a7b7d54b26f (patch)
treedb406c5ceb174b3b41a0085929fe85c5e6951bb6 /include/linux/mISDNhw.h
parentmISDN: Implement MISDN_CTRL_FILL_EMPTY for more drivers (diff)
downloadwireguard-linux-c27b46e7f1cbf3be95a4cf5840c76a7b7d54b26f.tar.xz
wireguard-linux-c27b46e7f1cbf3be95a4cf5840c76a7b7d54b26f.zip
mISDN: Implement MISDN_CTRL_RX_OFF for more drivers
MISDN_CTRL_RX_OFF is a meachanism to discard RX data in the driver if the data is not needed by the application. It can be used when playing mesages, but not recording or with unidirectional protocols. Signed-off-by: Karsten Keil <kkeil@linux-pingi.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/mISDNhw.h')
-rw-r--r--include/linux/mISDNhw.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mISDNhw.h b/include/linux/mISDNhw.h
index 621184216566..d0752eca9b44 100644
--- a/include/linux/mISDNhw.h
+++ b/include/linux/mISDNhw.h
@@ -73,6 +73,8 @@
#define FLG_LL_CONN 25
#define FLG_DTMFSEND 26
#define FLG_TX_EMPTY 27
+/* stop sending received data upstream */
+#define FLG_RX_OFF 28
/* workq events */
#define FLG_RECVQUEUE 30
#define FLG_PHCHANGE 31
@@ -173,6 +175,7 @@ struct bchannel {
int err_crc;
int err_tx;
int err_rx;
+ int dropcnt;
};
extern int mISDN_initdchannel(struct dchannel *, int, void *);