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

1234

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Ip4Dxe/
H A DIp4NvData.h45 CHAR16 SubnetMask[IP4_STR_MAX_SIZE]; ///< Subnet address member in struct:__anon6461
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 DIp4Config2Nv.c22 @param[in] SubnetMask The IPv4 subnet mask.
30 IN EFI_IPv4_ADDRESS *SubnetMask
37 // The SubnetMask is in network byte order.
39 ReverseMask = SwapBytes32 (*(UINT32 *)&SubnetMask[0]);
519 Ip4Config2IpToStr (&Ip4Info->SubnetMask, IfrNvData->SubnetMask);
560 EFI_IP_ADDRESS SubnetMask; local
617 Status = Ip4Config2StrToIp (IfrFormNvData->SubnetMask, &SubnetMask.v4);
618 if (EFI_ERROR (Status) || ((SubnetMask
1115 EFI_IP_ADDRESS SubnetMask; local
[all...]
H A DIp4Config2Impl.c425 EFI_IP4 (Table[Count].SubnetMask) = HTONL (RtEntry->Netmask);
470 @param[in] SubnetMask Subnet to be set.
480 IN IP4_ADDR SubnetMask
494 if ((IpIf->Ip == StationAddress) && (IpIf->SubnetMask == SubnetMask)) {
535 Status = Ip4SetAddress (IpIf, StationAddress, SubnetMask);
566 SubnetMask,
573 Subnet = StationAddress & SubnetMask;
578 SubnetMask,
593 @param[in] SubnetMask Subne
601 Ip4Config2SetDefaultIf( IN IP4_CONFIG2_INSTANCE *Instance, IN IP4_ADDR StationAddress, IN IP4_ADDR SubnetMask, IN IP4_ADDR GatewayAddress ) argument
823 IP4_ADDR SubnetMask; local
1239 IP4_ADDR SubnetMask; local
[all...]
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));
686 CopyMem (&Netmask, &Config->SubnetMask, sizeo
1003 IP4_ADDR SubnetMask; local
1323 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...]
/device/linaro/bootloader/edk2/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,
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
H A DIp4Config2.h106 EFI_IPv4_ADDRESS SubnetMask; member in struct:__anon8007
152 EFI_IPv4_ADDRESS SubnetMask; member in struct:__anon8009
H A DIp4.h51 EFI_IPv4_ADDRESS SubnetMask; member in struct:__anon7992
104 EFI_IPv4_ADDRESS SubnetMask; member in struct:__anon7994
139 EFI_IPv4_ADDRESS SubnetMask; member in struct:__anon7995
331 IpConfigData.SubnetMask is not a valid IPv4 subnet
396 address arithmetically AND-ed with the SubnetMask. The gateway address must be
399 The default route is added with SubnetAddress and SubnetMask both set to 0.0.0.0.
417 and SubnetMask are used as the key to each route entry.
419 @param SubnetMask The subnet mask of SubnetAddress.
429 - SubnetMask is NULL.
432 - *SubnetMask i
[all...]
H A DIp4Config.h36 /// and SubnetMask must be a valid unicast IP address and subnet mask.
38 /// formatted routing table for the StationAddress/SubnetMask, with the
49 EFI_IPv4_ADDRESS SubnetMask; member in struct:__anon8005
/device/linaro/bootloader/edk2/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
174 destination IP address's arithmetical AND to the SubnetMask.
175 The default route is added with both SubnetAddress and SubnetMask set to 0.0.0.0.
192 DestinationAddress and SubnetMask are used as
195 @param SubnetMask The subnet mask for the destination network.
220 IN EFI_IPv4_ADDRESS *SubnetMask,
H A DTcp4Dispatcher.c53 RouteInfo->SubnetMask,
106 IP4_COPY_ADDRESS (&AccessPoint->SubnetMask, &Tcb->SubnetMask);
392 IpCfgData.SubnetMask = CfgData->AccessPoint.SubnetMask;
408 CfgData->AccessPoint.SubnetMask = IpCfgData.SubnetMask;
462 IP4_COPY_ADDRESS (&Tcb->SubnetMask, &CfgData->AccessPoint.SubnetMask);
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/Ip4/
H A DIp4.h42 EFI_IPv4_ADDRESS SubnetMask; member in struct:__anon4072
59 EFI_IPv4_ADDRESS SubnetMask; member in struct:__anon4074
71 EFI_IPv4_ADDRESS SubnetMask; member in struct:_EFI_IP4_ROUTE_TABLE
196 IN EFI_IPv4_ADDRESS *SubnetMask,
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/Ip4Config/
H A DIp4Config.h34 EFI_IPv4_ADDRESS SubnetMask; member in struct:__anon4077
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Udp4Dxe/
H A DUdp4Main.c141 IP4_ADDR SubnetMask; local
165 CopyMem (&SubnetMask, &UdpConfigData->SubnetMask, sizeof (IP4_ADDR));
169 SubnetMask = NTOHL (SubnetMask);
174 (!IP4_IS_VALID_NETMASK (SubnetMask) ||
175 !((StationAddress == 0) || NetIp4IsUnicast (StationAddress, SubnetMask)) ||
232 IP4_COPY_ADDRESS (&Instance->ConfigData.SubnetMask, &Ip4ConfigData.SubnetMask);
399 address and arithmetically AND-ing it with the SubnetMask
434 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...]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/IScsiDxe/
H A DIScsiMisc.h33 EFI_IPv4_ADDRESS SubnetMask; member in struct:__anon6438
57 @param[in] SubnetMask The IPv4 subnet mask.
64 IN EFI_IPv4_ADDRESS *SubnetMask
H A DIScsiConfigNVDataStruc.h90 CHAR16 SubnetMask[IP4_STR_MAX_SIZE]; member in struct:__anon6437
H A DIScsiTcp4Io.h23 EFI_IPv4_ADDRESS SubnetMask; member in struct:_TCP4_IO_CONFIG_DATA
H A DIScsiConfig.c379 IScsiIpToStr (&SessionConfigData->SubnetMask, IfrNvData->SubnetMask);
676 EFI_IP_ADDRESS SubnetMask; local
740 IScsiUnicodeStrToAsciiStr (IfrNvData->SubnetMask, Ip4String);
741 Status = IScsiAsciiStrToIp (Ip4String, &SubnetMask.v4);
742 if (EFI_ERROR (Status) || ((SubnetMask.Addr[0] != 0) && (IScsiGetSubnetMaskPrefixLength (&SubnetMask.v4) == 0))) {
746 CopyMem (&Private->Current->SessionConfigData.SubnetMask, &SubnetMask.v4, sizeof (SubnetMask
[all...]
/device/linaro/bootloader/edk2/NetworkPkg/IScsiDxe/
H A DIScsiMisc.h43 EFI_IPv4_ADDRESS SubnetMask; member in struct:_ISCSI_SESSION_CONFIG_NVDATA
62 @param[in] SubnetMask The IPv4 subnet mask.
70 IN EFI_IPv4_ADDRESS *SubnetMask
/device/linaro/bootloader/edk2/StdLib/EfiSocketLib/
H A DIp4.c118 pConfig->SubnetMask.Addr[0] = 0;
119 pConfig->SubnetMask.Addr[1] = 0;
120 pConfig->SubnetMask.Addr[2] = 0;
121 pConfig->SubnetMask.Addr[3] = 0;
124 pConfig->SubnetMask.Addr[0] = 0xff;
125 pConfig->SubnetMask.Addr[1] = ( 128 <= pConfig->StationAddress.Addr[0]) ? 0xff : 0;
126 pConfig->SubnetMask.Addr[2] = ( 192 <= pConfig->StationAddress.Addr[0]) ? 0xff : 0;
127 pConfig->SubnetMask.Addr[3] = ( 224 <= pConfig->StationAddress.Addr[0]) ? 0xff : 0;
800 pIp4->ModeData.ConfigData.SubnetMask.Addr[0],
801 pIp4->ModeData.ConfigData.SubnetMask
[all...]
/device/linaro/bootloader/edk2/NetworkPkg/TcpDxe/
H A DTcpMain.c138 IP4_ADDR SubnetMask; local
161 CopyMem (&SubnetMask, &TcpConfigData->AccessPoint.SubnetMask, sizeof (IP4_ADDR));
162 if (!NetIp4IsUnicast (NTOHL (Ip), 0) || !IP4_IS_VALID_NETMASK (NTOHL (SubnetMask))) {
196 @param[in] SubnetMask The subnet mask for the destination network.
219 IN EFI_IPv4_ADDRESS *SubnetMask,
234 RouteInfo.SubnetMask = SubnetMask;
215 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
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/Tcp4/
H A DTcp4.h61 EFI_IPv4_ADDRESS SubnetMask; member in struct:__anon4141
178 IN EFI_IPv4_ADDRESS *SubnetMask,
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/Udp4/
H A DUdp4.h95 EFI_IPv4_ADDRESS SubnetMask; member in struct:__anon4158
168 IN EFI_IPv4_ADDRESS *SubnetMask,

Completed in 247 milliseconds

1234