pingserver: allow setting payload size
refs #2699
Change-Id: I45181845e196ea390f0b6b39165097df510f9116
diff --git a/tools/ping/server/ping-server.hpp b/tools/ping/server/ping-server.hpp
index ddc3a19..c5e9634 100644
--- a/tools/ping/server/ping-server.hpp
+++ b/tools/ping/server/ping-server.hpp
@@ -39,6 +39,7 @@
bool shouldLimitSatisfied; //!< should limit the number of pings satisfied
int nMaxPings; //!< max number of pings to satisfy
bool shouldPrintTimestamp; //!< print timestamp when response sent
+ int payloadSize; //!< user specified payload size
};
/**
@@ -90,6 +91,7 @@
KeyChain m_keyChain;
int m_nPings;
Face& m_face;
+ Block m_payload;
};
} // namespace server