Qt 4.8
Classes | Macros | Typedefs | Enumerations
qnetworkinterface_win_p.h File Reference
#include <winsock2.h>
#include <qt_windows.h>
#include <time.h>

Go to the source code of this file.

Classes

struct  _IP_ADAPTER_ADDRESSES
 
struct  _IP_ADAPTER_INFO
 
struct  _IP_ADAPTER_PREFIX
 
struct  _IP_ADAPTER_UNICAST_ADDRESS
 
struct  _IP_ADDR_STRING
 
struct  FIXED_INFO
 
struct  IP_ADDRESS_STRING
 
struct  qt_in6_addr
 
struct  qt_sockaddr_in6
 

Macros

#define DEFAULT_MINIMUM_ENTITIES   32
 
#define GAA_FLAG_INCLUDE_ALL_INTERFACES   0x0100
 
#define GAA_FLAG_INCLUDE_PREFIX   0x0010
 
#define GAA_FLAG_SKIP_ANYCAST   0x0002
 
#define GAA_FLAG_SKIP_DNS_SERVER   0x0008
 
#define GAA_FLAG_SKIP_FRIENDLY_NAME   0x0020
 
#define GAA_FLAG_SKIP_MULTICAST   0x0004
 
#define GAA_FLAG_SKIP_UNICAST   0x0001
 
#define IP_ADAPTER_DDNS_ENABLED   0x01
 
#define IP_ADAPTER_DHCP_ENABLED   0x04
 
#define IP_ADAPTER_IPV6_OTHER_STATEFUL_CONFIG   0x20
 
#define IP_ADAPTER_NO_MULTICAST   0x10
 
#define IP_ADAPTER_RECEIVE_ONLY   0x08
 
#define IP_ADAPTER_REGISTER_ADAPTER_SUFFIX   0x02
 
#define MAX_ADAPTER_ADDRESS_LENGTH   8
 
#define MAX_ADAPTER_DESCRIPTION_LENGTH   128
 
#define MAX_ADAPTER_NAME_LENGTH   256
 
#define MAX_DOMAIN_NAME_LEN   128
 
#define MAX_HOSTNAME_LEN   128
 
#define MAX_SCOPE_ID_LEN   256
 
#define MIB_IF_TYPE_ETHERNET   6
 
#define MIB_IF_TYPE_FDDI   15
 
#define MIB_IF_TYPE_LOOPBACK   24
 
#define MIB_IF_TYPE_OTHER   1
 
#define MIB_IF_TYPE_PPP   23
 
#define MIB_IF_TYPE_SLIP   28
 
#define MIB_IF_TYPE_TOKENRING   9
 

Typedefs

typedef struct _IP_ADAPTER_ADDRESSES IP_ADAPTER_ADDRESSES
 
typedef struct _IP_ADAPTER_ANYCAST_ADDRESS IP_ADAPTER_ANYCAST_ADDRESS
 
typedef struct _IP_ADAPTER_DNS_SERVER_ADDRESS IP_ADAPTER_DNS_SERVER_ADDRESS
 
typedef struct _IP_ADAPTER_INFO IP_ADAPTER_INFO
 
typedef struct _IP_ADAPTER_MULTICAST_ADDRESS IP_ADAPTER_MULTICAST_ADDRESS
 
typedef struct _IP_ADAPTER_PREFIX IP_ADAPTER_PREFIX
 
typedef struct _IP_ADAPTER_UNICAST_ADDRESS IP_ADAPTER_UNICAST_ADDRESS
 
typedef struct _IP_ADDR_STRING IP_ADDR_STRING
 
typedef struct IP_ADDRESS_STRING IP_MASK_STRING
 
typedef struct FIXED_INFOPFIXED_INFO
 
typedef struct _IP_ADAPTER_ADDRESSESPIP_ADAPTER_ADDRESSES
 
typedef struct _IP_ADAPTER_ANYCAST_ADDRESS * PIP_ADAPTER_ANYCAST_ADDRESS
 
typedef struct _IP_ADAPTER_DNS_SERVER_ADDRESS * PIP_ADAPTER_DNS_SERVER_ADDRESS
 
typedef struct _IP_ADAPTER_INFOPIP_ADAPTER_INFO
 
typedef struct _IP_ADAPTER_MULTICAST_ADDRESS * PIP_ADAPTER_MULTICAST_ADDRESS
 
typedef struct _IP_ADAPTER_PREFIXPIP_ADAPTER_PREFIX
 
typedef struct _IP_ADAPTER_UNICAST_ADDRESSPIP_ADAPTER_UNICAST_ADDRESS
 
typedef struct _IP_ADDR_STRINGPIP_ADDR_STRING
 
typedef struct IP_ADDRESS_STRINGPIP_ADDRESS_STRING
 
typedef struct IP_ADDRESS_STRINGPIP_MASK_STRING
 

Enumerations

enum  IF_OPER_STATUS {
  IfOperStatusUp = 1, IfOperStatusDown, IfOperStatusTesting, IfOperStatusUnknown,
  IfOperStatusDormant, IfOperStatusNotPresent, IfOperStatusLowerLayerDown
}
 
enum  IP_DAD_STATE {
  IpDadStateInvalid = 0, IpDadStateTentative, IpDadStateDuplicate, IpDadStateDeprecated,
  IpDadStatePreferred
}
 
enum  IP_PREFIX_ORIGIN {
  IpPrefixOriginOther = 0, IpPrefixOriginManual, IpPrefixOriginWellKnown, IpPrefixOriginDhcp,
  IpPrefixOriginRouterAdvertisement
}
 
enum  IP_SUFFIX_ORIGIN {
  IpSuffixOriginOther = 0, IpSuffixOriginManual, IpSuffixOriginWellKnown, IpSuffixOriginDhcp,
  IpSuffixOriginLinkLayerAddress, IpSuffixOriginRandom
}
 

Macro Definition Documentation

◆ DEFAULT_MINIMUM_ENTITIES

#define DEFAULT_MINIMUM_ENTITIES   32

Definition at line 70 of file qnetworkinterface_win_p.h.

◆ GAA_FLAG_INCLUDE_ALL_INTERFACES

#define GAA_FLAG_INCLUDE_ALL_INTERFACES   0x0100

Definition at line 63 of file qnetworkinterface_win_p.h.

◆ GAA_FLAG_INCLUDE_PREFIX

#define GAA_FLAG_INCLUDE_PREFIX   0x0010

Definition at line 79 of file qnetworkinterface_win_p.h.

Referenced by interfaceListingWinXP().

◆ GAA_FLAG_SKIP_ANYCAST

#define GAA_FLAG_SKIP_ANYCAST   0x0002

Definition at line 76 of file qnetworkinterface_win_p.h.

◆ GAA_FLAG_SKIP_DNS_SERVER

#define GAA_FLAG_SKIP_DNS_SERVER   0x0008

Definition at line 78 of file qnetworkinterface_win_p.h.

Referenced by interfaceListingWinXP().

◆ GAA_FLAG_SKIP_FRIENDLY_NAME

#define GAA_FLAG_SKIP_FRIENDLY_NAME   0x0020

Definition at line 80 of file qnetworkinterface_win_p.h.

◆ GAA_FLAG_SKIP_MULTICAST

#define GAA_FLAG_SKIP_MULTICAST   0x0004

Definition at line 77 of file qnetworkinterface_win_p.h.

Referenced by interfaceListingWinXP().

◆ GAA_FLAG_SKIP_UNICAST

#define GAA_FLAG_SKIP_UNICAST   0x0001

Definition at line 75 of file qnetworkinterface_win_p.h.

◆ IP_ADAPTER_DDNS_ENABLED

#define IP_ADAPTER_DDNS_ENABLED   0x01

Definition at line 82 of file qnetworkinterface_win_p.h.

◆ IP_ADAPTER_DHCP_ENABLED

#define IP_ADAPTER_DHCP_ENABLED   0x04

Definition at line 84 of file qnetworkinterface_win_p.h.

◆ IP_ADAPTER_IPV6_OTHER_STATEFUL_CONFIG

#define IP_ADAPTER_IPV6_OTHER_STATEFUL_CONFIG   0x20

Definition at line 87 of file qnetworkinterface_win_p.h.

◆ IP_ADAPTER_NO_MULTICAST

#define IP_ADAPTER_NO_MULTICAST   0x10

Definition at line 86 of file qnetworkinterface_win_p.h.

Referenced by interfaceListingWinXP().

◆ IP_ADAPTER_RECEIVE_ONLY

#define IP_ADAPTER_RECEIVE_ONLY   0x08

Definition at line 85 of file qnetworkinterface_win_p.h.

◆ IP_ADAPTER_REGISTER_ADAPTER_SUFFIX

#define IP_ADAPTER_REGISTER_ADAPTER_SUFFIX   0x02

Definition at line 83 of file qnetworkinterface_win_p.h.

◆ MAX_ADAPTER_ADDRESS_LENGTH

#define MAX_ADAPTER_ADDRESS_LENGTH   8

Definition at line 69 of file qnetworkinterface_win_p.h.

◆ MAX_ADAPTER_DESCRIPTION_LENGTH

#define MAX_ADAPTER_DESCRIPTION_LENGTH   128

Definition at line 67 of file qnetworkinterface_win_p.h.

◆ MAX_ADAPTER_NAME_LENGTH

#define MAX_ADAPTER_NAME_LENGTH   256

Definition at line 68 of file qnetworkinterface_win_p.h.

◆ MAX_DOMAIN_NAME_LEN

#define MAX_DOMAIN_NAME_LEN   128

Definition at line 72 of file qnetworkinterface_win_p.h.

◆ MAX_HOSTNAME_LEN

#define MAX_HOSTNAME_LEN   128

Definition at line 71 of file qnetworkinterface_win_p.h.

◆ MAX_SCOPE_ID_LEN

#define MAX_SCOPE_ID_LEN   256

Definition at line 73 of file qnetworkinterface_win_p.h.

◆ MIB_IF_TYPE_ETHERNET

#define MIB_IF_TYPE_ETHERNET   6

Definition at line 90 of file qnetworkinterface_win_p.h.

◆ MIB_IF_TYPE_FDDI

#define MIB_IF_TYPE_FDDI   15

Definition at line 92 of file qnetworkinterface_win_p.h.

◆ MIB_IF_TYPE_LOOPBACK

#define MIB_IF_TYPE_LOOPBACK   24

Definition at line 94 of file qnetworkinterface_win_p.h.

◆ MIB_IF_TYPE_OTHER

#define MIB_IF_TYPE_OTHER   1

Definition at line 89 of file qnetworkinterface_win_p.h.

◆ MIB_IF_TYPE_PPP

#define MIB_IF_TYPE_PPP   23

Definition at line 93 of file qnetworkinterface_win_p.h.

Referenced by interfaceListingWin2k().

◆ MIB_IF_TYPE_SLIP

#define MIB_IF_TYPE_SLIP   28

Definition at line 95 of file qnetworkinterface_win_p.h.

◆ MIB_IF_TYPE_TOKENRING

#define MIB_IF_TYPE_TOKENRING   9

Definition at line 91 of file qnetworkinterface_win_p.h.

Typedef Documentation

◆ IP_ADAPTER_ADDRESSES

◆ IP_ADAPTER_ANYCAST_ADDRESS

typedef struct _IP_ADAPTER_ANYCAST_ADDRESS IP_ADAPTER_ANYCAST_ADDRESS

Definition at line 164 of file qnetworkinterface_win_p.h.

◆ IP_ADAPTER_DNS_SERVER_ADDRESS

typedef struct _IP_ADAPTER_DNS_SERVER_ADDRESS IP_ADAPTER_DNS_SERVER_ADDRESS

Definition at line 171 of file qnetworkinterface_win_p.h.

◆ IP_ADAPTER_INFO

◆ IP_ADAPTER_MULTICAST_ADDRESS

typedef struct _IP_ADAPTER_MULTICAST_ADDRESS IP_ADAPTER_MULTICAST_ADDRESS

Definition at line 167 of file qnetworkinterface_win_p.h.

◆ IP_ADAPTER_PREFIX

◆ IP_ADAPTER_UNICAST_ADDRESS

◆ IP_ADDR_STRING

◆ IP_MASK_STRING

◆ PFIXED_INFO

typedef struct FIXED_INFO * PFIXED_INFO

◆ PIP_ADAPTER_ADDRESSES

◆ PIP_ADAPTER_ANYCAST_ADDRESS

typedef struct _IP_ADAPTER_ANYCAST_ADDRESS * PIP_ADAPTER_ANYCAST_ADDRESS

Definition at line 164 of file qnetworkinterface_win_p.h.

◆ PIP_ADAPTER_DNS_SERVER_ADDRESS

typedef struct _IP_ADAPTER_DNS_SERVER_ADDRESS * PIP_ADAPTER_DNS_SERVER_ADDRESS

Definition at line 171 of file qnetworkinterface_win_p.h.

◆ PIP_ADAPTER_INFO

◆ PIP_ADAPTER_MULTICAST_ADDRESS

typedef struct _IP_ADAPTER_MULTICAST_ADDRESS * PIP_ADAPTER_MULTICAST_ADDRESS

Definition at line 167 of file qnetworkinterface_win_p.h.

◆ PIP_ADAPTER_PREFIX

◆ PIP_ADAPTER_UNICAST_ADDRESS

◆ PIP_ADDR_STRING

typedef struct _IP_ADDR_STRING * PIP_ADDR_STRING

◆ PIP_ADDRESS_STRING

◆ PIP_MASK_STRING

Enumeration Type Documentation

◆ IF_OPER_STATUS

Enumerator
IfOperStatusUp 
IfOperStatusDown 
IfOperStatusTesting 
IfOperStatusUnknown 
IfOperStatusDormant 
IfOperStatusNotPresent 
IfOperStatusLowerLayerDown 

Definition at line 136 of file qnetworkinterface_win_p.h.

◆ IP_DAD_STATE

Enumerator
IpDadStateInvalid 
IpDadStateTentative 
IpDadStateDuplicate 
IpDadStateDeprecated 
IpDadStatePreferred 

Definition at line 128 of file qnetworkinterface_win_p.h.

◆ IP_PREFIX_ORIGIN

Enumerator
IpPrefixOriginOther 
IpPrefixOriginManual 
IpPrefixOriginWellKnown 
IpPrefixOriginDhcp 
IpPrefixOriginRouterAdvertisement 

Definition at line 111 of file qnetworkinterface_win_p.h.

◆ IP_SUFFIX_ORIGIN

Enumerator
IpSuffixOriginOther 
IpSuffixOriginManual 
IpSuffixOriginWellKnown 
IpSuffixOriginDhcp 
IpSuffixOriginLinkLayerAddress 
IpSuffixOriginRandom 

Definition at line 119 of file qnetworkinterface_win_p.h.