diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-03-26 07:10:22 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-03-26 07:10:22 +0100 |
commit | cbe77e165785977a664e0ee8c1c5e229f8bbe402 (patch) | |
tree | 34d936686e26ab8d30f7f76a37a53a6e0f00c55c /openbsc/include/openbsc/bsc_nat.h | |
parent | 3cedc4738fa862352e34db9863991a6efb4ad01c (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/openbsc/bsc_nat.h')
-rw-r--r-- | openbsc/include/openbsc/bsc_nat.h | 3 |
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; |