1 #ifndef PCAPP_PCAP_REMOTE_DEVICE_LIST 2 #define PCAPP_PCAP_REMOTE_DEVICE_LIST 4 #if defined(WIN32) || defined(WINx64) || defined(PCAPPP_MINGW_ENV) 31 std::vector<PcapRemoteDevice*> m_RemoteDeviceList;
33 uint16_t m_RemoteMachinePort;
37 PcapRemoteDeviceList() : m_RemoteMachineIpAddress(NULL), m_RemoteMachinePort(0), m_RemoteAuthentication(NULL) {};
42 void setRemoteMachineIpAddress(
const IPAddress* ipAddress);
43 void setRemoteMachinePort(uint16_t port);
129 inline RemoteDeviceListIterator
begin() {
return m_RemoteDeviceList.begin(); }
134 inline ConstRemoteDeviceListIterator
begin()
const {
return m_RemoteDeviceList.begin(); }
139 inline RemoteDeviceListIterator
end() {
return m_RemoteDeviceList.end(); }
144 inline ConstRemoteDeviceListIterator
end()
const {
return m_RemoteDeviceList.end(); }
150 #endif // WIN32 || WINx64 Definition: IpAddress.h:212
Definition: PcapRemoteDeviceList.h:28
RemoteDeviceListIterator end()
Definition: PcapRemoteDeviceList.h:139
The main namespace for the PcapPlusPlus lib.
Definition: IpAddress.h:113
Definition: PcapRemoteDevice.h:79
uint16_t getRemoteMachinePort()
Definition: PcapRemoteDeviceList.h:96
static PcapRemoteDeviceList * getRemoteDeviceList(IPAddress *ipAddress, uint16_t port)
std::vector< PcapRemoteDevice * >::iterator RemoteDeviceListIterator
Definition: PcapRemoteDeviceList.h:50
Definition: IpAddress.h:27
Definition: PcapRemoteDevice.h:27
IPAddress * getRemoteMachineIpAddress()
Definition: PcapRemoteDeviceList.h:91
PcapRemoteDevice * getRemoteDeviceByIP(IPv4Address ip4Addr)
RemoteDeviceListIterator begin()
Definition: PcapRemoteDeviceList.h:129
ConstRemoteDeviceListIterator begin() const
Definition: PcapRemoteDeviceList.h:134
std::vector< PcapRemoteDevice * >::const_iterator ConstRemoteDeviceListIterator
Definition: PcapRemoteDeviceList.h:55
ConstRemoteDeviceListIterator end() const
Definition: PcapRemoteDeviceList.h:144