Searched refs:SubnetMask (Results 1 - 25 of 79) sorted by relevance

1234

/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Network/Ip4ConfigDxe/
H A DIp4NvData.h43 CHAR16 SubnetMask[IP4_STR_MAX_SIZE]; ///< Subnet address member in struct:__anon11213
H A DIp4ConfigNv.c21 @param[in] SubnetMask The IPv4 subnet mask.
28 IN EFI_IPv4_ADDRESS *SubnetMask
35 // The SubnetMask is in network byte order.
37 ReverseMask = SwapBytes32 (*(UINT32 *)&SubnetMask[0]);
161 Ip4ConfigIpToStr (&NicConfig->Ip4Info.SubnetMask, IfrFormNvData->SubnetMask);
166 CopyMem (&Ip4ConfigInstance->Ip4ConfigCallbackInfo.SubnetMask, &NicConfig->Ip4Info.SubnetMask, sizeof (EFI_IPv4_ADDRESS));
198 EFI_IP_ADDRESS SubnetMask; local
209 Ip4StrToIp (IfrFormNvData->SubnetMask,
687 EFI_IP_ADDRESS SubnetMask; local
[all...]
H A DIp4Config.c219 Ip4Config->SubnetMask = Dhcp4Mode.SubnetMask;
227 CopyMem (&Ip2, &Dhcp4Mode.SubnetMask, sizeof (IP4_ADDR));
232 CopyMem (&Ip4Config->RouteTable[0].SubnetMask, &Dhcp4Mode.SubnetMask, sizeof (EFI_IPv4_ADDRESS));
242 ZeroMem (&Ip4Config->RouteTable[1].SubnetMask, sizeof (EFI_IPv4_ADDRESS));
H A DIp4ConfigDxe.vfr60 string varid = EfiNicIp4ConfigVariable.SubnetMask,
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Network/UefiPxeBcDxe/
H A DPxeBcSupport.c42 @param SubnetMask Pointer to the subnetmask of the station ip address.
66 IN EFI_IPv4_ADDRESS *SubnetMask,
82 CopyMem (&Udp4CfgData.SubnetMask, SubnetMask, sizeof (*SubnetMask));
63 PxeBcConfigureUdpWriteInstance( IN EFI_UDP4_PROTOCOL *Udp4, IN EFI_IPv4_ADDRESS *StationIp, IN EFI_IPv4_ADDRESS *SubnetMask, IN EFI_IPv4_ADDRESS *Gateway, IN OUT UINT16 *SrcPort ) argument
H A DPxeBcSupport.h38 @param SubnetMask Pointer to the subnetmask of the station ip address.
62 IN EFI_IPv4_ADDRESS *SubnetMask,
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Network/Tcp4Dxe/
H A DTcp4Main.c161 IP4_ADDR SubnetMask; local
185 CopyMem (&SubnetMask, &TcpConfigData->AccessPoint.SubnetMask, sizeof (IP4_ADDR));
186 if (!NetIp4IsUnicast (NTOHL (Ip), 0) || !IP4_IS_VALID_NETMASK (NTOHL (SubnetMask))) {
219 destination IP address's arithmetical AND to the SubnetMask.
220 The default route is added with both SubnetAddress and SubnetMask set to 0.0.0.0.
237 DestinationAddress and SubnetMask are used as
240 @param SubnetMask The subnet mask for the destination network.
265 IN EFI_IPv4_ADDRESS *SubnetMask,
280 RouteInfo.SubnetMask
261 Tcp4Routes( IN EFI_TCP4_PROTOCOL *This, IN BOOLEAN DeleteRoute, IN EFI_IPv4_ADDRESS *SubnetAddress, IN EFI_IPv4_ADDRESS *SubnetMask, IN EFI_IPv4_ADDRESS *GatewayAddress ) argument
[all...]
H A DTcp4Main.h74 EFI_IPv4_ADDRESS *SubnetMask; member in struct:_TCP4_ROUTE_INFO
168 destination IP address's arithmetical AND to the SubnetMask.
169 The default route is added with both SubnetAddress and SubnetMask set to 0.0.0.0.
186 DestinationAddress and SubnetMask are used as
189 @param SubnetMask The subnet mask for the destination network.
214 IN EFI_IPv4_ADDRESS *SubnetMask,
H A DTcp4Dispatcher.c52 RouteInfo->SubnetMask,
105 AccessPoint->SubnetMask = Tcb->SubnetMask;
367 IpCfgData.SubnetMask = CfgData->AccessPoint.SubnetMask;
383 CfgData->AccessPoint.SubnetMask = IpCfgData.SubnetMask;
437 Tcb->SubnetMask = CfgData->AccessPoint.SubnetMask;
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Protocol/
H A DIp4.h47 EFI_IPv4_ADDRESS SubnetMask; member in struct:__anon12159
96 EFI_IPv4_ADDRESS SubnetMask; member in struct:__anon12161
131 EFI_IPv4_ADDRESS SubnetMask; member in struct:__anon12162
323 IpConfigData.SubnetMask is not a valid IPv4 subnet
388 address arithmetically AND-ed with the SubnetMask. The gateway address must be
391 The default route is added with SubnetAddress and SubnetMask both set to 0.0.0.0.
409 and SubnetMask are used as the key to each route entry.
411 @param SubnetMask The subnet mask of SubnetAddress.
421 - SubnetMask is NULL.
424 - *SubnetMask i
[all...]
H A DIp4Config.h37 /// and SubnetMask must be a valid unicast IP address and subnet mask.
39 /// formatted routing table for the StationAddress/SubnetMask, with the
50 EFI_IPv4_ADDRESS SubnetMask; member in struct:__anon12172
H A DTcp4.h55 EFI_IPv4_ADDRESS SubnetMask; member in struct:__anon12324
289 DestinationAddress and SubnetMask are used as the
292 @param SubnetMask The subnet mask of the destination network.
303 - SubnetMask is NULL.
306 - *SubnetMask is not a valid subnet mask.
322 IN EFI_IPv4_ADDRESS *SubnetMask,
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Network/Udp4Dxe/
H A DUdp4Main.c140 IP4_ADDR SubnetMask; local
164 CopyMem (&SubnetMask, &UdpConfigData->SubnetMask, sizeof (IP4_ADDR));
168 SubnetMask = NTOHL (SubnetMask);
173 (!IP4_IS_VALID_NETMASK (SubnetMask) ||
174 !((StationAddress == 0) || NetIp4IsUnicast (StationAddress, SubnetMask)) ||
231 Instance->ConfigData.SubnetMask = Ip4ConfigData.SubnetMask;
400 address and arithmetically AND-ing it with the SubnetMask
435 Udp4Routes( IN EFI_UDP4_PROTOCOL *This, IN BOOLEAN DeleteRoute, IN EFI_IPv4_ADDRESS *SubnetAddress, IN EFI_IPv4_ADDRESS *SubnetMask, IN EFI_IPv4_ADDRESS *GatewayAddress ) argument
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Network/Ip4Dxe/
H A DIp4Impl.c139 address arithmetically AND-ed with the SubnetMask. The gateway address must be
142 The default route is added with SubnetAddress and SubnetMask both set to 0.0.0.0.
160 and SubnetMask are used as the key to each route entry.
162 @param[in] SubnetMask The subnet mask of SubnetAddress.
172 - SubnetMask is NULL.
175 - *SubnetMask is not a valid subnet mask.
189 IN EFI_IPv4_ADDRESS *SubnetMask,
423 Ip = HTONL (IpInstance->Interface->SubnetMask);
424 CopyMem (&Config->SubnetMask, &Ip, sizeof (EFI_IPv4_ADDRESS));
562 IP4_ADDR SubnetMask; local
1180 IP4_ADDR SubnetMask; local
1513 EfiIp4Routes( IN EFI_IP4_PROTOCOL *This, IN BOOLEAN DeleteRoute, IN EFI_IPv4_ADDRESS *SubnetAddress, IN EFI_IPv4_ADDRESS *SubnetMask, IN EFI_IPv4_ADDRESS *GatewayAddress ) argument
[all...]
H A DIp4If.h151 IP4_ADDR SubnetMask; member in struct:_IP4_INTERFACE
182 // All the IP instances that have the same IP/SubnetMask are linked
216 @param SubnetMask The interface's netmask
227 IN IP4_ADDR SubnetMask
H A DIp4Common.c178 if (IpIf->Configured && IP4_NET_EQUAL (Ip, IpIf->Ip, IpIf->SubnetMask)) {
210 if (IpIf->Configured && (IpIf->Ip == Ip) && (IpIf->SubnetMask == Netmask)) {
342 EFI_IP4 (Ip4AddressPair->SubnetMask) = NTOHL (IpInstance->Interface->SubnetMask);
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Network/IScsiDxe/
H A DIScsiMisc.h28 EFI_IPv4_ADDRESS SubnetMask; member in struct:__anon11209
52 @param[in] SubnetMask The IPv4 subnet mask.
59 IN EFI_IPv4_ADDRESS *SubnetMask
H A DIScsiConfigNVDataStruc.h90 CHAR16 SubnetMask[IP4_STR_MAX_SIZE]; member in struct:__anon11208
H A DIScsiTcp4Io.h23 EFI_IPv4_ADDRESS SubnetMask; member in struct:_TCP4_IO_CONFIG_DATA
H A DIScsiMisc.c74 @param[in] SubnetMask The IPv4 subnet mask.
81 IN EFI_IPv4_ADDRESS *SubnetMask
88 // The SubnetMask is in network byte order.
90 ReverseMask = (SubnetMask->Addr[0] << 24) | (SubnetMask->Addr[1] << 16) | (SubnetMask->Addr[2] << 8) | (SubnetMask->Addr[3]);
769 &DPathNode->Ipv4.SubnetMask,
770 &Session->ConfigData.NvData.SubnetMask
H A DIScsiConfig.c377 IScsiIpToStr (&SessionConfigData->SubnetMask, IfrNvData->SubnetMask);
674 EFI_IP_ADDRESS SubnetMask; local
737 IScsiUnicodeStrToAsciiStr (IfrNvData->SubnetMask, Ip4String);
738 Status = IScsiAsciiStrToIp (Ip4String, &SubnetMask.v4);
739 if (EFI_ERROR (Status) || ((SubnetMask.Addr[0] != 0) && (IScsiGetSubnetMaskPrefixLength (&SubnetMask.v4) == 0))) {
743 CopyMem (&Private->Current->SessionConfigData.SubnetMask, &SubnetMask.v4, sizeof (SubnetMask
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/IScsiDxe/
H A DIScsiMisc.h27 EFI_IPv4_ADDRESS SubnetMask; member in struct:_ISCSI_SESSION_CONFIG_NVDATA
45 @param[in] SubnetMask The IPv4 subnet mask.
53 IN EFI_IPv4_ADDRESS *SubnetMask
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/EfiSocketLib/
H A DIp4.c139 pConfig->SubnetMask.Addr[0] = 0;
140 pConfig->SubnetMask.Addr[1] = 0;
141 pConfig->SubnetMask.Addr[2] = 0;
142 pConfig->SubnetMask.Addr[3] = 0;
145 pConfig->SubnetMask.Addr[0] = 0xff;
146 pConfig->SubnetMask.Addr[1] = 0xff;
147 pConfig->SubnetMask.Addr[2] = 0xff;
148 pConfig->SubnetMask.Addr[3] = 0xff;
849 pIp4->ModeData.ConfigData.SubnetMask.Addr[0],
850 pIp4->ModeData.ConfigData.SubnetMask
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/TcpDxe/
H A DTcpMain.c137 IP4_ADDR SubnetMask; local
160 CopyMem (&SubnetMask, &TcpConfigData->AccessPoint.SubnetMask, sizeof (IP4_ADDR));
161 if (!NetIp4IsUnicast (NTOHL (Ip), 0) || !IP4_IS_VALID_NETMASK (NTOHL (SubnetMask))) {
195 @param[in] SubnetMask The subnet mask for the destination network.
218 IN EFI_IPv4_ADDRESS *SubnetMask,
233 RouteInfo.SubnetMask = SubnetMask;
214 Tcp4Routes( IN EFI_TCP4_PROTOCOL *This, IN BOOLEAN DeleteRoute, IN EFI_IPv4_ADDRESS *SubnetAddress, IN EFI_IPv4_ADDRESS *SubnetMask, IN EFI_IPv4_ADDRESS *GatewayAddress ) argument
H A DTcpDispatcher.c50 RouteInfo->SubnetMask,
103 AccessPoint->SubnetMask = Tcb->SubnetMask;
459 IpCfgData.Ip4CfgData.SubnetMask = CfgData->Tcp4CfgData.AccessPoint.SubnetMask;
498 CfgData->Tcp4CfgData.AccessPoint.SubnetMask = IpCfgData.Ip4CfgData.SubnetMask;
565 Tcb->SubnetMask = CfgData->Tcp4CfgData.AccessPoint.SubnetMask;

Completed in 826 milliseconds

1234