Home
last modified time | relevance | path

Searched refs:StationAddress (Results 1 – 25 of 76) sorted by relevance

1234

/device/linaro/bootloader/edk2/StdLib/EfiSocketLib/
DUdp6.c51 &pUdp6->ConfigData.StationAddress.Addr[0], in EslUdp6LocalAddressGet()
101 CopyMem ( &pConfig->StationAddress, in EslUdp6LocalAddressSet()
103 sizeof ( pConfig->StationAddress )); in EslUdp6LocalAddressSet()
124 pConfig->StationAddress.Addr[0], in EslUdp6LocalAddressSet()
125 pConfig->StationAddress.Addr[1], in EslUdp6LocalAddressSet()
126 pConfig->StationAddress.Addr[2], in EslUdp6LocalAddressSet()
127 pConfig->StationAddress.Addr[3], in EslUdp6LocalAddressSet()
128 pConfig->StationAddress.Addr[4], in EslUdp6LocalAddressSet()
129 pConfig->StationAddress.Addr[5], in EslUdp6LocalAddressSet()
130 pConfig->StationAddress.Addr[6], in EslUdp6LocalAddressSet()
[all …]
DTcp6.c922 &pTcp6->ConfigData.AccessPoint.StationAddress.Addr [ 0 ], in EslTcp6ListenComplete()
923 sizeof ( pTcp6->ConfigData.AccessPoint.StationAddress.Addr )); in EslTcp6ListenComplete()
997 pConfigData->AccessPoint.StationAddress.Addr[0], in EslTcp6ListenComplete()
998 pConfigData->AccessPoint.StationAddress.Addr[1], in EslTcp6ListenComplete()
999 pConfigData->AccessPoint.StationAddress.Addr[2], in EslTcp6ListenComplete()
1000 pConfigData->AccessPoint.StationAddress.Addr[3], in EslTcp6ListenComplete()
1001 pConfigData->AccessPoint.StationAddress.Addr[4], in EslTcp6ListenComplete()
1002 pConfigData->AccessPoint.StationAddress.Addr[5], in EslTcp6ListenComplete()
1003 pConfigData->AccessPoint.StationAddress.Addr[6], in EslTcp6ListenComplete()
1004 pConfigData->AccessPoint.StationAddress.Addr[7], in EslTcp6ListenComplete()
[all …]
DUdp4.c51 &pUdp4->ConfigData.StationAddress.Addr[0], in EslUdp4LocalAddressGet()
113 pConfig->StationAddress.Addr[0] = pIpv4Address[0]; in EslUdp4LocalAddressSet()
114 pConfig->StationAddress.Addr[1] = pIpv4Address[1]; in EslUdp4LocalAddressSet()
115 pConfig->StationAddress.Addr[2] = pIpv4Address[2]; in EslUdp4LocalAddressSet()
116 pConfig->StationAddress.Addr[3] = pIpv4Address[3]; in EslUdp4LocalAddressSet()
134 pConfig->SubnetMask.Addr[1] = ( 128 <= pConfig->StationAddress.Addr[0]) ? 0xff : 0; in EslUdp4LocalAddressSet()
135 pConfig->SubnetMask.Addr[2] = ( 192 <= pConfig->StationAddress.Addr[0]) ? 0xff : 0; in EslUdp4LocalAddressSet()
136 pConfig->SubnetMask.Addr[3] = ( 224 <= pConfig->StationAddress.Addr[0]) ? 0xff : 0; in EslUdp4LocalAddressSet()
157 pConfig->StationAddress.Addr[0], in EslUdp4LocalAddressSet()
158 pConfig->StationAddress.Addr[1], in EslUdp4LocalAddressSet()
[all …]
DIp4.c43 &pIp4->ModeData.ConfigData.StationAddress.Addr[0], in EslIp4LocalAddressGet()
99 pConfig->StationAddress.Addr[0] = pIpv4Address[0]; in EslIp4LocalAddressSet()
100 pConfig->StationAddress.Addr[1] = pIpv4Address[1]; in EslIp4LocalAddressSet()
101 pConfig->StationAddress.Addr[2] = pIpv4Address[2]; in EslIp4LocalAddressSet()
102 pConfig->StationAddress.Addr[3] = pIpv4Address[3]; in EslIp4LocalAddressSet()
111 pConfig->StationAddress.Addr[0], in EslIp4LocalAddressSet()
112 pConfig->StationAddress.Addr[1], in EslIp4LocalAddressSet()
113 pConfig->StationAddress.Addr[2], in EslIp4LocalAddressSet()
114 pConfig->StationAddress.Addr[3])); in EslIp4LocalAddressSet()
125 pConfig->SubnetMask.Addr[1] = ( 128 <= pConfig->StationAddress.Addr[0]) ? 0xff : 0; in EslIp4LocalAddressSet()
[all …]
DTcp4.c890 … LocalAddress.sin_addr.s_addr = *(UINT32 *)&pTcp4->ConfigData.AccessPoint.StationAddress.Addr[0]; in EslTcp4ListenComplete()
964 pConfigData->AccessPoint.StationAddress.Addr[0], in EslTcp4ListenComplete()
965 pConfigData->AccessPoint.StationAddress.Addr[1], in EslTcp4ListenComplete()
966 pConfigData->AccessPoint.StationAddress.Addr[2], in EslTcp4ListenComplete()
967 pConfigData->AccessPoint.StationAddress.Addr[3], in EslTcp4ListenComplete()
1082 &pTcp4->ConfigData.AccessPoint.StationAddress.Addr[0], in EslTcp4LocalAddressGet()
1143 pAccessPoint->StationAddress.Addr[0] = pIpv4Address[0]; in EslTcp4LocalAddressSet()
1144 pAccessPoint->StationAddress.Addr[1] = pIpv4Address[1]; in EslTcp4LocalAddressSet()
1145 pAccessPoint->StationAddress.Addr[2] = pIpv4Address[2]; in EslTcp4LocalAddressSet()
1146 pAccessPoint->StationAddress.Addr[3] = pIpv4Address[3]; in EslTcp4LocalAddressSet()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Udp4Dxe/
DUdp4Main.c140 IP4_ADDR StationAddress; in Udp4Configure() local
164 CopyMem (&StationAddress, &UdpConfigData->StationAddress, sizeof (IP4_ADDR)); in Udp4Configure()
168 StationAddress = NTOHL (StationAddress); in Udp4Configure()
175 !((StationAddress == 0) || NetIp4IsUnicast (StationAddress, SubnetMask)) || in Udp4Configure()
231 IP4_COPY_ADDRESS (&Instance->ConfigData.StationAddress, &Ip4ConfigData.StationAddress); in Udp4Configure()
249 CopyMem (&LocalAddr, &Instance->ConfigData.StationAddress, sizeof (IP4_ADDR)); in Udp4Configure()
592 IP4_COPY_ADDRESS (&Override.Ip4OverrideData.SourceAddress, &ConfigData->StationAddress); in Udp4Transmit()
DUdp4Impl.c546 if (EFI_IP4_EQUAL (&ConfigData->StationAddress, Address) && in Udp4FindInstanceByPort()
584 EFI_IPv4_ADDRESS *StationAddress; in Udp4Bind() local
591 StationAddress = &ConfigData->StationAddress; in Udp4Bind()
596 Udp4FindInstanceByPort (InstanceList, StationAddress, ConfigData->StationPort)) { in Udp4Bind()
616 while (Udp4FindInstanceByPort(InstanceList, StationAddress, mUdp4RandomPort)) { in Udp4Bind()
692 (!EFI_IP4_EQUAL (&NewConfigData->StationAddress, &OldConfigData->StationAddress) || in Udp4IsReconfigurable()
745 …CopyMem (&Ip4ConfigData->StationAddress, &Udp4ConfigData->StationAddress, sizeof (EFI_IPv4_ADDRESS… in Udp4BuildIp4ConfigData()
1309 if (EFI_IP4_EQUAL (&ConfigData->StationAddress, &mZeroIp4Addr) || in Udp4MatchDgram()
1310 EFI_IP4_EQUAL (&Udp4Session->DestinationAddress, &ConfigData->StationAddress) in Udp4MatchDgram()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Ip4Dxe/
DComponentName.c272 Ip4ModeData.ConfigData.StationAddress.Addr[0], in UpdateName()
273 Ip4ModeData.ConfigData.StationAddress.Addr[1], in UpdateName()
274 Ip4ModeData.ConfigData.StationAddress.Addr[2], in UpdateName()
275 Ip4ModeData.ConfigData.StationAddress.Addr[3] in UpdateName()
DIp4Config2Nv.c518 Ip4Config2IpToStr (&Ip4Info->StationAddress, IfrNvData->StationAddress); in Ip4Config2ConvertConfigNvDataToIfrNvData()
559 EFI_IP_ADDRESS StationAddress; in Ip4Config2ConvertIfrNvDataToConfigNvData() local
611 Status = Ip4Config2StrToIp (IfrFormNvData->StationAddress, &StationAddress.v4); in Ip4Config2ConvertIfrNvDataToConfigNvData()
612 if (EFI_ERROR (Status) || !NetIp4IsUnicast (NTOHL (StationAddress.Addr[0]), 0)) { in Ip4Config2ConvertIfrNvDataToConfigNvData()
657 CopyMem(&Ip4NvData->ManualAddress->Address, &StationAddress.v4, sizeof(EFI_IPv4_ADDRESS)); in Ip4Config2ConvertIfrNvDataToConfigNvData()
1114 EFI_IP_ADDRESS StationAddress; in Ip4FormCallback() local
1148 Status = Ip4Config2StrToIp (IfrFormNvData->StationAddress, &StationAddress.v4); in Ip4FormCallback()
1149 if (EFI_ERROR (Status) || !NetIp4IsUnicast (NTOHL (StationAddress.Addr[0]), 0)) { in Ip4FormCallback()
DIp4Config2Impl.c479 IN IP4_ADDR StationAddress, in Ip4Config2SetDefaultAddr() argument
494 if ((IpIf->Ip == StationAddress) && (IpIf->SubnetMask == SubnetMask)) { in Ip4Config2SetDefaultAddr()
535 Status = Ip4SetAddress (IpIf, StationAddress, SubnetMask); in Ip4Config2SetDefaultAddr()
565 StationAddress, in Ip4Config2SetDefaultAddr()
573 Subnet = StationAddress & SubnetMask; in Ip4Config2SetDefaultAddr()
603 IN IP4_ADDR StationAddress, in Ip4Config2SetDefaultIf() argument
613 Status = Ip4Config2SetDefaultAddr (IpSb, StationAddress, SubnetMask); in Ip4Config2SetDefaultIf()
822 IP4_ADDR StationAddress; in Ip4Config2OnDhcp4Complete() local
842 StationAddress = EFI_NTOHL (Dhcp4Mode.ClientAddress); in Ip4Config2OnDhcp4Complete()
846 Status = Ip4Config2SetDefaultIf (Instance, StationAddress, SubnetMask, GatewayAddress); in Ip4Config2OnDhcp4Complete()
[all …]
DIp4NvData.h44 CHAR16 StationAddress[IP4_STR_MAX_SIZE]; ///< IP addresses member
/device/linaro/bootloader/edk2/NetworkPkg/Udp6Dxe/
DUdp6Main.c148 EFI_IPv6_ADDRESS StationAddress; in Udp6Configure() local
172 IP6_COPY_ADDRESS (&StationAddress, &UdpConfigData->StationAddress); in Udp6Configure()
175 if ((!NetIp6IsUnspecifiedAddr (&StationAddress) && !NetIp6IsValidUnicast (&StationAddress)) || in Udp6Configure()
235 IP6_COPY_ADDRESS (&Instance->ConfigData.StationAddress, &Ip6ConfigData.StationAddress); in Udp6Configure()
251 IP6_COPY_ADDRESS (&LocalAddr, &Instance->ConfigData.StationAddress); in Udp6Configure()
554 IP6_COPY_ADDRESS (&Source, &ConfigData->StationAddress); in Udp6Transmit()
564 if (!NetIp6IsUnspecifiedAddr (&ConfigData->StationAddress)) { in Udp6Transmit()
DUdp6Impl.c557 if (EFI_IP6_EQUAL (&ConfigData->StationAddress, Address) && in Udp6FindInstanceByPort()
595 EFI_IPv6_ADDRESS *StationAddress; in Udp6Bind() local
602 StationAddress = &ConfigData->StationAddress; in Udp6Bind()
607 Udp6FindInstanceByPort (InstanceList, StationAddress, ConfigData->StationPort) in Udp6Bind()
627 while (Udp6FindInstanceByPort (InstanceList, StationAddress, mUdp6RandomPort)) { in Udp6Bind()
691 if (!EFI_IP6_EQUAL (&NewConfigData->StationAddress, &OldConfigData->StationAddress)) { in Udp6IsReconfigurable()
742 IP6_COPY_ADDRESS (&Ip6ConfigData->StationAddress, &Udp6ConfigData->StationAddress); in Udp6BuildIp6ConfigData()
1306 if (NetIp6IsUnspecifiedAddr (&ConfigData->StationAddress) || in Udp6MatchDgram()
1307 EFI_IP6_EQUAL (&Udp6Session->DestinationAddress, &ConfigData->StationAddress) in Udp6MatchDgram()
/device/linaro/bootloader/edk2/NetworkPkg/TcpDxe/
DTcpDispatcher.c102 IP4_COPY_ADDRESS (&AccessPoint->StationAddress, &Tcb->LocalEnd.Ip); in Tcp4GetMode()
187 IP6_COPY_ADDRESS (&AccessPoint->StationAddress, &Tcb->LocalEnd.Ip); in Tcp6GetMode()
243 IP4_COPY_ADDRESS (&Local, &TcpAp->Tcp4Ap.StationAddress); in TcpBind()
247 IP6_COPY_ADDRESS (&Local, &TcpAp->Tcp6Ap.StationAddress); in TcpBind()
505 &IpCfgData.Ip4CfgData.StationAddress, in TcpConfigurePcb()
506 &CfgData->Tcp4CfgData.AccessPoint.StationAddress in TcpConfigurePcb()
518 &IpCfgData.Ip6CfgData.StationAddress, in TcpConfigurePcb()
519 &CfgData->Tcp6CfgData.AccessPoint.StationAddress in TcpConfigurePcb()
540 &CfgData->Tcp4CfgData.AccessPoint.StationAddress, in TcpConfigurePcb()
541 &IpCfgData.Ip4CfgData.StationAddress in TcpConfigurePcb()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Tcp4Dxe/
DTcp4Dispatcher.c105 IP4_COPY_ADDRESS (&AccessPoint->StationAddress, &Tcb->LocalEnd.Ip); in Tcp4GetMode()
165 if (TcpFindTcbByPeer (&AP->StationAddress, AP->StationPort)) { in Tcp4Bind()
181 while (TcpFindTcbByPeer (&AP->StationAddress, mTcp4RandomPort)) { in Tcp4Bind()
391 IpCfgData.StationAddress = CfgData->AccessPoint.StationAddress; in Tcp4ConfigurePcb()
407 CfgData->AccessPoint.StationAddress = IpCfgData.StationAddress; in Tcp4ConfigurePcb()
460 CopyMem (&Tcb->LocalEnd.Ip, &CfgData->AccessPoint.StationAddress, sizeof (IP4_ADDR)); in Tcp4ConfigurePcb()
/device/linaro/bootloader/edk2/NetworkPkg/Ip6Dxe/
DIp6Impl.c387 StationZero = NetIp6IsUnspecifiedAddr (&Config->StationAddress); in Ip6ConfigProtocol()
411 IP6_COPY_ADDRESS (&Source, &Config->StationAddress); in Ip6ConfigProtocol()
434 IP6_COPY_ADDRESS (&Current->StationAddress, &Source); in Ip6ConfigProtocol()
654 if (!Ip6IsValidAddress (IpSb, &Ip6ConfigData->StationAddress, TRUE)) { in EfiIp6Configure()
672 if (!EFI_IP6_EQUAL (&Current->StationAddress, &Ip6ConfigData->StationAddress)) { in EfiIp6Configure()
677 if (NetIp6IsUnspecifiedAddr (&Current->StationAddress) && IP6_NO_MAPPING (IpInstance)) { in EfiIp6Configure()
874 !NetIp6IsNetEqual (GatewayAddress, &IpInstance->ConfigData.StationAddress, PrefixLength) in EfiIp6Routes()
1304 IP6_COPY_ADDRESS (&Head.SourceAddress, &Config->StationAddress); in EfiIp6Transmit()
1314 ASSERT (!NetIp6IsUnspecifiedAddr (&Config->StationAddress)); in EfiIp6Transmit()
1325 if (NetIp6IsUnspecifiedAddr (&Config->StationAddress)) { in EfiIp6Transmit()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/ArpDxe/
DArpImpl.c186 ConfigData->StationAddress, in ArpOnFrameRcvdDpc()
916 OldConfigData->StationAddress, in ArpConfigureInstance()
917 ConfigData->StationAddress, in ArpConfigureInstance()
931 CopyMem (&Ip, ConfigData->StationAddress, sizeof (IP4_ADDR)); in ArpConfigureInstance()
946 OldConfigData->StationAddress = AllocatePool (OldConfigData->SwAddressLength); in ArpConfigureInstance()
947 if (OldConfigData->StationAddress == NULL) { in ArpConfigureInstance()
957 OldConfigData->StationAddress, in ArpConfigureInstance()
958 ConfigData->StationAddress, in ArpConfigureInstance()
993 FreePool (OldConfigData->StationAddress); in ArpConfigureInstance()
1139 CopyMem (TmpPtr, ConfigData->StationAddress, ConfigData->SwAddressLength); in ArpSendFrame()
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
DIp4Config.h45 EFI_IPv4_ADDRESS StationAddress; member
DIp4Config2.h102 EFI_IPv4_ADDRESS StationAddress; member
DArp.h95 VOID *StationAddress; member
DUdp6.h167 EFI_IPv6_ADDRESS StationAddress; member
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/Ip4Config/
DIp4Config.h33 EFI_IPv4_ADDRESS StationAddress; member
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/UefiPxeBcDxe/
DPxeBcSupport.c81 CopyMem (&Udp4CfgData.StationAddress, StationIp, sizeof (*StationIp)); in PxeBcConfigureUdpWriteInstance()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/Arp/
DArp.h52 VOID *StationAddress; // Network byte order member
/device/linaro/bootloader/edk2/NetworkPkg/UefiPxeBcDxe/
DPxeBcSupport.c47 CopyMem (&Private->Udp6CfgData.StationAddress, StationIp, sizeof (EFI_IPv6_ADDRESS)); in PxeBcFlushStationIp()
48 CopyMem (&Private->Ip6CfgData.StationAddress, StationIp, sizeof (EFI_IPv6_ADDRESS)); in PxeBcFlushStationIp()
64 CopyMem (&Private->Udp4CfgData.StationAddress, StationIp, sizeof (EFI_IPv4_ADDRESS)); in PxeBcFlushStationIp()
66 CopyMem (&Private->Ip4CfgData.StationAddress, StationIp, sizeof (EFI_IPv4_ADDRESS)); in PxeBcFlushStationIp()
519 CopyMem (&Udp4CfgData.StationAddress, StationIp, sizeof (*StationIp)); in PxeBcConfigUdp4Write()
578 CopyMem (&CfgData.StationAddress, StationIp, sizeof (EFI_IPv6_ADDRESS)); in PxeBcConfigUdp6Write()

1234