Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages

IPHlpApi.h File Reference

#include <iprtrmib.h>
#include <ipexport.h>
#include <iptypes.h>

Go to the source code of this file.

Functions

DWORD WINAPI GetNumberOfInterfaces (OUT PDWORD pdwNumIf)
DWORD WINAPI GetIfEntry (IN OUT PMIB_IFROW pIfRow)
DWORD WINAPI GetIfTable (OUT PMIB_IFTABLE pIfTable, IN OUT PULONG pdwSize, IN BOOL bOrder)
DWORD WINAPI GetIpAddrTable (OUT PMIB_IPADDRTABLE pIpAddrTable, IN OUT PULONG pdwSize, IN BOOL bOrder)
DWORD WINAPI GetIpNetTable (OUT PMIB_IPNETTABLE pIpNetTable, IN OUT PULONG pdwSize, IN BOOL bOrder)
DWORD WINAPI GetIpForwardTable (OUT PMIB_IPFORWARDTABLE pIpForwardTable, IN OUT PULONG pdwSize, IN BOOL bOrder)
DWORD WINAPI GetTcpTable (OUT PMIB_TCPTABLE pTcpTable, IN OUT PDWORD pdwSize, IN BOOL bOrder)
DWORD WINAPI GetUdpTable (OUT PMIB_UDPTABLE pUdpTable, IN OUT PDWORD pdwSize, IN BOOL bOrder)
DWORD WINAPI GetIpStatistics (OUT PMIB_IPSTATS pStats)
DWORD WINAPI GetIcmpStatistics (OUT PMIB_ICMP pStats)
DWORD WINAPI GetTcpStatistics (OUT PMIB_TCPSTATS pStats)
DWORD WINAPI GetUdpStatistics (OUT PMIB_UDPSTATS pStats)
DWORD WINAPI SetIfEntry (IN PMIB_IFROW pIfRow)
DWORD WINAPI CreateIpForwardEntry (IN PMIB_IPFORWARDROW pRoute)
DWORD WINAPI SetIpForwardEntry (IN PMIB_IPFORWARDROW pRoute)
DWORD WINAPI DeleteIpForwardEntry (IN PMIB_IPFORWARDROW pRoute)
DWORD WINAPI SetIpStatistics (IN PMIB_IPSTATS pIpStats)
DWORD WINAPI SetIpTTL (UINT nTTL)
DWORD WINAPI CreateIpNetEntry (IN PMIB_IPNETROW pArpEntry)
DWORD WINAPI SetIpNetEntry (IN PMIB_IPNETROW pArpEntry)
DWORD WINAPI DeleteIpNetEntry (IN PMIB_IPNETROW pArpEntry)
DWORD WINAPI FlushIpNetTable (IN DWORD dwIfIndex)
DWORD WINAPI CreateProxyArpEntry (IN DWORD dwAddress, IN DWORD dwMask, IN DWORD dwIfIndex)
DWORD WINAPI DeleteProxyArpEntry (IN DWORD dwAddress, IN DWORD dwMask, IN DWORD dwIfIndex)
DWORD WINAPI SetTcpEntry (IN PMIB_TCPROW pTcpRow)
DWORD WINAPI GetInterfaceInfo (IN PIP_INTERFACE_INFO pIfTable, OUT PULONG dwOutBufLen)
DWORD WINAPI GetUniDirectionalAdapterInfo (OUT PIP_UNIDIRECTIONAL_ADAPTER_ADDRESS pIPIfInfo, OUT PULONG dwOutBufLen)
DWORD WINAPI GetBestInterface (IN IPAddr dwDestAddr, OUT PDWORD pdwBestIfIndex)
DWORD WINAPI GetBestRoute (IN DWORD dwDestAddr, IN DWORD dwSourceAddr, OPTIONAL OUT PMIB_IPFORWARDROW pBestRoute)
DWORD WINAPI NotifyAddrChange (OUT PHANDLE Handle, IN LPOVERLAPPED overlapped)
DWORD WINAPI NotifyRouteChange (OUT PHANDLE Handle, IN LPOVERLAPPED overlapped)
DWORD WINAPI GetAdapterIndex (IN LPWSTR AdapterName, OUT PULONG IfIndex)
DWORD WINAPI AddIPAddress (IPAddr Address, IPMask IpMask, DWORD IfIndex, PULONG NTEContext, PULONG NTEInstance)
DWORD WINAPI DeleteIPAddress (ULONG NTEContext)
DWORD WINAPI GetNetworkParams (PFIXED_INFO pFixedInfo, PULONG pOutBufLen)
DWORD WINAPI GetAdaptersInfo (PIP_ADAPTER_INFO pAdapterInfo, PULONG pOutBufLen)
DWORD WINAPI GetPerAdapterInfo (ULONG IfIndex, PIP_PER_ADAPTER_INFO pPerAdapterInfo, PULONG pOutBufLen)
DWORD WINAPI IpReleaseAddress (PIP_ADAPTER_INDEX_MAP AdapterInfo)
DWORD WINAPI IpRenewAddress (PIP_ADAPTER_INDEX_MAP AdapterInfo)
DWORD WINAPI SendARP (IPAddr DestIP, IPAddr SrcIP, PULONG pMacAddr, PULONG PhyAddrLen)
BOOL WINAPI GetRTTAndHopCount (IPAddr DestIpAddress, PULONG HopCount, ULONG MaxHops, PULONG RTT)
DWORD WINAPI GetFriendlyIfIndex (DWORD IfIndex)
DWORD WINAPI EnableRouter (HANDLE *pHandle, OVERLAPPED *pOverlapped)
DWORD WINAPI UnenableRouter (OVERLAPPED *pOverlapped, LPDWORD lpdwEnableCount OPTIONAL)


Function Documentation

DWORD WINAPI AddIPAddress IPAddr  Address,
IPMask  IpMask,
DWORD  IfIndex,
PULONG  NTEContext,
PULONG  NTEInstance
 

Referenced by intf_set().

DWORD WINAPI CreateIpForwardEntry IN PMIB_IPFORWARDROW  pRoute  ) 
 

Referenced by route_add().

DWORD WINAPI CreateIpNetEntry IN PMIB_IPNETROW  pArpEntry  ) 
 

Referenced by arp_add().

DWORD WINAPI CreateProxyArpEntry IN DWORD  dwAddress,
IN DWORD  dwMask,
IN DWORD  dwIfIndex
 

DWORD WINAPI DeleteIPAddress ULONG  NTEContext  ) 
 

DWORD WINAPI DeleteIpForwardEntry IN PMIB_IPFORWARDROW  pRoute  ) 
 

Referenced by route_delete().

DWORD WINAPI DeleteIpNetEntry IN PMIB_IPNETROW  pArpEntry  ) 
 

Referenced by arp_delete().

DWORD WINAPI DeleteProxyArpEntry IN DWORD  dwAddress,
IN DWORD  dwMask,
IN DWORD  dwIfIndex
 

DWORD WINAPI EnableRouter HANDLE *  pHandle,
OVERLAPPED *  pOverlapped
 

DWORD WINAPI FlushIpNetTable IN DWORD  dwIfIndex  ) 
 

DWORD WINAPI GetAdapterIndex IN LPWSTR  AdapterName,
OUT PULONG  IfIndex
 

DWORD WINAPI GetAdaptersInfo PIP_ADAPTER_INFO  pAdapterInfo,
PULONG  pOutBufLen
 

Referenced by fw_open().

DWORD WINAPI GetBestInterface IN IPAddr  dwDestAddr,
OUT PDWORD  pdwBestIfIndex
 

Referenced by intf_get_dst(), and route_add().

DWORD WINAPI GetBestRoute IN DWORD  dwDestAddr,
IN DWORD  dwSourceAddr,
OPTIONAL OUT PMIB_IPFORWARDROW  pBestRoute
 

Referenced by arp_add(), arp_delete(), route_delete(), and route_get().

DWORD WINAPI GetFriendlyIfIndex DWORD  IfIndex  ) 
 

DWORD WINAPI GetIcmpStatistics OUT PMIB_ICMP  pStats  ) 
 

DWORD WINAPI GetIfEntry IN OUT PMIB_IFROW  pIfRow  ) 
 

Referenced by intf_get(), intf_get_dst(), and intf_get_src().

DWORD WINAPI GetIfTable OUT PMIB_IFTABLE  pIfTable,
IN OUT PULONG  pdwSize,
IN BOOL  bOrder
 

Referenced by _refresh_tables().

DWORD WINAPI GetInterfaceInfo IN PIP_INTERFACE_INFO  pIfTable,
OUT PULONG  dwOutBufLen
 

DWORD WINAPI GetIpAddrTable OUT PMIB_IPADDRTABLE  pIpAddrTable,
IN OUT PULONG  pdwSize,
IN BOOL  bOrder
 

Referenced by _refresh_tables().

DWORD WINAPI GetIpForwardTable OUT PMIB_IPFORWARDTABLE  pIpForwardTable,
IN OUT PULONG  pdwSize,
IN BOOL  bOrder
 

Referenced by route_loop().

DWORD WINAPI GetIpNetTable OUT PMIB_IPNETTABLE  pIpNetTable,
IN OUT PULONG  pdwSize,
IN BOOL  bOrder
 

Referenced by arp_loop().

DWORD WINAPI GetIpStatistics OUT PMIB_IPSTATS  pStats  ) 
 

DWORD WINAPI GetNetworkParams PFIXED_INFO  pFixedInfo,
PULONG  pOutBufLen
 

DWORD WINAPI GetNumberOfInterfaces OUT PDWORD  pdwNumIf  ) 
 

DWORD WINAPI GetPerAdapterInfo ULONG  IfIndex,
PIP_PER_ADAPTER_INFO  pPerAdapterInfo,
PULONG  pOutBufLen
 

BOOL WINAPI GetRTTAndHopCount IPAddr  DestIpAddress,
PULONG  HopCount,
ULONG  MaxHops,
PULONG  RTT
 

DWORD WINAPI GetTcpStatistics OUT PMIB_TCPSTATS  pStats  ) 
 

DWORD WINAPI GetTcpTable OUT PMIB_TCPTABLE  pTcpTable,
IN OUT PDWORD  pdwSize,
IN BOOL  bOrder
 

DWORD WINAPI GetUdpStatistics OUT PMIB_UDPSTATS  pStats  ) 
 

DWORD WINAPI GetUdpTable OUT PMIB_UDPTABLE  pUdpTable,
IN OUT PDWORD  pdwSize,
IN BOOL  bOrder
 

DWORD WINAPI GetUniDirectionalAdapterInfo OUT PIP_UNIDIRECTIONAL_ADAPTER_ADDRESS  pIPIfInfo,
OUT PULONG  dwOutBufLen
 

DWORD WINAPI IpReleaseAddress PIP_ADAPTER_INDEX_MAP  AdapterInfo  ) 
 

DWORD WINAPI IpRenewAddress PIP_ADAPTER_INDEX_MAP  AdapterInfo  ) 
 

DWORD WINAPI NotifyAddrChange OUT PHANDLE  Handle,
IN LPOVERLAPPED  overlapped
 

DWORD WINAPI NotifyRouteChange OUT PHANDLE  Handle,
IN LPOVERLAPPED  overlapped
 

DWORD WINAPI SendARP IPAddr  DestIP,
IPAddr  SrcIP,
PULONG  pMacAddr,
PULONG  PhyAddrLen
 

DWORD WINAPI SetIfEntry IN PMIB_IFROW  pIfRow  ) 
 

DWORD WINAPI SetIpForwardEntry IN PMIB_IPFORWARDROW  pRoute  ) 
 

DWORD WINAPI SetIpNetEntry IN PMIB_IPNETROW  pArpEntry  ) 
 

DWORD WINAPI SetIpStatistics IN PMIB_IPSTATS  pIpStats  ) 
 

DWORD WINAPI SetIpTTL UINT  nTTL  ) 
 

DWORD WINAPI SetTcpEntry IN PMIB_TCPROW  pTcpRow  ) 
 

DWORD WINAPI UnenableRouter OVERLAPPED *  pOverlapped,
LPDWORD lpdwEnableCount  OPTIONAL
 


Generated on Sun May 14 14:51:27 2006 by  doxygen 1.4.2