| 828 | } |
| 829 | |
| 830 | static bool PacketMatchesNames(const RawDnsPacket& packet, const std::vector<std::string>& names) |
| 831 | { |
| 832 | for (uint32_t i = 0; i < packet.m_Records.size(); ++i) |
| 833 | { |
| 834 | for (uint32_t j = 0; j < names.size(); ++j) |
| 835 | { |
| 836 | if (dmStrCaseCmp(packet.m_Records[i].m_Name.c_str(), names[j].c_str()) == 0) |
| 837 | return true; |
| 838 | } |
| 839 | } |
| 840 | return false; |
| 841 | } |
| 842 | |
| 843 | static bool SetupMulticastCapture(MulticastCapture* capture) |
| 844 | { |
no test coverage detected