summaryrefslogtreecommitdiffstats
path: root/src/rpc-server/trex_rpc_req_resp_server.h
diff options
context:
space:
mode:
authorimarom <imarom@cisco.com>2016-02-15 03:12:29 -0500
committerimarom <imarom@cisco.com>2016-02-15 07:11:26 -0500
commitec369cd722a400130b9b754c2c965ec60beb9d56 (patch)
tree0b6f3bcaaa957983fd148548f09bd1ae4b900cfd /src/rpc-server/trex_rpc_req_resp_server.h
parent1f60016f591ebd2e260e501c8c5da10c11d0c7ad (diff)
many bugs uncovered by the PCAP injection:
1. NamedTuple constructor 2. Scappy 3. zlib for server
Diffstat (limited to 'src/rpc-server/trex_rpc_req_resp_server.h')
-rw-r--r--src/rpc-server/trex_rpc_req_resp_server.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rpc-server/trex_rpc_req_resp_server.h b/src/rpc-server/trex_rpc_req_resp_server.h
index 97efbe08..979bf9af 100644
--- a/src/rpc-server/trex_rpc_req_resp_server.h
+++ b/src/rpc-server/trex_rpc_req_resp_server.h
@@ -45,7 +45,9 @@ protected:
bool fetch_one_request(std::string &msg);
void handle_request(const std::string &request);
- std::string process_request(const std::string &request);
+ void process_request(const std::string &request, std::string &response);
+ void process_request_raw(const std::string &request, std::string &response);
+ void process_zipped_request(const std::string &request, std::string &response);
void handle_server_error(const std::string &specific_err);