void InputCEC::checkAdapter() { if (m_adapterPort.isEmpty()) { openAdapter(); } }
int PcapWrapper::openAdapter(std::string adapter_name, int max_packet_size, bool promiscuous_mode, int timeout) { return openAdapter(adapterId(adapter_name, ADAPTER_NAME), max_packet_size, promiscuous_mode, timeout); }