22 switch( TargetType ) {
82 NameBuffer[ResultSize] = 0;
99 if(
AddrIsEqual( &CurrentIF->Unicast, MatchAddress ) ||
100 AddrIsEqual( &CurrentIF->Broadcast, MatchAddress ) ) {
144 if (*pAddress++ != *pPrefix++)
197 if (CurrentIF->Context) {
UINT AddrCountPrefixBits(PIP_ADDRESS Netmask)
BOOLEAN AddrIsUnspecified(PIP_ADDRESS Address)
BOOLEAN AddrIsEqual(PIP_ADDRESS Address1, PIP_ADDRESS Address2)
#define NT_SUCCESS(StatCode)
#define TI_DbgPrint(_t_, _x_)
KSPIN_LOCK InterfaceListLock
VOID TcpipReleaseSpinLock(PKSPIN_LOCK SpinLock, KIRQL Irql)
VOID TcpipAcquireSpinLock(PKSPIN_LOCK SpinLock, PKIRQL Irql)
PCHAR A2S(PIP_ADDRESS Address)
PIP_INTERFACE FindOnLinkInterface(PIP_ADDRESS Address)
NTSTATUS GetInterfaceName(PIP_INTERFACE Interface, PCHAR NameBuffer, UINT Len)
NTSTATUS GetInterfaceSpeed(PIP_INTERFACE Interface, PUINT Speed)
PIP_INTERFACE AddrLocateInterface(PIP_ADDRESS MatchAddress)
VOID GetInterfaceConnectionStatus(PIP_INTERFACE Interface, PULONG Result)
PIP_INTERFACE GetDefaultInterface(VOID)
NTSTATUS GetInterfaceIPv4Address(PIP_INTERFACE Interface, ULONG TargetType, PULONG Address)
BOOLEAN HasPrefix(PIP_ADDRESS Address, PIP_ADDRESS Prefix, UINT Length)
#define MIB_IF_OPER_STATUS_DISCONNECTED
#define MIB_IF_OPER_STATUS_OPERATIONAL
#define LAN_STATE_STARTED
struct LAN_ADAPTER * PLAN_ADAPTER
_Use_decl_annotations_ NTSTATUS NTAPI RtlUnicodeToMultiByteN(_Out_ PCHAR MbString, _In_ ULONG MbSize, _Out_opt_ PULONG ResultSize, _In_ PCWCH UnicodeString, _In_ ULONG UnicodeSize)
_In_ ULONG _In_ ULONG _In_ ULONG Length
#define ForEachInterface(n)
#define STATUS_UNSUCCESSFUL
_In_ WDFCOLLECTION _In_ ULONG Index
_Must_inspect_result_ _In_ WDFDEVICE _In_ LPCGUID _Out_ PINTERFACE Interface
_At_(*)(_In_ PWSK_CLIENT Client, _In_opt_ PUNICODE_STRING NodeName, _In_opt_ PUNICODE_STRING ServiceName, _In_opt_ ULONG NameSpace, _In_opt_ GUID *Provider, _In_opt_ PADDRINFOEXW Hints, _Outptr_ PADDRINFOEXW *Result, _In_opt_ PEPROCESS OwningProcess, _In_opt_ PETHREAD OwningThread, _Inout_ PIRP Irp Result)(Mem)) NTSTATUS(WSKAPI *PFN_WSK_GET_ADDRESS_INFO
_Requires_lock_held_ Interrupt _Releases_lock_ Interrupt _In_ _IRQL_restores_ KIRQL OldIrql
_In_ __drv_aliasesMem PSTRING Prefix