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
qnetworkinterface_win.cpp File Reference

(05fc3aef53348fb58be6308076e000825b704e58)

#include "qnetworkinterface.h"
#include "qnetworkinterface_p.h"
#include <qhostinfo.h>
#include <qhash.h>
#include <qurl.h>
#include <winsock2.h>
#include <ws2ipdef.h>
#include <wincrypt.h>
#include <iphlpapi.h>
#include <ws2tcpip.h>
#include <qt_windows.h>
+ Include dependency graph for qnetworkinterface_win.cpp:

Go to the source code of this file.

Macros

#define WIN32_LEAN_AND_MEAN   1
 
#define IF_TYPE_IEEE80216_WMAN   237
 
#define IF_TYPE_IEEE802154   259
 

Functions

static QT_BEGIN_NAMESPACE QHostAddress addressFromSockaddr (sockaddr *sa)
 
static QList< QNetworkInterfacePrivate * > interfaceListing ()
 

Macro Definition Documentation

◆ IF_TYPE_IEEE802154

#define IF_TYPE_IEEE802154   259

Definition at line 31 of file qnetworkinterface_win.cpp.

Referenced by interfaceListing().

◆ IF_TYPE_IEEE80216_WMAN

#define IF_TYPE_IEEE80216_WMAN   237

Definition at line 30 of file qnetworkinterface_win.cpp.

Referenced by interfaceListing().

◆ WIN32_LEAN_AND_MEAN

#define WIN32_LEAN_AND_MEAN   1

Definition at line 5 of file qnetworkinterface_win.cpp.

Function Documentation

◆ addressFromSockaddr()

static QT_BEGIN_NAMESPACE QHostAddress addressFromSockaddr ( sockaddr * sa)
static

Definition at line 35 of file qnetworkinterface_win.cpp.

References AF_INET6, QNetworkInterfaceManager::interfaceNameFromIndex(), qWarning, and QHostAddress::setAddress().

Referenced by interfaceListing().

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

◆ interfaceListing()