73 uint16_t m_RemoteMachinePort;
74 std::shared_ptr<PcapRemoteAuthentication> m_RemoteAuthentication;
78 PcapRemoteDevice(pcap_if_t* iface, std::shared_ptr<PcapRemoteAuthentication> remoteAuthentication,
79 const IPAddress& remoteMachineIP, uint16_t remoteMachinePort)
84 std::shared_ptr<PcapRemoteAuthentication> remoteAuthentication,
85 const IPAddress& remoteMachineIP, uint16_t remoteMachinePort);
99 return m_RemoteMachineIpAddress;
106 return m_RemoteMachinePort;
Definition: IpAddress.h:276
Definition: MacAddress.h:21
Definition: PcapLiveDevice.h:68
LiveDeviceType
The type of the live device.
Definition: PcapLiveDevice.h:142
@ RemoteDevice
WinPcap/Npcap Remote Capture device.
Definition: PcapLiveDevice.h:148
Definition: PcapRemoteDevice.h:68
void getStatistics(IPcapDevice::PcapStats &stats) const override
PcapRemoteDevice * clone() const override
uint32_t getMtu() const override
IPAddress getRemoteMachineIpAddress() const
Definition: PcapRemoteDevice.h:97
uint16_t getRemoteMachinePort() const
Definition: PcapRemoteDevice.h:104
MacAddress getMacAddress() const override
LiveDeviceType getDeviceType() const override
Definition: PcapRemoteDevice.h:110
Definition: PcapRemoteDeviceList.h:25
The main namespace for the PcapPlusPlus lib.
Definition: PcapDevice.h:104
A struct that contains all details of a network interface.
Definition: PcapLiveDevice.h:75
Definition: PcapRemoteDevice.h:20
pcap_rmtauth getPcapRmAuth() const
std::string password
The password for authentication.
Definition: PcapRemoteDevice.h:40
PcapRemoteAuthentication(const PcapRemoteAuthentication &other)
Definition: PcapRemoteDevice.h:32
PcapRemoteAuthentication(const std::string &username, const std::string &password)
Definition: PcapRemoteDevice.h:25
std::string userName
The username for authentication.
Definition: PcapRemoteDevice.h:37