Lines Matching refs:output
195 std::string *output) { in sendCommand() argument
234 if (!drainAndWaitForAck(*process, command, output)) { in sendCommand()
260 std::string *output) { in drainAndWaitForAck() argument
296 output->append(buffer, size); in drainAndWaitForAck()
297 size_t pos = output->find(PING); in drainAndWaitForAck()
299 if (output->size() > pos + PING_SIZE) { in drainAndWaitForAck()
300 size_t extra = output->size() - (pos + PING_SIZE); in drainAndWaitForAck()
302 extra, output->substr(pos + PING_SIZE, 128).c_str()); in drainAndWaitForAck()
304 output->resize(pos); in drainAndWaitForAck()
335 std::string *output) { in execute() argument
339 if (output == nullptr) { in execute()
340 output = &buffer; in execute()
342 output->clear(); in execute()
347 res |= sendCommand(IPTABLES_PROCESS, command, output); in execute()
350 res |= sendCommand(IP6TABLES_PROCESS, command, output); in execute()