/device/linaro/bootloader/edk2/NetworkPkg/Ip6Dxe/ |
D | Ip6Route.c | 60 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()
|
D | Ip6Route.h | 197 IN EFI_IPv6_ADDRESS *GatewayAddress OPTIONAL 255 IN EFI_IPv6_ADDRESS *GatewayAddress 277 IN EFI_IPv6_ADDRESS *GatewayAddress
|
D | Ip6NvData.h | 63 CHAR16 GatewayAddress[ADDRESS_STR_MAX_SIZE]; ///< Gateway address member
|
D | Ip6Impl.c | 837 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()
|
D | Ip6ConfigNv.c | 829 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()
|
D | Ip6ConfigImpl.h | 170 LIST_ENTRY GatewayAddress; ///< Gateway address member
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Ip4Dxe/ |
D | Ip4Config2Nv.c | 393 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 …]
|
D | Ip4NvData.h | 46 CHAR16 GatewayAddress[IP4_STR_MAX_SIZE]; ///< Gateway address member
|
D | Ip4Config2Impl.c | 425 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()
|
D | Ip4Config2Impl.h | 157 EFI_IPv4_ADDRESS *GatewayAddress; ///< Gateway address member
|
D | Ip4Impl.c | 190 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/ |
D | Ip4.h | 140 EFI_IPv4_ADDRESS GatewayAddress; member 230 EFI_IPv4_ADDRESS GatewayAddress; member 447 IN EFI_IPv4_ADDRESS *GatewayAddress
|
D | Udp4.h | 102 EFI_IPv4_ADDRESS *GatewayAddress; //OPTIONAL member 285 IN EFI_IPv4_ADDRESS *GatewayAddress
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/Ip4/ |
D | Ip4.h | 72 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/ |
D | Tcp4Main.h | 75 EFI_IPv4_ADDRESS *GatewayAddress; member 221 IN EFI_IPv4_ADDRESS *GatewayAddress
|
D | Tcp4Main.c | 266 IN EFI_IPv4_ADDRESS *GatewayAddress in Tcp4Routes() argument 281 RouteInfo.GatewayAddress = GatewayAddress; in Tcp4Routes()
|
D | Tcp4Io.c | 101 ZeroMem (&Override.Ip4OverrideData.GatewayAddress, sizeof (EFI_IPv4_ADDRESS)); in TcpSendIpPacket()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Udp4Dxe/ |
D | Udp4Main.c | 439 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()
|
D | Udp4Impl.c | 793 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/ |
D | Udp4.h | 106 EFI_IPv4_ADDRESS *GatewayAddress; member 169 IN EFI_IPv4_ADDRESS *GatewayAddress
|
/device/linaro/bootloader/edk2/NetworkPkg/TcpDxe/ |
D | TcpMain.h | 92 EFI_IPv4_ADDRESS *GatewayAddress; member 200 IN EFI_IPv4_ADDRESS *GatewayAddress
|
D | TcpMain.c | 220 IN EFI_IPv4_ADDRESS *GatewayAddress in Tcp4Routes() argument 235 RouteInfo.GatewayAddress = GatewayAddress; in Tcp4Routes()
|
D | TcpIo.c | 128 ZeroMem (&Override.Ip4OverrideData.GatewayAddress, sizeof (EFI_IPv4_ADDRESS)); in TcpSendIpPacket()
|
/device/linaro/bootloader/edk2/StdLib/EfiSocketLib/ |
D | Ip4.c | 822 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/ |
D | Ifconfig.c | 649 … 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()
|