summaryrefslogtreecommitdiff
path: root/node/PacketDecoder.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2013-07-23 22:46:04 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2013-07-23 22:46:04 -0700
commit668c428051706e33a1d5a411a1b446ca865a4854 (patch)
tree07c80e0e5b750efb3da385e89d3e27ead83a5ce6 /node/PacketDecoder.cpp
parent10fc164fcbdeb678e224019d860738d016b6f030 (diff)
downloadinfinitytier-668c428051706e33a1d5a411a1b446ca865a4854.tar.gz
infinitytier-668c428051706e33a1d5a411a1b446ca865a4854.zip
Basic RPC stuff in Packet and PacketDecoder for RPC service support.
Diffstat (limited to 'node/PacketDecoder.cpp')
-rw-r--r--node/PacketDecoder.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/node/PacketDecoder.cpp b/node/PacketDecoder.cpp
index 810e30a7..e081fa8e 100644
--- a/node/PacketDecoder.cpp
+++ b/node/PacketDecoder.cpp
@@ -102,6 +102,8 @@ bool PacketDecoder::tryDecode(const RuntimeEnvironment *_r)
return _doMULTICAST_LIKE(_r,peer);
case Packet::VERB_MULTICAST_FRAME:
return _doMULTICAST_FRAME(_r,peer);
+ case Packet::VERB_RPC:
+ return _doRPC(_r,peer);
default:
// This might be something from a new or old version of the protocol.
// Technically it passed HMAC so the packet is still valid, but we
@@ -538,4 +540,8 @@ bool PacketDecoder::_doMULTICAST_FRAME(const RuntimeEnvironment *_r,const Shared
return true;
}
+bool PacketDecoder::_doRPC(const RuntimeEnvironment *_r,const SharedPtr<Peer> &peer)
+{
+}
+
} // namespace ZeroTier