Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QNetworkInterfacePrivate Class Reference

#include <qnetworkinterface_p.h>

+ Inheritance diagram for QNetworkInterfacePrivate:
+ Collaboration diagram for QNetworkInterfacePrivate:

Public Member Functions

 QNetworkInterfacePrivate ()
 
 ~QNetworkInterfacePrivate ()
 
- Public Member Functions inherited from QSharedData
 QSharedData () noexcept
 Constructs a QSharedData object with a reference count of 0.
 
 QSharedData (const QSharedData &) noexcept
 Constructs a QSharedData object with reference count 0.
 
QSharedDataoperator= (const QSharedData &)=delete
 
 ~QSharedData ()=default
 

Static Public Member Functions

static QString makeHwAddress (int len, uchar *data)
 
static void calculateDnsEligibility (QNetworkAddressEntry *entry, bool isTemporary, bool isDeprecated)
 

Public Attributes

int index
 
int mtu = 0
 
QNetworkInterface::InterfaceFlags flags
 
QNetworkInterface::InterfaceType type = QNetworkInterface::Unknown
 
QString name
 
QString friendlyName
 
QString hardwareAddress
 
QList< QNetworkAddressEntryaddressEntries
 
- Public Attributes inherited from QSharedData
QAtomicInt ref
 

Detailed Description

Definition at line 45 of file qnetworkinterface_p.h.

Constructor & Destructor Documentation

◆ QNetworkInterfacePrivate()

QNetworkInterfacePrivate::QNetworkInterfacePrivate ( )
inline

Definition at line 48 of file qnetworkinterface_p.h.

◆ ~QNetworkInterfacePrivate()

QNetworkInterfacePrivate::~QNetworkInterfacePrivate ( )
inline

Definition at line 50 of file qnetworkinterface_p.h.

Member Function Documentation

◆ calculateDnsEligibility()

static void QNetworkInterfacePrivate::calculateDnsEligibility ( QNetworkAddressEntry * entry,
bool isTemporary,
bool isDeprecated )
inlinestatic

Definition at line 65 of file qnetworkinterface_p.h.

References QHostAddressPrivate::classify(), QNetworkAddressEntry::DnsEligible, QNetworkAddressEntry::DnsIneligible, LinkLocalAddress, and LoopbackAddress.

Referenced by getAddresses().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ makeHwAddress()

QString QNetworkInterfacePrivate::makeHwAddress ( int len,
uchar * data )
static

Definition at line 105 of file qnetworkinterface.cpp.

References i, out, qMax(), QtMiscUtils::toHexUpper(), and Qt::Uninitialized.

+ Here is the call graph for this function:

Member Data Documentation

◆ addressEntries

QList<QNetworkAddressEntry> QNetworkInterfacePrivate::addressEntries

Definition at line 62 of file qnetworkinterface_p.h.

Referenced by QNetworkInterface::addressEntries().

◆ flags

QNetworkInterface::InterfaceFlags QNetworkInterfacePrivate::flags

Definition at line 55 of file qnetworkinterface_p.h.

Referenced by QNetworkInterface::flags().

◆ friendlyName

QString QNetworkInterfacePrivate::friendlyName

Definition at line 59 of file qnetworkinterface_p.h.

Referenced by QNetworkInterface::humanReadableName().

◆ hardwareAddress

QString QNetworkInterfacePrivate::hardwareAddress

Definition at line 60 of file qnetworkinterface_p.h.

Referenced by QNetworkInterface::hardwareAddress().

◆ index

int QNetworkInterfacePrivate::index

Definition at line 53 of file qnetworkinterface_p.h.

Referenced by QNetworkInterface::index().

◆ mtu

int QNetworkInterfacePrivate::mtu = 0

Definition at line 54 of file qnetworkinterface_p.h.

Referenced by QNetworkInterface::maximumTransmissionUnit().

◆ name

QString QNetworkInterfacePrivate::name

Definition at line 58 of file qnetworkinterface_p.h.

Referenced by QNetworkInterface::name().

◆ type

Definition at line 56 of file qnetworkinterface_p.h.

Referenced by QNetworkInterface::type().


The documentation for this class was generated from the following files: