From 686b3c3e1c0ae14e79bacd68e39449bcdf14a868 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Mon, 24 Nov 2008 21:01:37 +0000 Subject: fixed to PacketSourceEndpoint @ connParam --- src/connectionParam.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/connectionParam.h') 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 #include @@ -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_; } -- cgit v1.2.3