Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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.

References index.

◆ ~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.

◆ makeHwAddress()

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

Definition at line 105 of file qnetworkinterface.cpp.

Member Data Documentation

◆ addressEntries

QList<QNetworkAddressEntry> QNetworkInterfacePrivate::addressEntries

Definition at line 62 of file qnetworkinterface_p.h.

◆ flags

QNetworkInterface::InterfaceFlags QNetworkInterfacePrivate::flags

Definition at line 55 of file qnetworkinterface_p.h.

◆ friendlyName

QString QNetworkInterfacePrivate::friendlyName

Definition at line 59 of file qnetworkinterface_p.h.

◆ hardwareAddress

QString QNetworkInterfacePrivate::hardwareAddress

Definition at line 60 of file qnetworkinterface_p.h.

◆ index

int QNetworkInterfacePrivate::index

Definition at line 53 of file qnetworkinterface_p.h.

Referenced by QNetworkInterfacePrivate(), getInterfaces(), and interfaceListing().

◆ mtu

int QNetworkInterfacePrivate::mtu = 0

Definition at line 54 of file qnetworkinterface_p.h.

Referenced by getInterfaces().

◆ name

QString QNetworkInterfacePrivate::name

◆ type

Definition at line 56 of file qnetworkinterface_p.h.


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