92 uint16_t m_RemoteMachinePort;
93 std::shared_ptr<PcapRemoteAuthentication> m_RemoteAuthentication;
97 PcapRemoteDevice(pcap_if_t* iface, std::shared_ptr<PcapRemoteAuthentication> remoteAuthentication,
98 const IPAddress& remoteMachineIP, uint16_t remoteMachinePort);
115 return m_RemoteMachineIpAddress;
124 return m_RemoteMachinePort;
Definition: IpAddress.h:358
Definition: MacAddress.h:25
Definition: PcapLiveDevice.h:79
LiveDeviceType
Definition: PcapLiveDevice.h:140
@ RemoteDevice
Definition: PcapLiveDevice.h:146
Definition: PcapRemoteDevice.h:87
void getStatistics(IPcapDevice::PcapStats &stats) const override
uint32_t getMtu() const override
IPAddress getRemoteMachineIpAddress() const
Definition: PcapRemoteDevice.h:113
uint16_t getRemoteMachinePort() const
Definition: PcapRemoteDevice.h:122
MacAddress getMacAddress() const override
LiveDeviceType getDeviceType() const override
Definition: PcapRemoteDevice.h:130
Definition: PcapRemoteDeviceList.h:32
The main namespace for the PcapPlusPlus lib.
Definition: PcapDevice.h:128
Definition: PcapRemoteDevice.h:27
pcap_rmtauth getPcapRmAuth() const
std::string password
Definition: PcapRemoteDevice.h:55
PcapRemoteAuthentication(const PcapRemoteAuthentication &other)
Definition: PcapRemoteDevice.h:43
PcapRemoteAuthentication(const std::string &username, const std::string &password)
Definition: PcapRemoteDevice.h:34
std::string userName
Definition: PcapRemoteDevice.h:50