49 int arpTimeout = -1)
const;
Definition: IpAddress.h:28
static const IPv4Address Zero
A static value representing a zero value of IPv4 address, meaning address of value "0....
Definition: IpAddress.h:131
Definition: MacAddress.h:21
static MacAddress Zero
A static value representing a zero value of MAC address, meaning address of value "00:00:00:00:00:00"...
Definition: MacAddress.h:139
Definition: NetworkUtils.h:18
MacAddress getMacAddress(IPv4Address ipAddr, PcapLiveDevice *device, double &arpResponseTimeMS, MacAddress sourceMac=MacAddress::Zero, IPv4Address sourceIP=IPv4Address::Zero, int arpTimeout=-1) const
static const int DefaultTimeout
Default timeout used for several utilities. Currently set to 5 seconds.
Definition: NetworkUtils.h:29
static NetworkUtils & getInstance()
Definition: NetworkUtils.h:22
IPv4Address getIPv4Address(const std::string &hostname, PcapLiveDevice *device, double &dnsResponseTimeMS, uint32_t &dnsTTL, int dnsTimeout=-1, IPv4Address dnsServerIP=IPv4Address::Zero, IPv4Address gatewayIP=IPv4Address::Zero) const
Definition: PcapLiveDevice.h:68
The main namespace for the PcapPlusPlus lib.