aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-06-15 18:47:10 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-06-15 20:24:07 +0800
commited07a3fc1c058521542ea8e762871432c4cde39f (patch)
treed7122423ac92bca7fd8153f42df47b8f346a72af /openbsc/include
parent6f5fbfd6bf8adf62914c9c34c39d5caa6f89a53a (diff)
nat: Start using a write_queue for the BSC connection
We are still writing to the BSC directly and don't make real use of this feature right now but we will need to do it.
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/bsc_nat.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/bsc_nat.h b/openbsc/include/openbsc/bsc_nat.h
index d42e489e7..5ac60df87 100644
--- a/openbsc/include/openbsc/bsc_nat.h
+++ b/openbsc/include/openbsc/bsc_nat.h
@@ -28,6 +28,7 @@
#include <osmocore/select.h>
#include <osmocore/msgb.h>
#include <osmocore/timer.h>
+#include <osmocore/write_queue.h>
#define DIR_BSC 1
#define DIR_MSC 2
@@ -77,7 +78,7 @@ struct bsc_connection {
int authenticated;
/* the fd we use to communicate */
- struct bsc_fd bsc_fd;
+ struct write_queue write_queue;
/* the LAC assigned to this connection */
unsigned int lac;