28 #include <fastdds/rtps/common/Locator.h> 41 #ifndef DOXYGEN_SHOULD_SKIP_THIS_PUBLIC 68 unsigned char address[6];
73 return memcmp(address, other.
address, 6) == 0;
78 #endif // ifndef DOXYGEN_SHOULD_SKIP_THIS_PUBLIC 82 RTPS_DllAPI
static bool getIPs(
83 std::vector<info_IP>* vec_name,
84 bool return_loopback =
false);
91 LocatorList_t* locators);
97 LocatorList_t* locators);
103 LocatorList_t* locators);
118 const std::string&
name);
120 const std::string& name);
128 std::vector<info_MAC>* macs);
static RTPS_DllAPI bool getIP6Address(LocatorList_t *locators)
Get the IP6Adresses in all interfaces.
static RTPS_DllAPI bool parseIP4(info_IP &info)
Parses an IP4 string, populating a info_IP with its value.
IP4.
Definition: IPFinder.h:47
static RTPS_DllAPI bool parseIP6(info_IP &info)
Parses an IP6 string, populating a info_IP with its value.
static RTPS_DllAPI bool getAllMACAddress(std::vector< info_MAC > *macs)
Get all MAC Adresses of all interfaces.
IP4_LOCAL.
Definition: IPFinder.h:49
struct eprosima::fastrtps::rtps::IPFinder::info_IP info_IP
Structure info_IP with information about a specific IP obtained from a NIC.
static RTPS_DllAPI bool getAllIPAddress(LocatorList_t *locators)
Get all IP Adresses in all interfaces.
IP6.
Definition: IPFinder.h:48
Structure info_MAC with information about a specific MAC obtained from a NIC.
Definition: IPFinder.h:66
Class IPFinder, to determine the IP of the NICs.
Definition: IPFinder.h:37
eProsima namespace.
Definition: LibrarySettingsAttributes.h:23
static RTPS_DllAPI bool getIPs(std::vector< info_IP > *vec_name, bool return_loopback=false)
unsigned char address[6]
Definition: IPFinder.h:68
struct eprosima::fastrtps::rtps::IPFinder::info_MAC info_MAC
Structure info_MAC with information about a specific MAC obtained from a NIC.
static RTPS_DllAPI std::string getIPv4Address(const std::string &name)
bool operator==(const ResourceLimitedContainerConfig &lhs, const ResourceLimitedContainerConfig &rhs)
Definition: ResourceLimitedContainerConfig.hpp:80
std::string dev
Definition: IPFinder.h:59
IP6_LOCAL.
Definition: IPFinder.h:50
static RTPS_DllAPI bool getIP4Address(LocatorList_t *locators)
Get the IP4Adresses in all interfaces.
std::string name
Definition: IPFinder.h:58
static RTPS_DllAPI std::string getIPv6Address(const std::string &name)
Locator_t locator
Definition: IPFinder.h:60
IPTYPE type
Definition: IPFinder.h:57
Structure info_IP with information about a specific IP obtained from a NIC.
Definition: IPFinder.h:55
IPTYPE
Enum IPTYPE, to define the type of IP obtained from the NICs.
Definition: IPFinder.h:45