Lines Matching refs:output
208 std::string *output) { in sendCommand() argument
247 if (!drainAndWaitForAck(*process, command, output)) { in sendCommand()
273 std::string *output) { in drainAndWaitForAck() argument
309 output->append(buffer, size); in drainAndWaitForAck()
310 size_t pos = output->find(PING); in drainAndWaitForAck()
312 if (output->size() > pos + PING_SIZE) { in drainAndWaitForAck()
313 size_t extra = output->size() - (pos + PING_SIZE); in drainAndWaitForAck()
315 extra, output->substr(pos + PING_SIZE, 128).c_str()); in drainAndWaitForAck()
317 output->resize(pos); in drainAndWaitForAck()
348 std::string *output) { in execute() argument
352 if (output == nullptr) { in execute()
353 output = &buffer; in execute()
355 output->clear(); in execute()
360 res |= sendCommand(IPTABLES_PROCESS, command, output); in execute()
363 res |= sendCommand(IP6TABLES_PROCESS, command, output); in execute()