Home
last modified time | relevance | path

Searched refs:GatewayAddress (Results 1 – 25 of 44) sorted by relevance

12

/device/linaro/bootloader/edk2/NetworkPkg/Ip6Dxe/
DIp6Route.c60 IN EFI_IPv6_ADDRESS *GatewayAddress OPTIONAL in Ip6CreateRouteEntry()
79 if (GatewayAddress != NULL) { in Ip6CreateRouteEntry()
80 IP6_COPY_ADDRESS (&RtEntry->NextHop, GatewayAddress); in Ip6CreateRouteEntry()
459 IN EFI_IPv6_ADDRESS *GatewayAddress in Ip6AddRoute() argument
475 EFI_IP6_EQUAL (GatewayAddress, &Route->NextHop)) { in Ip6AddRoute()
483 Route = Ip6CreateRouteEntry (Destination, PrefixLength, GatewayAddress); in Ip6AddRoute()
489 if (NetIp6IsUnspecifiedAddr (GatewayAddress)) { in Ip6AddRoute()
518 IN EFI_IPv6_ADDRESS *GatewayAddress in Ip6DelRoute() argument
536 if (GatewayAddress != NULL && !EFI_IP6_EQUAL (GatewayAddress, &Route->NextHop)) { in Ip6DelRoute()
DIp6Route.h197 IN EFI_IPv6_ADDRESS *GatewayAddress OPTIONAL
255 IN EFI_IPv6_ADDRESS *GatewayAddress
277 IN EFI_IPv6_ADDRESS *GatewayAddress
DIp6NvData.h63 CHAR16 GatewayAddress[ADDRESS_STR_MAX_SIZE]; ///< Gateway address member
DIp6Impl.c837 IN EFI_IPv6_ADDRESS *GatewayAddress OPTIONAL in EfiIp6Routes()
860 if (DeleteRoute && (Destination == NULL) && (GatewayAddress == NULL)) { in EfiIp6Routes()
864 if (!DeleteRoute && (Destination == NULL || GatewayAddress == NULL)) { in EfiIp6Routes()
868 if (GatewayAddress != NULL) { in EfiIp6Routes()
869 if (!Ip6IsValidAddress (IpSb, GatewayAddress, FALSE)) { in EfiIp6Routes()
873 if (!NetIp6IsUnspecifiedAddr (GatewayAddress) && in EfiIp6Routes()
874 !NetIp6IsNetEqual (GatewayAddress, &IpInstance->ConfigData.StationAddress, PrefixLength) in EfiIp6Routes()
886 Status = Ip6DelRoute (IpSb->RouteTable, Destination, PrefixLength, GatewayAddress); in EfiIp6Routes()
888 Status = Ip6AddRoute (IpSb->RouteTable, Destination, PrefixLength, GatewayAddress); in EfiIp6Routes()
DIp6ConfigNv.c829 ListHead = &Ip6NvData->GatewayAddress; in Ip6BuildNvAddressInfo()
1220 if (!IsListEmpty (&Ip6NvData->GatewayAddress) && (Ip6NvData->GatewayAddressCount != 0)) { in Ip6ConvertIfrNvDataToConfigNvDataAdvanced()
1780 Ip6FreeAddressInfoList (&Ip6NvData->GatewayAddress); in Ip6FormCallback()
1830 IfrNvData->GatewayAddress, in Ip6FormCallback()
1831 &Ip6NvData->GatewayAddress, in Ip6FormCallback()
2020 InitializeListHead (&Instance->Ip6NvData.GatewayAddress); in Ip6ConfigFormInit()
2089 Ip6FreeAddressInfoList (&Ip6NvData->GatewayAddress); in Ip6ConfigFormUnload()
DIp6ConfigImpl.h170 LIST_ENTRY GatewayAddress; ///< Gateway address member
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Ip4Dxe/
DIp4Config2Nv.c393 EFI_IPv4_ADDRESS GatewayAddress; in Ip4Config2ConvertConfigNvDataToIfrNvData() local
478 &GatewayAddress in Ip4Config2ConvertConfigNvDataToIfrNvData()
520 Ip4Config2IpToStr (&GatewayAddress, IfrNvData->GatewayAddress); in Ip4Config2ConvertConfigNvDataToIfrNvData()
623 Status = Ip4Config2StrToIp (IfrFormNvData->GatewayAddress, &Gateway.v4); in Ip4Config2ConvertIfrNvDataToConfigNvData()
660 if (Ip4NvData->GatewayAddress != NULL) { in Ip4Config2ConvertIfrNvDataToConfigNvData()
661 FreePool(Ip4NvData->GatewayAddress); in Ip4Config2ConvertIfrNvDataToConfigNvData()
664 Ip4NvData->GatewayAddress = AllocateZeroPool(sizeof(EFI_IPv4_ADDRESS)); in Ip4Config2ConvertIfrNvDataToConfigNvData()
665 if (Ip4NvData->GatewayAddress == NULL) { in Ip4Config2ConvertIfrNvDataToConfigNvData()
671 CopyMem(Ip4NvData->GatewayAddress, &Gateway.v4, sizeof(EFI_IPv4_ADDRESS)); in Ip4Config2ConvertIfrNvDataToConfigNvData()
766 Ip4NvData->GatewayAddress in Ip4Config2ConvertIfrNvDataToConfigNvData()
[all …]
DIp4NvData.h46 CHAR16 GatewayAddress[IP4_STR_MAX_SIZE]; ///< Gateway address member
DIp4Config2Impl.c425 EFI_IP4 (Table[Count].GatewayAddress) = HTONL (RtEntry->NextHop); in Ip4Config2BuildDefaultRouteTable()
604 IN IP4_ADDR GatewayAddress in Ip4Config2SetDefaultIf() argument
620 if (GatewayAddress != IP4_ALLZERO_ADDRESS) { in Ip4Config2SetDefaultIf()
625 GatewayAddress in Ip4Config2SetDefaultIf()
826 IP4_ADDR GatewayAddress; in Ip4Config2OnDhcp4Complete() local
846 GatewayAddress = EFI_NTOHL (Dhcp4Mode.RouterAddress); in Ip4Config2OnDhcp4Complete()
848 Status = Ip4Config2SetDefaultIf (Instance, StationAddress, SubnetMask, GatewayAddress); in Ip4Config2OnDhcp4Complete()
DIp4Config2Impl.h157 EFI_IPv4_ADDRESS *GatewayAddress; ///< Gateway address member
DIp4Impl.c190 IN EFI_IPv4_ADDRESS *GatewayAddress
1253 IN EFI_IPv4_ADDRESS *GatewayAddress in EfiIp4Routes() argument
1268 (SubnetMask == NULL) || (GatewayAddress == NULL)) { in EfiIp4Routes()
1287 CopyMem (&Nexthop, GatewayAddress, sizeof (IP4_ADDR)); in EfiIp4Routes()
1447 CopyMem (&Gateway, &Override->GatewayAddress, sizeof (IP4_ADDR)); in Ip4TxTokenValid()
1747 CopyMem (&GateWay, &Override->GatewayAddress, sizeof (IP4_ADDR)); in EfiIp4Transmit()
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
DIp4.h140 EFI_IPv4_ADDRESS GatewayAddress; member
230 EFI_IPv4_ADDRESS GatewayAddress; member
447 IN EFI_IPv4_ADDRESS *GatewayAddress
DUdp4.h102 EFI_IPv4_ADDRESS *GatewayAddress; //OPTIONAL member
285 IN EFI_IPv4_ADDRESS *GatewayAddress
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/Ip4/
DIp4.h72 EFI_IPv4_ADDRESS GatewayAddress; member
121 EFI_IPv4_ADDRESS GatewayAddress; member
197 IN EFI_IPv4_ADDRESS *GatewayAddress
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Tcp4Dxe/
DTcp4Main.h75 EFI_IPv4_ADDRESS *GatewayAddress; member
221 IN EFI_IPv4_ADDRESS *GatewayAddress
DTcp4Main.c266 IN EFI_IPv4_ADDRESS *GatewayAddress in Tcp4Routes() argument
281 RouteInfo.GatewayAddress = GatewayAddress; in Tcp4Routes()
DTcp4Io.c101 ZeroMem (&Override.Ip4OverrideData.GatewayAddress, sizeof (EFI_IPv4_ADDRESS)); in TcpSendIpPacket()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Udp4Dxe/
DUdp4Main.c439 IN EFI_IPv4_ADDRESS *GatewayAddress in Udp4Routes() argument
464 return Ip->Routes (Ip, DeleteRoute, SubnetAddress, SubnetMask, GatewayAddress); in Udp4Routes()
646 if (TxData->GatewayAddress != NULL) { in Udp4Transmit()
647 IP4_COPY_ADDRESS (&Override.Ip4OverrideData.GatewayAddress, TxData->GatewayAddress); in Udp4Transmit()
649 ZeroMem (&Override.Ip4OverrideData.GatewayAddress, sizeof (EFI_IPv4_ADDRESS)); in Udp4Transmit()
DUdp4Impl.c793 IP4_ADDR GatewayAddress; in Udp4ValidateTxToken() local
827 if (TxData->GatewayAddress != NULL) { in Udp4ValidateTxToken()
828 CopyMem (&GatewayAddress, TxData->GatewayAddress, sizeof (IP4_ADDR)); in Udp4ValidateTxToken()
832 !NetIp4IsUnicast (NTOHL (GatewayAddress), EFI_NTOHL(Instance->ConfigData.SubnetMask))) { in Udp4ValidateTxToken()
1776 ZeroMem (&Override.Ip4OverrideData.GatewayAddress, sizeof (EFI_IPv4_ADDRESS)); in Udp4SendPortUnreach()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/Udp4/
DUdp4.h106 EFI_IPv4_ADDRESS *GatewayAddress; member
169 IN EFI_IPv4_ADDRESS *GatewayAddress
/device/linaro/bootloader/edk2/NetworkPkg/TcpDxe/
DTcpMain.h92 EFI_IPv4_ADDRESS *GatewayAddress; member
200 IN EFI_IPv4_ADDRESS *GatewayAddress
DTcpMain.c220 IN EFI_IPv4_ADDRESS *GatewayAddress in Tcp4Routes() argument
235 RouteInfo.GatewayAddress = GatewayAddress; in Tcp4Routes()
DTcpIo.c128 ZeroMem (&Override.Ip4OverrideData.GatewayAddress, sizeof (EFI_IPv4_ADDRESS)); in TcpSendIpPacket()
/device/linaro/bootloader/edk2/StdLib/EfiSocketLib/
DIp4.c822 pIp4->ModeData.RouteTable[Index].GatewayAddress.Addr[0], in EslIp4SocketIsConfigured()
823 pIp4->ModeData.RouteTable[Index].GatewayAddress.Addr[1], in EslIp4SocketIsConfigured()
824 pIp4->ModeData.RouteTable[Index].GatewayAddress.Addr[2], in EslIp4SocketIsConfigured()
825 pIp4->ModeData.RouteTable[Index].GatewayAddress.Addr[3])); in EslIp4SocketIsConfigured()
988 pTxData->Override.GatewayAddress.Addr[0] = 0; in EslIp4TxBuffer()
989 pTxData->Override.GatewayAddress.Addr[1] = 0; in EslIp4TxBuffer()
990 pTxData->Override.GatewayAddress.Addr[2] = 0; in EslIp4TxBuffer()
991 pTxData->Override.GatewayAddress.Addr[3] = 0; in EslIp4TxBuffer()
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellNetwork1CommandsLib/
DIfconfig.c649 … CopyMem (&Gateway, &IfCb->IfInfo->RouteTable[Index].GatewayAddress, sizeof (EFI_IPv4_ADDRESS)); in IfConfigShowInterfaceInfo()
706 (UINTN)IfCb->IfInfo->RouteTable[Index].GatewayAddress.Addr[0], in IfConfigShowInterfaceInfo()
707 (UINTN)IfCb->IfInfo->RouteTable[Index].GatewayAddress.Addr[1], in IfConfigShowInterfaceInfo()
708 (UINTN)IfCb->IfInfo->RouteTable[Index].GatewayAddress.Addr[2], in IfConfigShowInterfaceInfo()
709 (UINTN)IfCb->IfInfo->RouteTable[Index].GatewayAddress.Addr[3] in IfConfigShowInterfaceInfo()

12