• Home
  • Raw
  • Download

Lines Matching refs:pAdapter

156 static bool			IsNortelVPN( IP_ADAPTER_INFO * pAdapter );
157 static bool IsJuniperVPN( IP_ADAPTER_INFO * pAdapter );
158 static bool IsCiscoVPN( IP_ADAPTER_INFO * pAdapter );
2483 IP_ADAPTER_INFO * pAdapter = NULL; in GetRouteDestination() local
2516 pAdapter = pAdapterInfo; in GetRouteDestination()
2527 while (pAdapter) in GetRouteDestination()
2529 if ( ( IsNortelVPN( pAdapter ) || IsJuniperVPN( pAdapter ) || IsCiscoVPN( pAdapter ) ) && in GetRouteDestination()
2530 ( inet_addr( pAdapter->IpAddressList.IpAddress.String ) != 0 ) ) in GetRouteDestination()
2536 pAdapter = pAdapter->Next; in GetRouteDestination()
2541 pAdapter = pAdapterInfo; in GetRouteDestination()
2544 while (pAdapter) in GetRouteDestination()
2549 …if ((pAdapter->Type == MIB_IF_TYPE_ETHERNET) && ( IsValidAddress( pAdapter->IpAddressList.IpAddres… in GetRouteDestination()
2551 *address = inet_addr( pAdapter->IpAddressList.IpAddress.String ); in GetRouteDestination()
2552 *ifIndex = pAdapter->Index; in GetRouteDestination()
2557 pAdapter = pAdapter->Next; in GetRouteDestination()
2587 IsNortelVPN( IP_ADAPTER_INFO * pAdapter ) in IsNortelVPN() argument
2589 return ((pAdapter->Type == MIB_IF_TYPE_ETHERNET) && in IsNortelVPN()
2590 (pAdapter->AddressLength == 6) && in IsNortelVPN()
2591 (pAdapter->Address[0] == 0x44) && in IsNortelVPN()
2592 (pAdapter->Address[1] == 0x45) && in IsNortelVPN()
2593 (pAdapter->Address[2] == 0x53) && in IsNortelVPN()
2594 (pAdapter->Address[3] == 0x54) && in IsNortelVPN()
2595 (pAdapter->Address[4] == 0x42) && in IsNortelVPN()
2596 (pAdapter->Address[5] == 0x00)) ? true : false; in IsNortelVPN()
2601 IsJuniperVPN( IP_ADAPTER_INFO * pAdapter ) in IsJuniperVPN() argument
2603 …return ( strnistr( pAdapter->Description, "Juniper", sizeof( pAdapter->Description ) ) != NULL ) … in IsJuniperVPN()
2608 IsCiscoVPN( IP_ADAPTER_INFO * pAdapter ) in IsCiscoVPN() argument
2610 return ((pAdapter->Type == MIB_IF_TYPE_ETHERNET) && in IsCiscoVPN()
2611 (pAdapter->AddressLength == 6) && in IsCiscoVPN()
2612 (pAdapter->Address[0] == 0x00) && in IsCiscoVPN()
2613 (pAdapter->Address[1] == 0x05) && in IsCiscoVPN()
2614 (pAdapter->Address[2] == 0x9a) && in IsCiscoVPN()
2615 (pAdapter->Address[3] == 0x3c) && in IsCiscoVPN()
2616 (pAdapter->Address[4] == 0x7a) && in IsCiscoVPN()
2617 (pAdapter->Address[5] == 0x00)) ? true : false; in IsCiscoVPN()