|
PcapPlusPlus
20.08
|
Go to the documentation of this file. 1 #ifndef PCAPPP_NETWORK_UTILS
2 #define PCAPPP_NETWORK_UTILS
Definition: IpAddress.h:26
Definition: PcapLiveDevice.h:76
static const int DefaultTimeout
Definition: NetworkUtils.h:40
static NetworkUtils & getInstance()
Definition: NetworkUtils.h:31
static MacAddress Zero
Definition: MacAddress.h:159
MacAddress getMacAddress(IPv4Address ipAddr, PcapLiveDevice *device, double &arpResponseTimeMS, MacAddress sourceMac=MacAddress::Zero, IPv4Address sourceIP=IPv4Address::Zero, int arpTimeout=-1) const
Definition: MacAddress.h:27
Definition: NetworkUtils.h:23
static const IPv4Address Zero
Definition: IpAddress.h:116
The main namespace for the PcapPlusPlus lib.
IPv4Address getIPv4Address(std::string hostname, PcapLiveDevice *device, double &dnsResponseTimeMS, uint32_t &dnsTTL, int dnsTimeout=-1, IPv4Address dnsServerIP=IPv4Address::Zero, IPv4Address gatewayIP=IPv4Address::Zero) const