90 uint16_t m_RemoteMachinePort;
91 std::shared_ptr<PcapRemoteAuthentication> m_RemoteAuthentication;
95 PcapRemoteDevice(pcap_if_t* iface, std::shared_ptr<PcapRemoteAuthentication> remoteAuthentication,
96 const IPAddress& remoteMachineIP, uint16_t remoteMachinePort)
101 std::shared_ptr<PcapRemoteAuthentication> remoteAuthentication,
102 const IPAddress& remoteMachineIP, uint16_t remoteMachinePort);
119 return m_RemoteMachineIpAddress;
128 return m_RemoteMachinePort;
Definition: IpAddress.h:358
Definition: MacAddress.h:25
Definition: PcapLiveDevice.h:79
LiveDeviceType
Definition: PcapLiveDevice.h:155
@ RemoteDevice
Definition: PcapLiveDevice.h:161
Definition: PcapRemoteDevice.h:85
void getStatistics(IPcapDevice::PcapStats &stats) const override
PcapRemoteDevice * clone() const override
uint32_t getMtu() const override
IPAddress getRemoteMachineIpAddress() const
Definition: PcapRemoteDevice.h:117
uint16_t getRemoteMachinePort() const
Definition: PcapRemoteDevice.h:126
MacAddress getMacAddress() const override
LiveDeviceType getDeviceType() const override
Definition: PcapRemoteDevice.h:134
Definition: PcapRemoteDeviceList.h:30
The main namespace for the PcapPlusPlus lib.
Definition: PcapDevice.h:128
A struct that contains all details of a network interface.
Definition: PcapLiveDevice.h:86
Definition: PcapRemoteDevice.h:25
pcap_rmtauth getPcapRmAuth() const
std::string password
Definition: PcapRemoteDevice.h:53
PcapRemoteAuthentication(const PcapRemoteAuthentication &other)
Definition: PcapRemoteDevice.h:41
PcapRemoteAuthentication(const std::string &username, const std::string &password)
Definition: PcapRemoteDevice.h:32
std::string userName
Definition: PcapRemoteDevice.h:48