diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-07-01 19:03:49 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-07-02 15:07:25 +0200 |
commit | b9d2515704ac83cacd88d0a73ecba30323df0b2d (patch) | |
tree | 847de653ee1378fd4953e52bc302dcfbc2f9c6db /Transceiver52M/Transceiver.h | |
parent | 7dc07b9425e2400c314248811f57091cb0ec7c07 (diff) |
Transceiver: replace UDPSocket with libosmocore socket API
We have a good socket API in libosmocore, let's drop osmo-trx socket API
and use libosmocore's one instead of maintaining the two of them.
Change-Id: Ib19856a3e0a7607f63436c4a80b1381a3f318764
Diffstat (limited to 'Transceiver52M/Transceiver.h')
-rw-r--r-- | Transceiver52M/Transceiver.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Transceiver52M/Transceiver.h b/Transceiver52M/Transceiver.h index 80047b3..e4d0440 100644 --- a/Transceiver52M/Transceiver.h +++ b/Transceiver52M/Transceiver.h @@ -25,7 +25,6 @@ #include "radioInterface.h" #include "Interthread.h" #include "GSMCommon.h" -#include "Sockets.h" #include <sys/types.h> #include <sys/socket.h> @@ -167,9 +166,9 @@ private: std::string mLocalAddr; std::string mRemoteAddr; - std::vector<UDPSocket *> mDataSockets; ///< socket for writing to/reading from GSM core - std::vector<UDPSocket *> mCtrlSockets; ///< socket for writing/reading control commands from GSM core - UDPSocket mClockSocket; ///< socket for writing clock updates to GSM core + std::vector<int> mDataSockets; ///< socket for writing to/reading from GSM core + std::vector<int> mCtrlSockets; ///< socket for writing/reading control commands from GSM core + int mClockSocket; ///< socket for writing clock updates to GSM core std::vector<VectorQueue> mTxPriorityQueues; ///< priority queue of transmit bursts received from GSM core std::vector<VectorFIFO *> mReceiveFIFO; ///< radioInterface FIFO of receive bursts |