summaryrefslogtreecommitdiff
path: root/options.h
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2007-11-26 12:49:40 +0000
committerOthmar Gsenger <otti@anytun.org>2007-11-26 12:49:40 +0000
commita496723b3a9a74f6895651d7fce44745bfec2207 (patch)
treea1fcad3ae1d774f0b95f44aeda0c8f2df04c6a61 /options.h
parentremoved libsrtp vom README (it's not used anymore) (diff)
added sync options
Diffstat (limited to 'options.h')
-rw-r--r--options.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/options.h b/options.h
index fe4b243..08c299a 100644
--- a/options.h
+++ b/options.h
@@ -48,10 +48,14 @@ public:
Options& setSenderId(sender_id_t s);
std::string getLocalAddr();
Options& setLocalAddr(std::string l);
+ std::string getLocalSyncAddr();
+ Options& setLocalSyncAddr(std::string l);
u_int16_t getLocalPort();
Options& setLocalPort(u_int16_t l);
std::string getRemoteAddr();
Options& setRemoteAddr(std::string r);
+ u_int16_t getLocalSyncPort();
+ Options& setLocalSyncPort(u_int16_t l);
u_int16_t getRemotePort();
Options& setRemotePort(u_int16_t r);
Options& setRemoteAddrPort(std::string addr, u_int16_t port);
@@ -76,7 +80,9 @@ private:
std::string progname_;
sender_id_t sender_id_;
std::string local_addr_;
+ std::string local_sync_addr_;
u_int16_t local_port_;
+ u_int16_t local_sync_port_;
std::string remote_addr_;
u_int16_t remote_port_;
std::string dev_name_;