summaryrefslogtreecommitdiff
path: root/src/connectionParam.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2008-11-24 21:01:37 +0000
committerChristian Pointner <equinox@anytun.org>2008-11-24 21:01:37 +0000
commit686b3c3e1c0ae14e79bacd68e39449bcdf14a868 (patch)
tree063b3d75b8c7815bd5e95c69342682436562c512 /src/connectionParam.h
parenttemp ceckin (diff)
fixed to PacketSourceEndpoint @ connParam
Diffstat (limited to 'src/connectionParam.h')
-rw-r--r--src/connectionParam.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/connectionParam.h b/src/connectionParam.h
index 8558c24..7852e5c 100644
--- a/src/connectionParam.h
+++ b/src/connectionParam.h
@@ -37,6 +37,7 @@
#include "authAlgo.h"
#include "seqWindow.h"
#include "threadUtils.hpp"
+#include "packetSource.h"
#include <boost/archive/text_oarchive.hpp>
#include <boost/archive/text_iarchive.hpp>
@@ -45,12 +46,12 @@ class ConnectionParam
{
public:
ConnectionParam(const ConnectionParam & src);
- ConnectionParam( KeyDerivation& kd, SeqWindow& seq_window, seq_nr_t seq_nr_, boost::asio::ip::udp::endpoint endpoint);
+ ConnectionParam( KeyDerivation& kd, SeqWindow& seq_window, seq_nr_t seq_nr_, PacketSourceEndpoint remote_end);
KeyDerivation& kd_;
SeqWindow& seq_window_;
seq_nr_t seq_nr_;
- boost::asio::ip::udp::endpoint endpoint_;
+ PacketSourceEndpoint remote_end_;
private:
//TODO: check if this is ok
@@ -63,6 +64,7 @@ private:
ar & kd_;
ar & seq_window_;
ar & seq_nr_;
+// TODO fix sync of remote_end_
ar & remote_host_;
ar & remote_port_;
}