![]() |
VR-Link API Documentation for HLA 1.3
|
This file declares useful defaults constants and static methods for accessing the host network interface adapters. More...
Go to the source code of this file.
Namespaces | |
| namespace | DtInetUtils |
| Utility functions for manipulating IP addresses. | |
Typedefs | |
InetInterfaceUtils Types | |
| typedef std::vector < DtInetDeviceSP > | DtInetUtils::DtHostDeviceList |
Functions | |
InetInterfaceUtils Static Functions | |
Returns the current host name as a DtString | |
| DtString | DtInetUtils::getLocalHostname () |
| Returns a list of DtInetInterface objects representing all IP network interfaces. | |
| DtHostDeviceList | DtInetUtils::scanInetDevices (bool includeUpOnly, bool preferIpV6=false) |
| Returns a list of DtInetInterface objects representing all IP network interfaces. | |
| DtHostDeviceList | DtInetUtils::scanBroadcastDevices (bool includeUpOnly, bool preferIpV6=false) |
| Returns a list of DtInetInterface objects representing all IP network interfaces capable of IPv4 broadcast communication. | |
| DtHostDeviceList | DtInetUtils::scanMulticastDevices (bool includeUpOnly, bool preferIpV6=false) |
| Returns a list of DtInetInterface objects representing all IP network interfaces capable of IPv4 multicast communication. | |
| DtHostDeviceList | DtInetUtils::scanIpv6Devices (bool includeUpOnly) |
| Returns a list of DtInetInterface objects representing all IP network interfaces capable of IPv6 communication. | |
| DtInetDeviceSP | DtInetUtils::defaultMulticastDevice () |
| Returns the DtInetInterface object representing the default interface chosen for multicast communication . | |
| DtInetDeviceSP | DtInetUtils::defaultBroadcastDevice (bool preferIpv6=false) |
| Returns the DtInetInterface object representing the default interface chosen for broadcast communication . | |
| int | DtInetUtils::fetchDeviceInfo (DtInetUtils::DtInetAddrFamily type, int sockFd, ifconf *ifc, unsigned int &buffSize, unsigned int &resizeFactor, DtString &errorStr) |
| Returns a block of ifreq structs containing the adapter information associated with devices with an IPv4 address assigned (type argument is ignored and only present for SOLARIS compatibility). | |
| struct ifreq * | DtInetUtils::findInterfaceByName (const char *ifName, int sock, ifconf *ifc) |
| Find a specific IPv4 device from a device configuration list (ifconf) | |
| struct ifreq * | DtInetUtils::findInterfaceByAddress (struct in_addr *ipv4Addr, int sock, ifconf *ifc) |
| Returns a list of DtInetInterface objects representing all IP network interfaces. | |
| struct ifreq_in6 * | DtInetUtils::findIpv6InterfaceByName (const char *ifName, int sock, ifconf *ifc) |
| Find a specific IPv6 device from a device configuration list (ifconf) | |
| struct ifreq_in6 * | DtInetUtils::findIpv6InterfaceByAddress (struct in6_addr *ipv6Addr, int sock, ifconf *ifc) |
| Find a specific IPv6 device from a device configuration list (ifconf) | |
This file declares useful defaults constants and static methods for accessing the host network interface adapters.