/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Ip4Dxe/ |
D | Ip4Route.c | 32 IN IP4_ADDR Netmask, in Ip4CreateRouteEntry() argument 48 RtEntry->Netmask = Netmask; in Ip4CreateRouteEntry() 313 IN IP4_ADDR Netmask, in Ip4AddRoute() argument 325 Head = &(RtTable->RouteArea[NetGetMaskLength (Netmask)]); in Ip4AddRoute() 333 if (IP4_NET_EQUAL (RtEntry->Dest, Dest, Netmask) && (RtEntry->NextHop == Gateway)) { in Ip4AddRoute() 341 RtEntry = Ip4CreateRouteEntry (Dest, Netmask, Gateway); in Ip4AddRoute() 375 IN IP4_ADDR Netmask, in Ip4DelRoute() argument 384 Head = &(RtTable->RouteArea[NetGetMaskLength (Netmask)]); in Ip4DelRoute() 389 if (IP4_NET_EQUAL (RtEntry->Dest, Dest, Netmask) && (RtEntry->NextHop == Gateway)) { in Ip4DelRoute() 477 if (IP4_NET_EQUAL (RtEntry->Dest, Dst, RtEntry->Netmask)) { in Ip4FindRouteEntry() [all …]
|
D | Ip4Route.h | 38 IP4_ADDR Netmask; member 133 IN IP4_ADDR Netmask, 154 IN IP4_ADDR Netmask,
|
D | Ip4Impl.c | 647 IP4_ADDR Netmask; in Ip4ConfigProtocol() local 686 CopyMem (&Netmask, &Config->SubnetMask, sizeof (IP4_ADDR)); in Ip4ConfigProtocol() 689 Netmask = NTOHL (Netmask); in Ip4ConfigProtocol() 697 IpIf = Ip4FindStationAddress (IpSb, Ip, Netmask); in Ip4ConfigProtocol() 709 Status = Ip4SetAddress (IpIf, Ip, Netmask); in Ip4ConfigProtocol() 723 Ip4AddRoute (IpInstance->RouteTable, Ip, Netmask, IP4_ALLZERO_ADDRESS); in Ip4ConfigProtocol() 902 IN IP4_ADDR Netmask in Ip4StationAddressValid() argument 912 if (Netmask == IP4_ALLZERO_ADDRESS) { in Ip4StationAddressValid() 919 if ((Len = NetGetMaskLength (Netmask)) == IP4_MASK_NUM) { in Ip4StationAddressValid() 933 if ((Ip == (Ip & Netmask)) || (Ip == (Ip | ~Netmask))) { in Ip4StationAddressValid() [all …]
|
D | Ip4Common.c | 201 IN IP4_ADDR Netmask in Ip4FindStationAddress() argument 210 if (IpIf->Configured && (IpIf->Ip == Ip) && (IpIf->SubnetMask == Netmask)) { in Ip4FindStationAddress()
|
D | Ip4Common.h | 165 IN IP4_ADDR Netmask
|
D | Ip4If.c | 565 IP4_ADDR Netmask; in Ip4SetAddress() local 585 Netmask = gIp4AllMasks[MIN (Len, Type << 3)]; in Ip4SetAddress() 586 Interface->NetBrdcast = (IpAddr | ~Netmask); in Ip4SetAddress()
|
D | Ip4Config2Impl.c | 424 EFI_IP4 (Table[Count].SubnetAddress) = HTONL (RtEntry->Dest & RtEntry->Netmask); in Ip4Config2BuildDefaultRouteTable() 425 EFI_IP4 (Table[Count].SubnetMask) = HTONL (RtEntry->Netmask); in Ip4Config2BuildDefaultRouteTable()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Mtftp4Dxe/ |
D | Mtftp4Impl.c | 191 IP4_ADDR Netmask; in Mtftp4OverrideValid() local 205 CopyMem (&Netmask, &Config->SubnetMask, sizeof (IP4_ADDR)); in Mtftp4OverrideValid() 208 Netmask = NTOHL (Netmask); in Mtftp4OverrideValid() 211 if (!NetIp4IsUnicast (Gateway, Netmask) || !IP4_NET_EQUAL (Gateway, Ip, Netmask)) { in Mtftp4OverrideValid() 634 IP4_ADDR Netmask; in EfiMtftp4Configure() local 661 CopyMem (&Netmask, &ConfigData->SubnetMask, sizeof (IP4_ADDR)); in EfiMtftp4Configure() 666 Netmask = NTOHL (Netmask); in EfiMtftp4Configure() 675 ((!IP4_IS_VALID_NETMASK (Netmask) || !NetIp4IsUnicast (Ip, Netmask)))) { in EfiMtftp4Configure() 681 (!IP4_NET_EQUAL (Gateway, Ip, Netmask) || !NetIp4IsUnicast (Gateway, Netmask))) { in EfiMtftp4Configure()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Dhcp4Dxe/ |
D | Dhcp4Impl.h | 99 IP4_ADDR Netmask; member
|
D | Dhcp4Io.c | 353 Ip = HTONL (DhcpSb->Netmask); in DhcpConfigLeaseIoPort() 401 DhcpSb->Netmask = DhcpSb->Para->NetMask; in DhcpLeaseAcquired() 405 if (DhcpSb->Netmask == 0) { in DhcpLeaseAcquired() 408 DhcpSb->Netmask = gIp4AllMasks[Class << 3]; in DhcpLeaseAcquired() 454 DhcpSb->Netmask = 0; in DhcpCleanLease()
|
D | Dhcp4Impl.c | 390 Ip = HTONL (DhcpSb->Netmask); in EfiDhcp4GetModeData()
|
/device/linaro/bootloader/edk2/NetworkPkg/DnsDxe/ |
D | DnsProtocol.c | 174 IP4_ADDR Netmask; in Dns4Configure() local 223 CopyMem (&Netmask, &DnsConfigData->SubnetMask, sizeof (IP4_ADDR)); in Dns4Configure() 226 Netmask = NTOHL (Netmask); in Dns4Configure() 229 ((!IP4_IS_VALID_NETMASK (Netmask) || !NetIp4IsUnicast (Ip, Netmask)))) { in Dns4Configure()
|