Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Interop.IpHlpApi Class Reference

Classes

struct  FIXED_INFO
 
struct  Icmp6EchoReply
 
struct  IcmpEchoReply
 
struct  IP_ADDR_STRING
 
struct  IpAdapterAddress
 
struct  IpAdapterAddresses
 
struct  IpAdapterUnicastAddress
 
struct  IpAddrString
 
struct  IPOptions
 
struct  IpPerAdapterInfo
 
struct  IpSocketAddress
 
struct  Ipv6Address
 
struct  MibIcmpInfo
 
struct  MibIcmpInfoEx
 
struct  MibIcmpStats
 
struct  MibIcmpStatsEx
 
struct  MibIfRow2
 
struct  MibIpStats
 
struct  MibTcp6RowOwnerPid
 
struct  MibTcp6TableOwnerPid
 
struct  MibTcpRow
 
struct  MibTcpStats
 
struct  MibTcpTable
 
struct  MibUdp6RowOwnerPid
 
struct  MibUdp6TableOwnerPid
 
struct  MibUdpRow
 
struct  MibUdpStats
 
struct  MibUdpTable
 
class  SafeCloseIcmpHandle
 

Package Types

enum  AdapterFlags {
  DnsEnabled = 1 , RegisterAdapterSuffix = 2 , DhcpEnabled = 4 , ReceiveOnly = 8 ,
  NoMulticast = 0x10 , Ipv6OtherStatefulConfig = 0x20 , NetBiosOverTcp = 0x40 , IPv4Enabled = 0x80 ,
  IPv6Enabled = 0x100 , IPv6ManagedAddressConfigurationSupported = 0x200
}
 
enum  AdapterAddressFlags { DnsEligible = 1 , Transient = 2 }
 
enum  GetAdaptersAddressesFlags {
  SkipUnicast = 1 , SkipAnycast = 2 , SkipMulticast = 4 , SkipDnsServer = 8 ,
  IncludePrefix = 0x10 , SkipFriendlyName = 0x20 , IncludeWins = 0x40 , IncludeGateways = 0x80 ,
  IncludeAllInterfaces = 0x100 , IncludeAllCompartments = 0x200 , IncludeTunnelBindingOrder = 0x400
}
 
enum  InterfaceConnectionType { Dedicated = 1 , Passive , Demand , Maximum }
 
enum  InterfaceTunnelType {
  None = 0 , Other = 1 , Direct = 2 , SixToFour = 11 ,
  Isatap = 13 , Teredo = 14 , IpHttps = 15
}
 
enum  TcpTableClass {
  TcpTableBasicListener , TcpTableBasicConnections , TcpTableBasicAll , TcpTableOwnerPidListener ,
  TcpTableOwnerPidConnections , TcpTableOwnerPidAll , TcpTableOwnerModuleListener , TcpTableOwnerModuleConnections ,
  TcpTableOwnerModuleAll
}
 
enum  UdpTableClass { UdpTableBasic , UdpTableOwnerPid , UdpTableOwnerModule }
 

Package Functions

static uint GetNetworkParams (IntPtr pFixedInfo, ref uint pOutBufLen)
 
static uint GetAdaptersAddresses (AddressFamily family, uint flags, IntPtr pReserved, IntPtr adapterAddresses, ref uint outBufLen)
 
static uint GetBestInterfaceEx (byte[] ipAddress, out int index)
 
static uint GetIfEntry2 (ref MibIfRow2 pIfRow)
 
static uint GetIpStatisticsEx (out MibIpStats statistics, AddressFamily family)
 
static uint GetTcpStatisticsEx (out MibTcpStats statistics, AddressFamily family)
 
static uint GetUdpStatisticsEx (out MibUdpStats statistics, AddressFamily family)
 
static uint GetIcmpStatistics (out MibIcmpInfo statistics)
 
static uint GetIcmpStatisticsEx (out MibIcmpInfoEx statistics, AddressFamily family)
 
static uint GetTcpTable (IntPtr pTcpTable, ref uint dwOutBufLen, bool order)
 
static uint GetExtendedTcpTable (IntPtr pTcpTable, ref uint dwOutBufLen, bool order, uint IPVersion, TcpTableClass tableClass, uint reserved)
 
static uint GetUdpTable (IntPtr pUdpTable, ref uint dwOutBufLen, bool order)
 
static uint GetExtendedUdpTable (IntPtr pUdpTable, ref uint dwOutBufLen, bool order, uint IPVersion, UdpTableClass tableClass, uint reserved)
 
static uint GetPerAdapterInfo (uint IfIndex, IntPtr pPerAdapterInfo, ref uint pOutBufLen)
 
static void FreeMibTable (IntPtr handle)
 
static uint CancelMibChangeNotify2 (IntPtr notificationHandle)
 
static unsafe uint NotifyStableUnicastIpAddressTable (AddressFamily addressFamily, out SafeFreeMibTable table, delegate *unmanaged< IntPtr, IntPtr, void > callback, IntPtr context, out SafeCancelMibChangeNotify notificationHandle)
 
static SafeCloseIcmpHandle IcmpCreateFile ()
 
static SafeCloseIcmpHandle Icmp6CreateFile ()
 
static bool IcmpCloseHandle (IntPtr handle)
 
static uint IcmpSendEcho2 (SafeCloseIcmpHandle icmpHandle, SafeWaitHandle Event, IntPtr apcRoutine, IntPtr apcContext, uint ipAddress, [In] SafeLocalAllocHandle data, ushort dataSize, ref IPOptions options, SafeLocalAllocHandle replyBuffer, uint replySize, uint timeout)
 
static uint Icmp6SendEcho2 (SafeCloseIcmpHandle icmpHandle, SafeWaitHandle Event, IntPtr apcRoutine, IntPtr apcContext, byte[] sourceSocketAddress, byte[] destSocketAddress, [In] SafeLocalAllocHandle data, ushort dataSize, ref IPOptions options, SafeLocalAllocHandle replyBuffer, uint replySize, uint timeout)
 
static uint GetNetworkParams (IntPtr pFixedInfo, ref uint pOutBufLen)
 
static uint if_nametoindex (string name)
 

Detailed Description

Definition at line 10 of file Interop.cs.


The documentation for this class was generated from the following files: