/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Mtftp4Dxe/ |
D | Mtftp4Impl.c | 87 Instance->Gateway = 0; in Mtftp4CleanOperation() 192 IP4_ADDR Gateway; in Mtftp4OverrideValid() local 201 CopyMem (&Gateway, &Override->GatewayIp, sizeof (IP4_ADDR)); in Mtftp4OverrideValid() 202 Gateway = NTOHL (Gateway); in Mtftp4OverrideValid() 204 if (!Config->UseDefaultSetting && (Gateway != 0)) { in Mtftp4OverrideValid() 211 if (!NetIp4IsUnicast (Gateway, Netmask) || !IP4_NET_EQUAL (Gateway, Ip, Netmask)) { in Mtftp4OverrideValid() 450 CopyMem (&Instance->Gateway, &Config->GatewayIp, sizeof (IP4_ADDR)); in Mtftp4Start() 451 Instance->Gateway = NTOHL (Instance->Gateway); in Mtftp4Start() 459 CopyMem (&Instance->Gateway, &Override->GatewayIp, sizeof (IP4_ADDR)); in Mtftp4Start() 462 Instance->Gateway = NTOHL (Instance->Gateway); in Mtftp4Start() [all …]
|
D | Mtftp4Impl.h | 130 IP4_ADDR Gateway; member
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/UefiPxeBcDxe/ |
D | PxeBcSupport.c | 69 IN EFI_IPv4_ADDRESS *Gateway, in PxeBcConfigureUdpWriteInstance() argument 96 if (!EFI_ERROR (Status) && (Gateway->Addr[0] != 0)) { in PxeBcConfigureUdpWriteInstance() 100 Status = Udp4->Routes (Udp4, FALSE, &mZeroIp4Addr, &mZeroIp4Addr, Gateway); in PxeBcConfigureUdpWriteInstance()
|
D | PxeBcSupport.h | 65 IN EFI_IPv4_ADDRESS *Gateway,
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/IScsiDxe/ |
D | IScsiConfig.c | 380 IScsiIpToStr (&SessionConfigData->Gateway, IfrNvData->Gateway); in IScsiConvertDeviceConfigDataToIfrNvData() 677 EFI_IP_ADDRESS Gateway; in IScsiFormCallback() local 754 IScsiUnicodeStrToAsciiStr (IfrNvData->Gateway, Ip4String); in IScsiFormCallback() 755 Status = IScsiAsciiStrToIp (Ip4String, &Gateway.v4); in IScsiFormCallback() 757 ((Gateway.Addr[0] != 0) && in IScsiFormCallback() 759 …!NetIp4IsUnicast (NTOHL (Gateway.Addr[0]), NTOHL(*(UINT32*)Private->Current->SessionConfigData.Sub… in IScsiFormCallback() 763 CopyMem (&Private->Current->SessionConfigData.Gateway, &Gateway.v4, sizeof (Gateway.v4)); in IScsiFormCallback() 856 CopyMem (&Gateway.v4, &Private->Current->SessionConfigData.Gateway, sizeof (Gateway.v4)); in IScsiFormCallback() 858 if ((Gateway.Addr[0] != 0)) { in IScsiFormCallback() 863 } else if (!IP4_NET_EQUAL (HostIp.Addr[0], Gateway.Addr[0], SubnetMask.Addr[0])) { in IScsiFormCallback()
|
D | IScsiConfigNVDataStruc.h | 91 CHAR16 Gateway[IP4_STR_MAX_SIZE]; member
|
D | IScsiTcp4Io.h | 24 EFI_IPv4_ADDRESS Gateway; member
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Ip4Dxe/ |
D | Ip4Icmp.c | 107 IP4_ADDR Gateway; in Ip4ProcessIcmpRedirect() local 116 Gateway = NTOHL (Icmp->Fourth); in Ip4ProcessIcmpRedirect() 123 if ((IpIf == NULL) || !IP4_NET_EQUAL (Gateway, IpIf->Ip, IpIf->SubnetMask)) { in Ip4ProcessIcmpRedirect() 147 CacheEntry->NextHop = Gateway; in Ip4ProcessIcmpRedirect()
|
D | Ip4Route.h | 134 IN IP4_ADDR Gateway 155 IN IP4_ADDR Gateway
|
D | Ip4Route.c | 314 IN IP4_ADDR Gateway in Ip4AddRoute() argument 333 if (IP4_NET_EQUAL (RtEntry->Dest, Dest, Netmask) && (RtEntry->NextHop == Gateway)) { in Ip4AddRoute() 341 RtEntry = Ip4CreateRouteEntry (Dest, Netmask, Gateway); in Ip4AddRoute() 347 if (Gateway == IP4_ALLZERO_ADDRESS) { in Ip4AddRoute() 376 IN IP4_ADDR Gateway in Ip4DelRoute() argument 389 if (IP4_NET_EQUAL (RtEntry->Dest, Dest, Netmask) && (RtEntry->NextHop == Gateway)) { in Ip4DelRoute()
|
D | Ip4DxeStrings.uni | 30 #string STR_IP4_LOCAL_GATEWAY #language en-US "Local Gateway" 31 #string STR_IP4_GATEWAY_HELP #language en-US "Enter Gateway in dotted-decimal notation. Ex…
|
D | Ip4Config2Nv.c | 561 EFI_IP_ADDRESS Gateway; in Ip4Config2ConvertIfrNvDataToConfigNvData() local 623 Status = Ip4Config2StrToIp (IfrFormNvData->GatewayAddress, &Gateway.v4); in Ip4Config2ConvertIfrNvDataToConfigNvData() 624 …if (EFI_ERROR (Status) || ((Gateway.Addr[0] != 0) && !NetIp4IsUnicast (NTOHL (Gateway.Addr[0]), NT… in Ip4Config2ConvertIfrNvDataToConfigNvData() 671 CopyMem(Ip4NvData->GatewayAddress, &Gateway.v4, sizeof(EFI_IPv4_ADDRESS)); in Ip4Config2ConvertIfrNvDataToConfigNvData() 1116 EFI_IP_ADDRESS Gateway; in Ip4FormCallback() local 1164 Status = Ip4Config2StrToIp (IfrFormNvData->GatewayAddress, &Gateway.v4); in Ip4FormCallback() 1165 if (EFI_ERROR (Status) || IP4_IS_LOCAL_BROADCAST(NTOHL(Gateway.Addr[0]))) { in Ip4FormCallback()
|
D | Ip4Impl.c | 1380 IP4_ADDR Gateway; in Ip4TxTokenValid() local 1447 CopyMem (&Gateway, &Override->GatewayAddress, sizeof (IP4_ADDR)); in Ip4TxTokenValid() 1450 Gateway = NTOHL (Gateway); in Ip4TxTokenValid() 1463 if ((Gateway != IP4_ALLZERO_ADDRESS) && in Ip4TxTokenValid() 1464 ((NetGetIpClass (Gateway) > IP4_ADDR_CLASSC) || in Ip4TxTokenValid() 1465 !IP4_NET_EQUAL (Gateway, IpIf->Ip, IpIf->SubnetMask) || in Ip4TxTokenValid() 1466 IP4_IS_BROADCAST (Ip4GetNetCast (Gateway, IpIf)))) { in Ip4TxTokenValid()
|
D | Ip4Config2Impl.c | 1333 IP4_ADDR Gateway; in Ip4Config2SetGateway() local 1358 CopyMem (&Gateway, NewGateway + Index1, sizeof (IP4_ADDR)); in Ip4Config2SetGateway() 1361 !NetIp4IsUnicast (NTOHL (Gateway), IpSb->DefaultInterface->SubnetMask)) { in Ip4Config2SetGateway() 1373 OldGateway = DataItem->Data.Gateway; in Ip4Config2SetGateway() 1391 CopyMem (&Gateway, OldGateway + Index1, sizeof (IP4_ADDR)); in Ip4Config2SetGateway() 1396 NTOHL (Gateway) in Ip4Config2SetGateway() 1403 CopyMem (&Gateway, NewGateway + Index1, sizeof (IP4_ADDR)); in Ip4Config2SetGateway() 1408 NTOHL (Gateway) in Ip4Config2SetGateway()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Include/Library/ |
D | UdpIoLib.h | 121 EFI_IPv4_ADDRESS Gateway; member 305 IN EFI_IP_ADDRESS *Gateway OPTIONAL,
|
D | TcpIoLib.h | 37 EFI_IPv4_ADDRESS Gateway; member
|
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellNetwork1CommandsLib/ |
D | Ifconfig.c | 554 EFI_IPv4_ADDRESS Gateway; in IfConfigShowInterfaceInfo() local 644 ZeroMem (&Gateway, sizeof (EFI_IPv4_ADDRESS)); in IfConfigShowInterfaceInfo() 649 … CopyMem (&Gateway, &IfCb->IfInfo->RouteTable[Index].GatewayAddress, sizeof (EFI_IPv4_ADDRESS)); in IfConfigShowInterfaceInfo() 659 (UINTN)Gateway.Addr[0], in IfConfigShowInterfaceInfo() 660 (UINTN)Gateway.Addr[1], in IfConfigShowInterfaceInfo() 661 (UINTN)Gateway.Addr[2], in IfConfigShowInterfaceInfo() 662 (UINTN)Gateway.Addr[3] in IfConfigShowInterfaceInfo() 839 EFI_IPv4_ADDRESS Gateway; in IfConfigSetInterfaceInfo() local 1014 Status = NetLibStrToIp4 (VarArg->Arg, &Gateway); in IfConfigSetInterfaceInfo() 1094 &Gateway in IfConfigSetInterfaceInfo()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeUdpIoLib/ |
D | DxeUdpIoLib.c | 429 IN EFI_IP_ADDRESS *Gateway OPTIONAL, in UdpIoCreateTxToken() 521 if (Gateway != NULL && (Gateway->Addr[0] != 0)) { in UdpIoCreateTxToken() 522 Ip = HTONL (Gateway->Addr[0]); in UdpIoCreateTxToken() 523 CopyMem (&TxToken->Gateway, &Ip, sizeof (EFI_IPv4_ADDRESS)); in UdpIoCreateTxToken() 524 ((EFI_UDP4_TRANSMIT_DATA *) Data)->GatewayAddress = &TxToken->Gateway; in UdpIoCreateTxToken() 947 IN EFI_IP_ADDRESS *Gateway OPTIONAL, in UdpIoSendDatagram() 958 TxToken = UdpIoCreateTxToken (UdpIo, Packet, EndPoint, Gateway, CallBack, Context); in UdpIoSendDatagram()
|
/device/linaro/bootloader/edk2/NetworkPkg/IScsiDxe/ |
D | IScsiConfig.c | 386 CopyMem (&Ip.v4, &SessionConfigData->Gateway, sizeof (EFI_IPv4_ADDRESS)); in IScsiConvertAttemptConfigDataToIfrNvData() 387 IScsiIpToStr (&Ip, FALSE, IfrNvData->Gateway); in IScsiConvertAttemptConfigDataToIfrNvData() 468 EFI_IP_ADDRESS Gateway; in IScsiConvertIfrNvDataToAttemptConfigData() local 534 CopyMem (&Gateway.v4, &Attempt->SessionConfigData.Gateway, sizeof (Gateway.v4)); in IScsiConvertIfrNvDataToAttemptConfigData() 536 if ((Gateway.Addr[0] != 0)) { in IScsiConvertIfrNvDataToAttemptConfigData() 546 } else if (!IP4_NET_EQUAL (HostIp.Addr[0], Gateway.Addr[0], SubnetMask.Addr[0])) { in IScsiConvertIfrNvDataToAttemptConfigData() 2144 EFI_IP_ADDRESS Gateway; in IScsiFormCallback() local 2390 Status = NetLibStrToIp4 (IfrNvData->Gateway, &Gateway.v4); in IScsiFormCallback() 2392 ((Gateway.Addr[0] != 0) && in IScsiFormCallback() 2394 …!NetIp4IsUnicast (NTOHL (Gateway.Addr[0]), NTOHL(*(UINT32*)Private->Current->SessionConfigData.Sub… in IScsiFormCallback() [all …]
|
D | IScsiIbft.c | 314 IScsiMapV4ToV6Addr (&NvData->Gateway.v4, &Nic->Gateway); in IScsiFillNICAndTargetSections() 323 CopyMem (&Nic->Gateway, &NvData->Gateway, sizeof (EFI_IPv6_ADDRESS)); in IScsiFillNICAndTargetSections()
|
/device/linaro/bootloader/edk2/NetworkPkg/Ip6Dxe/ |
D | Ip6DxeStrings.uni | 35 #string STR_IP6_GATEWAY_ADDRESS #language en-US "Gateway addresses :" 51 #string STR_IP6_NEW_GATEWAY_ADDRESS #language en-US "New Gateway addresses" 52 #string STR_IP6_NEW_GATEWAY_ADDR_HELP #language en-US "Gateway IP address can only be configured …
|
/device/linaro/bootloader/edk2/NetworkPkg/UefiPxeBcDxe/ |
D | PxeBcSupport.h | 150 IN EFI_IPv4_ADDRESS *Gateway, 199 IN EFI_IPv4_ADDRESS *Gateway OPTIONAL,
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Dhcp4Dxe/ |
D | Dhcp4Impl.c | 1498 EFI_IP_ADDRESS Gateway; in EfiDhcp4TransmitReceive() local 1592 ZeroMem (&Gateway, sizeof (Gateway)); in EfiDhcp4TransmitReceive() 1594 CopyMem (&Gateway.v4, &Token->GatewayAddress, sizeof (EFI_IPv4_ADDRESS)); in EfiDhcp4TransmitReceive() 1595 Gateway.Addr[0] = NTOHL (Gateway.Addr[0]); in EfiDhcp4TransmitReceive() 1601 Status = UdpIoSendDatagram (Instance->UdpIo, Wrap, &EndPoint, &Gateway, DhcpOnPacketSent, NULL); in EfiDhcp4TransmitReceive()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/IndustryStandard/ |
D | IScsiBootFirmwareTable.h | 107 EFI_IPv6_ADDRESS Gateway; member
|
/device/linaro/bootloader/edk2/MdePkg/Include/IndustryStandard/ |
D | IScsiBootFirmwareTable.h | 114 EFI_IPv6_ADDRESS Gateway; member
|