22 std::vector<std::unique_ptr<PcapLiveDevice>> m_LiveDeviceList;
24 std::vector<PcapLiveDevice*> m_LiveDeviceListView;
26 std::vector<IPv4Address> m_DnsServers;
31 static std::vector<std::unique_ptr<PcapLiveDevice>> fetchAllLocalDevices();
32 static std::vector<IPv4Address> fetchDnsServers();
51 return m_LiveDeviceListView;
Definition: IpAddress.h:276
Definition: IpAddress.h:28
Definition: IpAddress.h:156
Definition: PcapLiveDevice.h:68
Definition: PcapLiveDeviceList.h:20
const std::vector< IPv4Address > & getDnsServers() const
Definition: PcapLiveDeviceList.h:87
PcapLiveDevice * getPcapLiveDeviceByIp(const IPAddress &ipAddr) const
PcapLiveDevice * getPcapLiveDeviceByIp(const IPv4Address &ipAddr) const
PcapLiveDeviceList * clone()
PcapLiveDevice * getPcapLiveDeviceByIp(const std::string &ipAddrAsString) const
PcapLiveDevice * getPcapLiveDeviceByName(const std::string &name) const
static PcapLiveDeviceList & getInstance()
Definition: PcapLiveDeviceList.h:42
PcapLiveDevice * getPcapLiveDeviceByIp(const IPv6Address &ip6Addr) const
PcapLiveDevice * getPcapLiveDeviceByIpOrName(const std::string &ipOrName) const
const std::vector< PcapLiveDevice * > & getPcapLiveDevicesList() const
Definition: PcapLiveDeviceList.h:49
void reset()
Reset the live device list and DNS server list, meaning clear and refetch them.
The main namespace for the PcapPlusPlus lib.