![]() |
Qt 6.x
The Qt SDK
|
#include <qnetworkinterface_p.h>
Collaboration diagram for QNetworkInterfaceManager:Public Member Functions | |
| QNetworkInterfaceManager () | |
| ~QNetworkInterfaceManager () | |
| QSharedDataPointer< QNetworkInterfacePrivate > | interfaceFromName (const QString &name) |
| QSharedDataPointer< QNetworkInterfacePrivate > | interfaceFromIndex (int index) |
| QList< QSharedDataPointer< QNetworkInterfacePrivate > > | allInterfaces () |
Static Public Member Functions | |
| static uint | interfaceIndexFromName (const QString &name) |
| static QString | interfaceNameFromIndex (uint index) |
Public Attributes | |
| QSharedDataPointer< QNetworkInterfacePrivate > | empty |
Definition at line 87 of file qnetworkinterface_p.h.
| QNetworkInterfaceManager::QNetworkInterfaceManager | ( | ) |
Definition at line 50 of file qnetworkinterface.cpp.
| QNetworkInterfaceManager::~QNetworkInterfaceManager | ( | ) |
Definition at line 54 of file qnetworkinterface.cpp.
| QList< QSharedDataPointer< QNetworkInterfacePrivate > > QNetworkInterfaceManager::allInterfaces | ( | ) |
Definition at line 86 of file qnetworkinterface.cpp.
References QNetworkAddressEntry::DnsIneligible, QNetworkInterface::IsUp, list, postProcess(), ptr(), and QList< T >::size().
Referenced by interfaceFromIndex(), and interfaceFromName().
Here is the call graph for this function:
Here is the caller graph for this function:| QSharedDataPointer< QNetworkInterfacePrivate > QNetworkInterfaceManager::interfaceFromIndex | ( | int | index | ) |
Definition at line 75 of file qnetworkinterface.cpp.
References allInterfaces(), empty, and interface.
Here is the call graph for this function:| QSharedDataPointer< QNetworkInterfacePrivate > QNetworkInterfaceManager::interfaceFromName | ( | const QString & | name | ) |
Definition at line 58 of file qnetworkinterface.cpp.
References allInterfaces(), empty, interface, and ok.
Here is the call graph for this function:Definition at line 186 of file qnetworkinterface_linux.cpp.
References qt_safe_close(), qt_safe_ioctl(), qt_safe_socket(), and socket.
Referenced by QNetworkInterface::interfaceIndexFromName().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 205 of file qnetworkinterface_linux.cpp.
References QString::fromLatin1(), qt_safe_close(), qt_safe_ioctl(), qt_safe_socket(), and socket.
Referenced by addressFromSockaddr(), addressFromSockaddr(), and QNetworkInterface::interfaceNameFromIndex().
Here is the call graph for this function:
Here is the caller graph for this function:| QSharedDataPointer<QNetworkInterfacePrivate> QNetworkInterfaceManager::empty |
Definition at line 101 of file qnetworkinterface_p.h.
Referenced by interfaceFromIndex(), and interfaceFromName().