![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "qnetworkinterface.h"
#include "qnetworkinterface_p.h"
#include "qnetworkinterface_unix_p.h"
#include <qendian.h>
#include <qobjectdefs.h>
#include <qscopeguard.h>
#include <qvarlengtharray.h>
#include <asm/types.h>
#include <linux/if.h>
#include <linux/if_arp.h>
#include <linux/netlink.h>
#include <linux/rtnetlink.h>
#include <linux/wireless.h>
#include <sys/socket.h>
Go to the source code of this file.
Macros | |
#define | ARPHRD_PHONET 820 /* v2.6.29: PhoNet media type */ |
#define | ARPHRD_PHONET_PIPE 821 /* v2.6.29: PhoNet pipe header */ |
#define | ARPHRD_IEEE802154 804 /* v2.6.31 */ |
#define | ARPHRD_6LOWPAN 825 /* v3.14: IPv6 over LoWPAN */ |
Enumerations | |
enum | { BufferSize = 8192 , BufferSize = 8192 } |
enum | { BufferSize = 8192 , BufferSize = 8192 } |
Functions | |
static QNetworkInterface::InterfaceType | probeIfType (int socket, struct ifreq *req, short arptype) |
static QList< QNetworkInterfacePrivate * > | getInterfaces (int sock, char *buf) |
static void | getAddresses (int sock, char *buf, QList< QNetworkInterfacePrivate * > &result) |
#define ARPHRD_6LOWPAN 825 /* v3.14: IPv6 over LoWPAN */ |
Definition at line 29 of file qnetworkinterface_linux.cpp.
#define ARPHRD_IEEE802154 804 /* v2.6.31 */ |
Definition at line 28 of file qnetworkinterface_linux.cpp.
#define ARPHRD_PHONET 820 /* v2.6.29: PhoNet media type */ |
Definition at line 26 of file qnetworkinterface_linux.cpp.
#define ARPHRD_PHONET_PIPE 821 /* v2.6.29: PhoNet pipe header */ |
Definition at line 27 of file qnetworkinterface_linux.cpp.
anonymous enum |
Enumerator | |
---|---|
BufferSize | |
BufferSize |
Definition at line 33 of file qnetworkinterface_linux.cpp.
anonymous enum |
Enumerator | |
---|---|
BufferSize | |
BufferSize |
Definition at line 33 of file qnetworkinterface_linux.cpp.
|
static |
Definition at line 272 of file qnetworkinterface_linux.cpp.
|
static |
Definition at line 204 of file qnetworkinterface_linux.cpp.
References QNetworkInterfacePrivate::index, and QNetworkInterfacePrivate::mtu.
|
static |
Definition at line 37 of file qnetworkinterface_linux.cpp.