ReactOS 0.4.16-dev-109-gf4cb10f
|
#include <stdio.h>
#include <stdlib.h>
#include <windef.h>
#include <winbase.h>
#include <winreg.h>
#include <winnls.h>
#include <ws2tcpip.h>
#include <ndk/iofuncs.h>
#include <ndk/obfuncs.h>
#include <ndk/rtlfuncs.h>
#include <iphlpapi.h>
#include "resinfo.h"
#include <wine/debug.h>
#include "dhcp.h"
#include <dhcpcsdk.h>
#include <dhcpcapi.h>
#include <tdiinfo.h>
#include <tcpioctl.h>
#include <tdilib.h>
#include "ifenum.h"
#include "ipstats.h"
#include "route.h"
#include <w32api.h>
Go to the source code of this file.
Classes | |
struct | _IPRouteEntry |
union | _IFEntrySafelySized |
union | _TCP_REQUEST_SET_INFORMATION_EX_ROUTE_ENTRY |
union | _TCP_REQUEST_SET_INFORMATION_EX_ARP_ENTRY |
struct | _IFInfo |
struct | _IP_SET_DATA |
Macros | |
#define | NtCurrentTeb NtXCurrentTeb |
#define | WIN32_NO_STATUS |
#define | _INC_WINDOWS |
#define | COM_NO_WINDOWS_H |
#define | NTOS_MODE_USER |
#define | ETH_ALEN 6 |
#define | INADDR_NONE (~0U) |
#define | IFENT_SOFTWARE_LOOPBACK 24 /* This is an SNMP constant from rfc1213 */ |
#define | INDEX_IS_LOOPBACK 0x00800000 |
#define | IFNAMSIZ 0x20 |
#define | TCP_REQUEST_QUERY_INFORMATION_INIT { { { 0 } } } |
#define | TCP_REQUEST_SET_INFORMATION_INIT { { 0 } } |
#define | GAA_FLAG_SKIP_UNICAST 0x0001 |
#define | GAA_FLAG_SKIP_FRIENDLY_NAME 0x0020 |
Typedefs | |
typedef struct _IPRouteEntry | IPRouteEntry |
typedef char * | caddr_t |
typedef union _IFEntrySafelySized | IFEntrySafelySized |
typedef union _TCP_REQUEST_SET_INFORMATION_EX_ROUTE_ENTRY | TCP_REQUEST_SET_INFORMATION_EX_ROUTE_ENTRY |
typedef union _TCP_REQUEST_SET_INFORMATION_EX_ROUTE_ENTRY * | PTCP_REQUEST_SET_INFORMATION_EX_ROUTE_ENTRY |
typedef union _TCP_REQUEST_SET_INFORMATION_EX_ARP_ENTRY | TCP_REQUEST_SET_INFORMATION_EX_ARP_ENTRY |
typedef union _TCP_REQUEST_SET_INFORMATION_EX_ARP_ENTRY * | PTCP_REQUEST_SET_INFORMATION_EX_ARP_ENTRY |
typedef struct _IFInfo | IFInfo |
typedef struct _IP_SET_DATA | IP_SET_DATA |
typedef struct _IP_SET_DATA * | PIP_SET_DATA |
typedef enum _IPHLPAddrType | IPHLPAddrType |
typedef VOID(* | EnumNameServersFunc) (PWCHAR Interface, PWCHAR NameServer, PVOID Data) |
Enumerations | |
enum | _IPHLPAddrType { IPAAddr , IPABcast , IPAMask , IFMtu , IFStatus } |
#define _INC_WINDOWS |
Definition at line 23 of file iphlpapi_private.h.
#define COM_NO_WINDOWS_H |
Definition at line 24 of file iphlpapi_private.h.
#define ETH_ALEN 6 |
Definition at line 53 of file iphlpapi_private.h.
#define GAA_FLAG_SKIP_FRIENDLY_NAME 0x0020 |
Definition at line 81 of file iphlpapi_private.h.
#define GAA_FLAG_SKIP_UNICAST 0x0001 |
Definition at line 77 of file iphlpapi_private.h.
Definition at line 61 of file iphlpapi_private.h.
#define IFNAMSIZ 0x20 |
Definition at line 69 of file iphlpapi_private.h.
#define INADDR_NONE (~0U) |
Definition at line 57 of file iphlpapi_private.h.
#define INDEX_IS_LOOPBACK 0x00800000 |
Definition at line 64 of file iphlpapi_private.h.
Definition at line 4 of file iphlpapi_private.h.
#define NTOS_MODE_USER |
Definition at line 31 of file iphlpapi_private.h.
#define TCP_REQUEST_QUERY_INFORMATION_INIT { { { 0 } } } |
Definition at line 72 of file iphlpapi_private.h.
#define TCP_REQUEST_SET_INFORMATION_INIT { { 0 } } |
Definition at line 73 of file iphlpapi_private.h.
#define WIN32_NO_STATUS |
Definition at line 22 of file iphlpapi_private.h.
Definition at line 103 of file iphlpapi_private.h.
Definition at line 159 of file iphlpapi_private.h.
typedef union _IFEntrySafelySized IFEntrySafelySized |
typedef struct _IP_SET_DATA IP_SET_DATA |
typedef enum _IPHLPAddrType IPHLPAddrType |
typedef struct _IPRouteEntry IPRouteEntry |
typedef struct _IP_SET_DATA * PIP_SET_DATA |
typedef union _TCP_REQUEST_SET_INFORMATION_EX_ROUTE_ENTRY * PTCP_REQUEST_SET_INFORMATION_EX_ROUTE_ENTRY |
typedef union _TCP_REQUEST_SET_INFORMATION_EX_ROUTE_ENTRY TCP_REQUEST_SET_INFORMATION_EX_ROUTE_ENTRY |
Enumerator | |
---|---|
IPAAddr | |
IPABcast | |
IPAMask | |
IFMtu | |
IFStatus |
Definition at line 139 of file iphlpapi_private.h.
Definition at line 63 of file registry.c.
Definition at line 140 of file registry.c.
LSTATUS EnumNameServers | ( | HKEY | RegHandle, |
LPWSTR | Interface, | ||
PVOID | Data, | ||
EnumNameServersFunc | cb | ||
) |
Referenced by GetPerAdapterInfo().
Definition at line 376 of file compname.c.
Referenced by get_computer_name(), GetComputerNameA(), ShowInfo(), START_TEST(), TestGetComputerNameEx(), and TestReturnValues().
Definition at line 460 of file ifenum_reactos.c.
Referenced by getAddrByIndexOrName().
Definition at line 3 of file registry.c.
Referenced by GetNthChildKeyName().
Definition at line 39 of file registry.c.
NTSTATUS getNthIpEntity | ( | HANDLE | tcpFile, |
DWORD | index, | ||
TDIEntityID * | ent | ||
) |
Prototypes
Definition at line 65 of file ipstats_reactos.c.
Referenced by createIpForwardEntry(), deleteIpForwardEntry(), getInterfaceInfoSet(), getRouteTable(), and SetIpNetEntry().
BOOL hasArp | ( | HANDLE | tcpFile, |
TDIEntityID * | arp_maybe | ||
) |
Definition at line 131 of file ifenum_reactos.c.
Referenced by getArpTable(), getNumArpEntries(), getNumTcpEntries(), getNumUdpEntries(), getTcpTable(), and getUdpTable().
BOOL isInterface | ( | TDIEntityID * | if_maybe | ) |
Definition at line 114 of file ifenum_reactos.c.
Referenced by getArpTable(), getInterfaceInfoSet(), getNthInterfaceEntity(), getNumArpEntries(), and getNumInterfacesInt().
Definition at line 25 of file registry.c.
Definition at line 119 of file registry.c.
Definition at line 144 of file registry.c.
DWORD TCPSendIoctl | ( | HANDLE | hDevice, |
DWORD | dwIoControlCode, | ||
LPVOID | lpInBuffer, | ||
PULONG | pInBufferSize, | ||
LPVOID | lpOutBuffer, | ||
PULONG | pOutBufferSize | ||
) |
Definition at line 13 of file iphlpapi_reactos.c.
Referenced by SendARP().
NTSTATUS tdiGetIpAddrsForIpEntity | ( | HANDLE | tcpFile, |
TDIEntityID * | ent, | ||
IPAddrEntry ** | addrs, | ||
PDWORD | numAddrs | ||
) |
Definition at line 170 of file ipstats_reactos.c.
Referenced by getInterfaceInfoSet().