Home
last modified time | relevance | path

Searched refs:IpAddress (Results 1 – 25 of 33) sorted by relevance

12

/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/GetNetByAddr/
DGetNetByAddr.c43 UINT8 IpAddress[4]; in main() local
66 IpAddress[0] = (UINT8)RemoteAddress[0]; in main()
67 IpAddress[1] = (UINT8)RemoteAddress[1]; in main()
68 IpAddress[2] = (UINT8)RemoteAddress[2]; in main()
69 IpAddress[3] = (UINT8)RemoteAddress[3]; in main()
70 pNetwork = getnetbyaddr ( *(uint32_t *)&IpAddress[0], AF_INET ); in main()
77 IpAddress[0], in main()
78 IpAddress[1], in main()
79 IpAddress[2], in main()
80 IpAddress[3], in main()
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/GetHostByAddr/
DGetHostByAddr.c44 UINT8 IpAddress[4]; in main() local
70 IpAddress[0] = (UINT8)RemoteAddress[0]; in main()
71 IpAddress[1] = (UINT8)RemoteAddress[1]; in main()
72 IpAddress[2] = (UINT8)RemoteAddress[2]; in main()
73 IpAddress[3] = (UINT8)RemoteAddress[3]; in main()
74 pHost = gethostbyaddr ( (const char *)&IpAddress[0], INADDRSZ, AF_INET ); in main()
/device/linaro/bootloader/edk2/NetworkPkg/Application/IpsecConfig/
DDump.c147 IN EFI_IP_ADDRESS *IpAddress in DumpIpAddress() argument
150 if (IP_VERSION_4 == GetVerFromIpAddr (IpAddress)) { in DumpIpAddress()
153 (UINTN) IpAddress->v4.Addr[0], in DumpIpAddress()
154 (UINTN) IpAddress->v4.Addr[1], in DumpIpAddress()
155 (UINTN) IpAddress->v4.Addr[2], in DumpIpAddress()
156 (UINTN) IpAddress->v4.Addr[3] in DumpIpAddress()
160 if (IP_VERSION_6 == GetVerFromIpAddr (IpAddress)) { in DumpIpAddress()
163 (((UINT16) IpAddress->v6.Addr[0]) << 8) | ((UINT16) IpAddress->v6.Addr[1]), in DumpIpAddress()
164 (((UINT16) IpAddress->v6.Addr[2]) << 8) | ((UINT16) IpAddress->v6.Addr[3]), in DumpIpAddress()
165 (((UINT16) IpAddress->v6.Addr[4]) << 8) | ((UINT16) IpAddress->v6.Addr[5]), in DumpIpAddress()
[all …]
DMatch.c141 … (Indexer->PadId.Id.IpAddress.PrefixLength == PadId->Id.IpAddress.PrefixLength) && in MatchPadEntry()
143 &Indexer->PadId.Id.IpAddress.Address, in MatchPadEntry()
144 &PadId->Id.IpAddress.Address, in MatchPadEntry()
DIndexer.c213 Status = EfiInetAddrRange ((CHAR16 *) ValueStr, &Indexer->PadId.Id.IpAddress); in ConstructPadIndexer()
DPolicyEntryOperation.c1086 Status = EfiInetAddrRange ((CHAR16 *) ValueStr, &(*PadId)->Id.IpAddress); in CreatePadEntry()
1796 …if ((CompareMem (&OldPadId->Id.IpAddress.Address, &NewPadId->Id.IpAddress.Address, sizeof (EFI_IP_… in CombinePadEntry()
1797 (OldPadId->Id.IpAddress.PrefixLength != NewPadId->Id.IpAddress.PrefixLength)) { in CombinePadEntry()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/AMD/Styx/Binary/AmdModulePkg/Common/
DNetworkAddress.h40 UINT8 IpAddress[4]; ///< IPv4 address data, if enabled (xxx.xxx.xxx.xxx) member
46 …UINT8 IpAddress[16]; ///< IPv6 address data, if enabled (xxxx:xxxx:xxxx:xxx:xxxx:xxxx:xxxx:… member
/device/linaro/bootloader/edk2/NetworkPkg/HttpDxe/
DHttpDns.h35 OUT EFI_IPv4_ADDRESS *IpAddress
55 OUT EFI_IPv6_ADDRESS *IpAddress
DHttpDns.c34 OUT EFI_IPv4_ADDRESS *IpAddress in HttpDns4() argument
177 IP4_COPY_ADDRESS (IpAddress, Token.RspData.H2AData->IpList); in HttpDns4()
237 OUT EFI_IPv6_ADDRESS *IpAddress in HttpDns6() argument
374 IP6_COPY_ADDRESS (IpAddress, Token.RspData.H2AData->IpList); in HttpDns6()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/MnpDxe/
DMnpMain.c228 IN EFI_IP_ADDRESS *IpAddress, in MnpMcastIpToMac() argument
238 if ((This == NULL) || (IpAddress == NULL) || (MacAddress == NULL)) { in MnpMcastIpToMac()
242 Ip6Address = &IpAddress->v6; in MnpMcastIpToMac()
245 (!Ipv6Flag && !IP4_IS_MULTICAST (EFI_NTOHL (*IpAddress))) in MnpMcastIpToMac()
277 MacAddress->Addr[3] = (UINT8) (IpAddress->v4.Addr[1] & 0x7F); in MnpMcastIpToMac()
278 MacAddress->Addr[4] = IpAddress->v4.Addr[2]; in MnpMcastIpToMac()
279 MacAddress->Addr[5] = IpAddress->v4.Addr[3]; in MnpMcastIpToMac()
302 IpAddress, in MnpMcastIpToMac()
DMnpImpl.h669 IN EFI_IP_ADDRESS *IpAddress,
/device/linaro/bootloader/edk2/NetworkPkg/DnsDxe/
DDnsImpl.c784 … CompareMem (DnsCacheEntry.IpAddress, Item->DnsCache.IpAddress, sizeof (EFI_IPv4_ADDRESS)) == 0) { in UpdateDns4Cache()
825 NewDnsCache->DnsCache.IpAddress = AllocatePool (sizeof (EFI_IPv4_ADDRESS)); in UpdateDns4Cache()
826 if (NewDnsCache->DnsCache.IpAddress == NULL) { in UpdateDns4Cache()
830 CopyMem (NewDnsCache->DnsCache.IpAddress, DnsCacheEntry.IpAddress, sizeof (EFI_IPv4_ADDRESS)); in UpdateDns4Cache()
875 … CompareMem (DnsCacheEntry.IpAddress, Item->DnsCache.IpAddress, sizeof (EFI_IPv6_ADDRESS)) == 0) { in UpdateDns6Cache()
916 NewDnsCache->DnsCache.IpAddress = AllocatePool (sizeof (EFI_IPv6_ADDRESS)); in UpdateDns6Cache()
917 if (NewDnsCache->DnsCache.IpAddress == NULL) { in UpdateDns6Cache()
921 CopyMem (NewDnsCache->DnsCache.IpAddress, DnsCacheEntry.IpAddress, sizeof (EFI_IPv6_ADDRESS)); in UpdateDns6Cache()
1439 Dns4CacheEntry->IpAddress = AllocateZeroPool (sizeof (EFI_IPv4_ADDRESS)); in ParseDnsResponse()
1440 if (Dns4CacheEntry->IpAddress == NULL) { in ParseDnsResponse()
[all …]
DDnsProtocol.c436 …CopyMem ((Token->RspData.H2AData->IpList) + Index, Item->DnsCache.IpAddress, sizeof (EFI_IPv4_ADDR… in Dns4HostNameToIp()
552 IN EFI_IPv4_ADDRESS IpAddress, in Dns4IpToHostName() argument
746 …if (DnsCacheEntry.HostName == NULL || DnsCacheEntry.IpAddress == NULL || DnsCacheEntry.Timeout == … in Dns4UpdateDnsCache()
1261 …CopyMem ((Token->RspData.H2AData->IpList) + Index, Item->DnsCache.IpAddress, sizeof (EFI_IPv6_ADDR… in Dns6HostNameToIp()
1379 IN EFI_IPv6_ADDRESS IpAddress, in Dns6IpToHostName() argument
1576 …if (DnsCacheEntry.HostName == NULL || DnsCacheEntry.IpAddress == NULL || DnsCacheEntry.Timeout == … in Dns6UpdateDnsCache()
DDnsImpl.h825 IN EFI_IPv4_ADDRESS IpAddress,
1071 IN EFI_IPv6_ADDRESS IpAddress,
DDnsDriver.c385 if (ItemCache4->DnsCache.IpAddress != NULL) { in DnsUnload()
386 FreePool (ItemCache4->DnsCache.IpAddress); in DnsUnload()
403 if (ItemCache6->DnsCache.IpAddress != NULL) { in DnsUnload()
404 FreePool (ItemCache6->DnsCache.IpAddress); in DnsUnload()
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
DDns6.h103 EFI_IPv6_ADDRESS *IpAddress; member
379 IN EFI_IPv6_ADDRESS IpAddress,
DDns4.h113 EFI_IPv4_ADDRESS *IpAddress; member
389 IN EFI_IPv4_ADDRESS IpAddress,
DManagedNetwork.h225 IN EFI_IP_ADDRESS *IpAddress,
DDhcp6.h250 EFI_IPv6_ADDRESS IpAddress; member
DIpSecConfig.h523 EFI_IP_ADDRESS_INFO IpAddress; member
/device/linaro/bootloader/edk2/MdePkg/Include/IndustryStandard/
DIpmiNetFnTransport.h108 UINT8 IpAddress[4]; member
121 UINT8 IpAddress[4]; member
376 UINT8 IpAddress[4]; member
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/ManagedNetwork/
DManagedNetwork.h111 IN EFI_IP_ADDRESS *IpAddress,
/device/linaro/bootloader/edk2/NetworkPkg/HttpBootDxe/
DHttpBootSupport.h230 OUT EFI_IPv6_ADDRESS *IpAddress
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Ip4Dxe/
DIp4Impl.c927 IP4_ADDR IpAddress; in EfiIp4Configure() local
945 CopyMem (&IpAddress, &IpConfigData->StationAddress, sizeof (IP4_ADDR)); in EfiIp4Configure()
948 IpAddress = NTOHL (IpAddress); in EfiIp4Configure()
955 AddrOk = Ip4StationAddressValid (IpAddress, SubnetMask); in EfiIp4Configure()
/device/linaro/bootloader/edk2/NetworkPkg/Dhcp6Dxe/
DDhcp6Utility.c700 CopyMem (Buf, &IaAddr->IpAddress, sizeof(EFI_IPv6_ADDRESS)); in Dhcp6AppendIaAddrOption()
1024 if (EFI_IP6_EQUAL(&IaAddr->IpAddress, &CurrentIa->IaAddress[Index].IpAddress)) { in Dhcp6AddrIsInCurrentIa()

12