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

(fd34c2fd3532c5b6430e90b28947c1e9404514dd)

#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 32 of file qnetworkinterface_win.cpp.

◆ IF_TYPE_IEEE80216_WMAN

#define IF_TYPE_IEEE80216_WMAN   237

Definition at line 31 of file qnetworkinterface_win.cpp.

◆ WIN32_LEAN_AND_MEAN

#define WIN32_LEAN_AND_MEAN   1

Definition at line 6 of file qnetworkinterface_win.cpp.

Function Documentation

◆ addressFromSockaddr()

QT_BEGIN_NAMESPACE QHostAddress addressFromSockaddr ( sockaddr * sa)
static

Definition at line 36 of file qnetworkinterface_win.cpp.

◆ interfaceListing()

QList< QNetworkInterfacePrivate * > interfaceListing ( )
static

Definition at line 77 of file qnetworkinterface_win.cpp.

References QNetworkInterfacePrivate::index.