Home
last modified time | relevance | path

Searched refs:RemoteAddress (Results 1 – 25 of 53) sorted by relevance

123

/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/GetNetByAddr/
DGetNetByAddr.c42 UINT32 RemoteAddress[4]; in main() local
52 &RemoteAddress[0], in main()
53 &RemoteAddress[1], in main()
54 &RemoteAddress[2], in main()
55 &RemoteAddress[3])) in main()
56 || ( 255 < RemoteAddress[0]) in main()
57 || ( 255 < RemoteAddress[1]) in main()
58 || ( 255 < RemoteAddress[2]) in main()
59 || ( 255 < RemoteAddress[3])) { in main()
66 IpAddress[0] = (UINT8)RemoteAddress[0]; in main()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/RawIp4Tx/
DRawIp4Tx.c37 UINT32 RemoteAddress[4]; in RawIp4Tx() local
62 &RemoteAddress[0], in RawIp4Tx()
63 &RemoteAddress[1], in RawIp4Tx()
64 &RemoteAddress[2], in RawIp4Tx()
65 &RemoteAddress[3])) in RawIp4Tx()
66 || ( 224 < RemoteAddress[0]) in RawIp4Tx()
67 || ( 255 < RemoteAddress[1]) in RawIp4Tx()
68 || ( 255 < RemoteAddress[2]) in RawIp4Tx()
69 || ( 255 < RemoteAddress[3]) in RawIp4Tx()
70 || (( 0 == RemoteAddress[0]) in RawIp4Tx()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/GetHostByAddr/
DGetHostByAddr.c48 UINT32 RemoteAddress[4]; in main() local
56 &RemoteAddress[0], in main()
57 &RemoteAddress[1], in main()
58 &RemoteAddress[2], in main()
59 &RemoteAddress[3])) in main()
60 || ( 255 < RemoteAddress[0]) in main()
61 || ( 255 < RemoteAddress[1]) in main()
62 || ( 255 < RemoteAddress[2]) in main()
63 || ( 255 < RemoteAddress[3])) { in main()
70 IpAddress[0] = (UINT8)RemoteAddress[0]; in main()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/TftpServer/
DTftpServer.c137 CopyMem ( &pContext->RemoteAddress, in ContextAdd()
138 &pTftpServer->RemoteAddress, in ContextAdd()
139 sizeof ( pContext->RemoteAddress )); in ContextAdd()
171 if ( AF_INET == pTftpServer->RemoteAddress.v4.sin_family ) { in ContextAdd()
175 (UINT8)pTftpServer->RemoteAddress.v4.sin_addr.s_addr, in ContextAdd()
176 (UINT8)( pTftpServer->RemoteAddress.v4.sin_addr.s_addr >> 8 ), in ContextAdd()
177 (UINT8)( pTftpServer->RemoteAddress.v4.sin_addr.s_addr >> 16 ), in ContextAdd()
178 (UINT8)( pTftpServer->RemoteAddress.v4.sin_addr.s_addr >> 24 ), in ContextAdd()
179 htons ( pTftpServer->RemoteAddress.v4.sin_port ))); in ContextAdd()
185 pTftpServer->RemoteAddress.v6.sin6_addr.__u6_addr.__u6_addr8[ 0 ], in ContextAdd()
[all …]
DTftpServer.h174 struct sockaddr_in6 RemoteAddress; ///< Remote address member
252 } RemoteAddress; ///< Remote address member
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/OobTx/
DOobTx.c41 UINT32 RemoteAddress[4]; in OobTx() local
68 &RemoteAddress[0], in OobTx()
69 &RemoteAddress[1], in OobTx()
70 &RemoteAddress[2], in OobTx()
71 &RemoteAddress[3])) in OobTx()
72 || ( 224 < RemoteAddress[0]) in OobTx()
73 || ( 255 < RemoteAddress[1]) in OobTx()
74 || ( 255 < RemoteAddress[2]) in OobTx()
75 || ( 255 < RemoteAddress[3]) in OobTx()
76 || (( 0 == RemoteAddress[0]) in OobTx()
[all …]
/device/linaro/bootloader/edk2/StdLib/EfiSocketLib/
DTcp6.c155 &pTcp6->ConfigData.AccessPoint.RemoteAddress.Addr[0], in EslTcp6Accept()
156 sizeof ( pTcp6->ConfigData.AccessPoint.RemoteAddress.Addr )); in EslTcp6Accept()
223 pTcp6->ConfigData.AccessPoint.RemoteAddress.Addr[0], in EslTcp6ConnectComplete()
224 pTcp6->ConfigData.AccessPoint.RemoteAddress.Addr[1], in EslTcp6ConnectComplete()
225 pTcp6->ConfigData.AccessPoint.RemoteAddress.Addr[2], in EslTcp6ConnectComplete()
226 pTcp6->ConfigData.AccessPoint.RemoteAddress.Addr[3], in EslTcp6ConnectComplete()
227 pTcp6->ConfigData.AccessPoint.RemoteAddress.Addr[4], in EslTcp6ConnectComplete()
228 pTcp6->ConfigData.AccessPoint.RemoteAddress.Addr[5], in EslTcp6ConnectComplete()
229 pTcp6->ConfigData.AccessPoint.RemoteAddress.Addr[6], in EslTcp6ConnectComplete()
230 pTcp6->ConfigData.AccessPoint.RemoteAddress.Addr[7], in EslTcp6ConnectComplete()
[all …]
DUdp6.c415 &pUdp6->ConfigData.RemoteAddress.Addr[0], in EslUdp6RemoteAddressGet()
457 CopyMem ( &pUdp6->ConfigData.RemoteAddress, in EslUdp6RemoteAddressSet()
459 sizeof ( pUdp6->ConfigData.RemoteAddress )); in EslUdp6RemoteAddressSet()
633 pConfigData->RemoteAddress.Addr[0], in EslUdp6SocketIsConfigured()
634 pConfigData->RemoteAddress.Addr[1], in EslUdp6SocketIsConfigured()
635 pConfigData->RemoteAddress.Addr[2], in EslUdp6SocketIsConfigured()
636 pConfigData->RemoteAddress.Addr[3], in EslUdp6SocketIsConfigured()
637 pConfigData->RemoteAddress.Addr[4], in EslUdp6SocketIsConfigured()
638 pConfigData->RemoteAddress.Addr[5], in EslUdp6SocketIsConfigured()
639 pConfigData->RemoteAddress.Addr[6], in EslUdp6SocketIsConfigured()
[all …]
DTcp4.c117 UINT32 RemoteAddress; in EslTcp4Accept() local
155 RemoteAddress = pTcp4->ConfigData.AccessPoint.RemoteAddress.Addr[3]; in EslTcp4Accept()
156 RemoteAddress <<= 8; in EslTcp4Accept()
157 RemoteAddress |= pTcp4->ConfigData.AccessPoint.RemoteAddress.Addr[2]; in EslTcp4Accept()
158 RemoteAddress <<= 8; in EslTcp4Accept()
159 RemoteAddress |= pTcp4->ConfigData.AccessPoint.RemoteAddress.Addr[1]; in EslTcp4Accept()
160 RemoteAddress <<= 8; in EslTcp4Accept()
161 RemoteAddress |= pTcp4->ConfigData.AccessPoint.RemoteAddress.Addr[0]; in EslTcp4Accept()
162 pRemoteAddress->sin_addr.s_addr = RemoteAddress; in EslTcp4Accept()
229 pTcp4->ConfigData.AccessPoint.RemoteAddress.Addr[0], in EslTcp4ConnectComplete()
[all …]
DUdp4.c419 &pUdp4->ConfigData.RemoteAddress.Addr[0], in EslUdp4RemoteAddressGet()
461 pUdp4->ConfigData.RemoteAddress.Addr[0] = (UINT8)( pRemoteAddress->sin_addr.s_addr ); in EslUdp4RemoteAddressSet()
462 pUdp4->ConfigData.RemoteAddress.Addr[1] = (UINT8)( pRemoteAddress->sin_addr.s_addr >> 8 ); in EslUdp4RemoteAddressSet()
463 pUdp4->ConfigData.RemoteAddress.Addr[2] = (UINT8)( pRemoteAddress->sin_addr.s_addr >> 16 ); in EslUdp4RemoteAddressSet()
464 pUdp4->ConfigData.RemoteAddress.Addr[3] = (UINT8)( pRemoteAddress->sin_addr.s_addr >> 24 ); in EslUdp4RemoteAddressSet()
626 pConfigData->RemoteAddress.Addr[0], in EslUdp4SocketIsConfigured()
627 pConfigData->RemoteAddress.Addr[1], in EslUdp4SocketIsConfigured()
628 pConfigData->RemoteAddress.Addr[2], in EslUdp4SocketIsConfigured()
629 pConfigData->RemoteAddress.Addr[3], in EslUdp4SocketIsConfigured()
685 pConfigData->RemoteAddress.Addr[0], in EslUdp4SocketIsConfigured()
[all …]
/device/linaro/bootloader/edk2/NetworkPkg/Udp6Dxe/
DUdp6Main.c149 EFI_IPv6_ADDRESS RemoteAddress; in Udp6Configure() local
173 IP6_COPY_ADDRESS (&RemoteAddress, &UdpConfigData->RemoteAddress); in Udp6Configure()
176 (!NetIp6IsUnspecifiedAddr (&RemoteAddress) && !NetIp6IsValidUnicast (&RemoteAddress)) in Udp6Configure()
252 IP6_COPY_ADDRESS (&RemoteAddr, &Instance->ConfigData.RemoteAddress); in Udp6Configure()
558 IP6_COPY_ADDRESS (&Destination, &ConfigData->RemoteAddress); in Udp6Transmit()
594 IP6_COPY_ADDRESS (&Destination, &ConfigData->RemoteAddress); in Udp6Transmit()
DUdp6Impl.c699 if (!EFI_IP6_EQUAL (&NewConfigData->RemoteAddress, &OldConfigData->RemoteAddress)) { in Udp6IsReconfigurable()
706 if (!NetIp6IsUnspecifiedAddr (&NewConfigData->RemoteAddress) && in Udp6IsReconfigurable()
743 IP6_COPY_ADDRESS (&Ip6ConfigData->DestinationAddress, &Udp6ConfigData->RemoteAddress); in Udp6BuildIp6ConfigData()
839 NetIp6IsUnspecifiedAddr (&ConfigData->RemoteAddress) in Udp6ValidateTxToken()
848 !NetIp6IsUnspecifiedAddr (&ConfigData->RemoteAddress) in Udp6ValidateTxToken()
856 } else if (NetIp6IsUnspecifiedAddr (&ConfigData->RemoteAddress)) { in Udp6ValidateTxToken()
1297 if (!NetIp6IsUnspecifiedAddr (&ConfigData->RemoteAddress) && in Udp6MatchDgram()
1298 !EFI_IP6_EQUAL (&ConfigData->RemoteAddress, &Udp6Session->SourceAddress) in Udp6MatchDgram()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Udp4Dxe/
DUdp4Main.c142 IP4_ADDR RemoteAddress; in Udp4Configure() local
166 CopyMem (&RemoteAddress, &UdpConfigData->RemoteAddress, sizeof (IP4_ADDR)); in Udp4Configure()
170 RemoteAddress = NTOHL (RemoteAddress); in Udp4Configure()
176 IP4_IS_LOCAL_BROADCAST (RemoteAddress))) { in Udp4Configure()
250 CopyMem (&RemoteAddr, &Instance->ConfigData.RemoteAddress, sizeof (IP4_ADDR)); in Udp4Configure()
627 CopyMem (&Destination, &ConfigData->RemoteAddress, sizeof (IP4_ADDR)); in Udp4Transmit()
DUdp4Impl.c703 if (!EFI_IP4_EQUAL (&NewConfigData->RemoteAddress, &OldConfigData->RemoteAddress)) { in Udp4IsReconfigurable()
710 if (!EFI_IP4_EQUAL (&NewConfigData->RemoteAddress, &mZeroIp4Addr) && in Udp4IsReconfigurable()
871 } else if (EFI_IP4_EQUAL (&ConfigData->RemoteAddress, &mZeroIp4Addr)) { in Udp4ValidateTxToken()
1305 if (!EFI_IP4_EQUAL (&ConfigData->RemoteAddress, &mZeroIp4Addr) && in Udp4MatchDgram()
1306 !EFI_IP4_EQUAL (&ConfigData->RemoteAddress, &Udp4Session->SourceAddress) in Udp4MatchDgram()
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
DUdp6.h58 EFI_IPv6_ADDRESS RemoteAddress; member
181 EFI_IPv6_ADDRESS RemoteAddress; member
DUdp4.h48 EFI_IPv4_ADDRESS RemoteAddress; member
96 EFI_IPv4_ADDRESS RemoteAddress; member
DTcp6.h64 EFI_IPv6_ADDRESS RemoteAddress; member
112 EFI_IPv6_ADDRESS RemoteAddress; member
DTcp4.h46 EFI_IPv4_ADDRESS RemoteAddress; member
65 EFI_IPv4_ADDRESS RemoteAddress; member
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/Udp4/
DUdp4.h39 EFI_IPv4_ADDRESS RemoteAddress; member
97 EFI_IPv4_ADDRESS RemoteAddress; member
/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/
DIpSecConfigImpl.c244 &SpdSel1->RemoteAddress[Index], in CompareSpdSelector()
245 SpdSel2->RemoteAddress, in CompareSpdSelector()
256 &SpdSel2->RemoteAddress[Index], in CompareSpdSelector()
257 SpdSel1->RemoteAddress, in CompareSpdSelector()
280 &SpdSel1->RemoteAddress[Index], in CompareSpdSelector()
291 &SpdSel2->RemoteAddress[Index], in CompareSpdSelector()
304 SpdSel2->RemoteAddress, in CompareSpdSelector()
316 SpdSel1->RemoteAddress, in CompareSpdSelector()
395 &SpdSel1->RemoteAddress[Index], in IsSubSpdSelector()
396 SpdSel2->RemoteAddress, in IsSubSpdSelector()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/Tcp4/
DTcp4.h48 EFI_IPv4_ADDRESS RemoteAddress; member
63 EFI_IPv4_ADDRESS RemoteAddress; member
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/DataSource/
DDataSource.c195 UINT32 RemoteAddress; in IpAddress() local
237 RemoteAddress = Value1 in IpAddress()
241 pRemoteAddress4->sin_addr.s_addr = RemoteAddress; in IpAddress()
1233 …Tcp4ConfigData.AccessPoint.RemoteAddress.Addr[0] = (UINT8) ((struct sockaddr_in *)&RemoteHostAddr… in Tcp4Open()
1234 …Tcp4ConfigData.AccessPoint.RemoteAddress.Addr[1] = (UINT8)( ((struct sockaddr_in *)&RemoteHostAddr… in Tcp4Open()
1235 …Tcp4ConfigData.AccessPoint.RemoteAddress.Addr[2] = (UINT8)( ((struct sockaddr_in *)&RemoteHostAddr… in Tcp4Open()
1236 …Tcp4ConfigData.AccessPoint.RemoteAddress.Addr[3] = (UINT8)( ((struct sockaddr_in *)&RemoteHostAddr… in Tcp4Open()
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/WebServer/
DWebServer.c328 struct sockaddr_in6 RemoteAddress; in PortWork() local
352 RemoteAddressLength = sizeof ( RemoteAddress ); in PortWork()
354 (struct sockaddr *)&RemoteAddress, in PortWork()
/device/linaro/bootloader/edk2/NetworkPkg/TcpDxe/
DTcpDispatcher.c107 IP4_COPY_ADDRESS (&AccessPoint->RemoteAddress, &Tcb->RemoteEnd.Ip); in Tcp4GetMode()
188 IP6_COPY_ADDRESS (&AccessPoint->RemoteAddress, &Tcb->RemoteEnd.Ip); in Tcp6GetMode()
523 &CfgData->Tcp6CfgData.AccessPoint.RemoteAddress in TcpConfigurePcb()
615 … CopyMem (&Tcb->RemoteEnd.Ip, &CfgData->Tcp4CfgData.AccessPoint.RemoteAddress, sizeof (IP4_ADDR)); in TcpConfigurePcb()
626 IP6_COPY_ADDRESS (&Tcb->RemoteEnd.Ip, &CfgData->Tcp6CfgData.AccessPoint.RemoteAddress); in TcpConfigurePcb()
/device/linaro/bootloader/edk2/NetworkPkg/Application/IpsecConfig/
DPolicyEntryOperation.c78 Status = EfiInetAddrRange ((CHAR16 *) ValueStr, Selector->RemoteAddress); in CreateSpdSelector()
244 (*Selector)->RemoteAddress = (*Selector)->LocalAddress + 1; in CreateSpdEntry()
703 (*Data)->SpdSelector->RemoteAddress = (EFI_IP_ADDRESS_INFO *) ALIGN_POINTER ( in CreateSadEntry()
1352 NewSelector->RemoteAddress = OldSelector->RemoteAddress; in CombineSpdEntry()
1354 …(CompareMem (NewSelector->RemoteAddress, OldSelector->RemoteAddress, NewSelector->RemoteAddressCou… in CombineSpdEntry()
1715 OldData->SpdSelector->RemoteAddress = NewData->SpdSelector->RemoteAddress; in CombineSadEntry()

123