/device/linaro/bootloader/edk2/NetworkPkg/Ip6Dxe/ |
D | Ip6Route.c | 59 IN UINT8 PrefixLength, in Ip6CreateRouteEntry() argument 73 RtEntry->PrefixLength = PrefixLength; in Ip6CreateRouteEntry() 143 if (NetIp6IsNetEqual (Destination, &RtEntry->Destination, RtEntry->PrefixLength)) { in Ip6FindRouteEntry() 148 if (NetIp6IsNetEqual (NextHop, &RtEntry->NextHop, RtEntry->PrefixLength)) { in Ip6FindRouteEntry() 311 RtEntry->PrefixLength in Ip6BuildEfiRouteTable() 315 EfiTable[Count].PrefixLength = RtEntry->PrefixLength; in Ip6BuildEfiRouteTable() 458 IN UINT8 PrefixLength, in Ip6AddRoute() argument 466 ListHead = &RtTable->RouteArea[PrefixLength]; in Ip6AddRoute() 474 if (NetIp6IsNetEqual (Destination, &Route->Destination, PrefixLength) && in Ip6AddRoute() 483 Route = Ip6CreateRouteEntry (Destination, PrefixLength, GatewayAddress); in Ip6AddRoute() [all …]
|
D | Ip6Common.c | 72 EfiAddrInfo->PrefixLength = IP6_LINK_LOCAL_PREFIX_LENGTH; in Ip6BuildEfiAddressList() 81 EfiAddrInfo->PrefixLength = AddrInfo->PrefixLength; in Ip6BuildEfiAddressList() 422 IN UINT8 PrefixLength in Ip6RemoveAddr() argument 431 if (IsListEmpty (AddressList) || *AddressCount < 1 || PrefixLength > IP6_PREFIX_MAX) { in Ip6RemoveAddr() 441 (PrefixLength == 128 && EFI_IP6_EQUAL (Prefix, &AddrInfo->Address)) || in Ip6RemoveAddr() 442 …(PrefixLength == AddrInfo->PrefixLength && NetIp6IsNetEqual (Prefix, &AddrInfo->Address, PrefixLen… in Ip6RemoveAddr() 601 IN UINT8 PrefixLength in Ip6CopyAddressByPrefix() argument 609 ASSERT (PrefixLength <= IP6_PREFIX_MAX); in Ip6CopyAddressByPrefix() 611 Byte = (UINT8) (PrefixLength / 8); in Ip6CopyAddressByPrefix() 612 Bit = (UINT8) (PrefixLength % 8); in Ip6CopyAddressByPrefix()
|
D | Ip6If.c | 85 IN UINT8 PrefixLength, in Ip6SetAddress() argument 126 AddressInfo->PrefixLength = PrefixLength; in Ip6SetAddress() 130 if (AddressInfo->PrefixLength == 0) { in Ip6SetAddress() 138 … if (NetIp6IsNetEqual (&PrefixEntry->Prefix, &AddressInfo->Address, PrefixEntry->PrefixLength)) { in Ip6SetAddress() 139 AddressInfo->PrefixLength = PrefixEntry->PrefixLength; in Ip6SetAddress() 145 if (AddressInfo->PrefixLength == 0) { in Ip6SetAddress() 153 … if (NetIp6IsNetEqual (&PrefixEntry->Prefix, &AddressInfo->Address, PrefixEntry->PrefixLength)) { in Ip6SetAddress() 154 AddressInfo->PrefixLength = PrefixEntry->PrefixLength; in Ip6SetAddress() 160 if (AddressInfo->PrefixLength == 0) { in Ip6SetAddress() 164 AddressInfo->PrefixLength = IP6_LINK_LOCAL_PREFIX_LENGTH; in Ip6SetAddress()
|
D | Ip6Route.h | 34 UINT8 PrefixLength; member 196 IN UINT8 PrefixLength, 254 IN UINT8 PrefixLength, 276 IN UINT8 PrefixLength,
|
D | Ip6Icmp.c | 467 IN UINT8 PrefixLength, in Ip6GetPrefix() argument 476 ASSERT ((Prefix != NULL) && (PrefixLength < IP6_PREFIX_MAX)); in Ip6GetPrefix() 478 if (PrefixLength == 0) { in Ip6GetPrefix() 483 if (PrefixLength >= IP6_PREFIX_MAX) { in Ip6GetPrefix() 487 Byte = (UINT8) (PrefixLength / 8); in Ip6GetPrefix() 488 Bit = (UINT8) (PrefixLength % 8); in Ip6GetPrefix() 534 Ip6GetPrefix (PrefixEntry->PrefixLength, &Prefix); in Ip6IsAnycast()
|
D | Ip6Nd.h | 81 UINT8 PrefixLength; member 150 UINT8 PrefixLength; member 334 IN UINT8 PrefixLength, 375 IN UINT8 PrefixLength, 689 IN UINT8 PrefixLength,
|
D | Ip6Nd.c | 156 EfiPrefix->PrefixLength = PrefixList->PrefixLength; in Ip6BuildPrefixTable() 191 IN UINT8 PrefixLength, in Ip6CreatePrefixListEntry() argument 201 if (Prefix == NULL || PreferredLifetime > ValidLifetime || PrefixLength > IP6_PREFIX_MAX) { in Ip6CreatePrefixListEntry() 210 PrefixLength, in Ip6CreatePrefixListEntry() 226 PrefixEntry->PrefixLength = PrefixLength; in Ip6CreatePrefixListEntry() 235 RtEntry = Ip6CreateRouteEntry (Prefix, PrefixLength, NULL); in Ip6CreatePrefixListEntry() 242 InsertHeadList (&IpSb->RouteTable->RouteArea[PrefixLength], &RtEntry->Link); in Ip6CreatePrefixListEntry() 253 if (TmpPrefixEntry->PrefixLength < PrefixEntry->PrefixLength) { in Ip6CreatePrefixListEntry() 299 PrefixEntry->PrefixLength, in Ip6DestroyPrefixListEntry() 310 …r (IpSb, &IpIf->AddressList, &IpIf->AddressCount, &PrefixEntry->Prefix, PrefixEntry->PrefixLength); in Ip6DestroyPrefixListEntry() [all …]
|
D | Ip6Common.h | 234 IN UINT8 PrefixLength 279 IN UINT8 PrefixLength
|
D | Ip6ConfigImpl.c | 936 (NewAddress->PrefixLength > 128) in Ip6ConfigSetMaunualAddress() 1027 if (NewAddress->PrefixLength == 0) { in Ip6ConfigSetMaunualAddress() 1028 NewAddress->PrefixLength = CurrentAddrInfo->PrefixLength; in Ip6ConfigSetMaunualAddress() 1034 if (NewAddress->PrefixLength != CurrentAddrInfo->PrefixLength) { in Ip6ConfigSetMaunualAddress() 1042 CurrentAddrInfo->PrefixLength, in Ip6ConfigSetMaunualAddress() 1052 CurrentAddrInfo->PrefixLength = NewAddress->PrefixLength; in Ip6ConfigSetMaunualAddress() 1062 NewAddress->PrefixLength, in Ip6ConfigSetMaunualAddress() 1071 NewAddress->PrefixLength, in Ip6ConfigSetMaunualAddress() 1095 NewAddress->PrefixLength, in Ip6ConfigSetMaunualAddress() 1134 CurrentAddrInfo->PrefixLength, in Ip6ConfigSetMaunualAddress() [all …]
|
D | Ip6ConfigNv.c | 456 UINT8 PrefixLength; in Ip6ConvertAddressListToString() local 509 PrefixLength = ((EFI_IP6_ADDRESS_INFO *) AddressInfo)->PrefixLength; in Ip6ConvertAddressListToString() 511 PrefixLength = ((EFI_IP6_ROUTE_TABLE *) AddressInfo)->PrefixLength; in Ip6ConvertAddressListToString() 519 Number = UnicodeSPrint (TempStr, 6, L"%d", PrefixLength); in Ip6ConvertAddressListToString() 630 Status = NetLibStrToIp6andPrefix (TempStr, &AddressInfo.Address, &AddressInfo.PrefixLength); in Ip6ParseAddressListFromString() 635 if (AddressInfo.PrefixLength == 0xFF) { in Ip6ParseAddressListFromString() 636 AddressInfo.PrefixLength = 0; in Ip6ParseAddressListFromString() 850 ManualAddress->PrefixLength = Node->AddrInfo.PrefixLength; in Ip6BuildNvAddressInfo()
|
D | Ip6Impl.h | 146 UINT8 PrefixLength; // PrefixLength of the configured station address. member 519 IN UINT8 PrefixLength,
|
D | Ip6Impl.c | 417 IpInstance->PrefixLength = AddressInfo->PrefixLength; in Ip6ConfigProtocol() 419 IpInstance->PrefixLength = IP6_LINK_LOCAL_PREFIX_LENGTH; in Ip6ConfigProtocol() 836 IN UINT8 PrefixLength, in EfiIp6Routes() argument 845 if ((This == NULL) || (PrefixLength > IP6_PREFIX_MAX)) { in EfiIp6Routes() 874 !NetIp6IsNetEqual (GatewayAddress, &IpInstance->ConfigData.StationAddress, PrefixLength) in EfiIp6Routes() 886 Status = Ip6DelRoute (IpSb->RouteTable, Destination, PrefixLength, GatewayAddress); in EfiIp6Routes() 888 Status = Ip6AddRoute (IpSb->RouteTable, Destination, PrefixLength, GatewayAddress); in EfiIp6Routes()
|
D | Ip6If.h | 86 UINT8 PrefixLength; member
|
/device/linaro/bootloader/edk2/NetworkPkg/Application/IpsecConfig/ |
D | Helper.c | 187 Addr->PrefixLength = 0; in EfiInetAddrRange() 189 Addr->PrefixLength = 32; in EfiInetAddrRange() 194 Status = NetLibStrToIp6andPrefix (Ptr, &Addr->Address.v6, &Addr->PrefixLength); in EfiInetAddrRange() 195 if (!EFI_ERROR (Status) && (Addr->PrefixLength == 0xFF)) { in EfiInetAddrRange() 196 Addr->PrefixLength = 128; in EfiInetAddrRange()
|
D | Match.c | 141 … (Indexer->PadId.Id.IpAddress.PrefixLength == PadId->Id.IpAddress.PrefixLength) && in MatchPadEntry()
|
D | Dump.c | 33 if((AddressInfo->PrefixLength <= 32) && (AddressInfo->Address.Addr[1] == 0) && in GetVerFromAddrInfo() 117 if (AddressInfo->PrefixLength != 32) { in DumpAddressInfo() 118 Print (L"/%d", (UINTN) AddressInfo->PrefixLength); in DumpAddressInfo() 134 if (AddressInfo->PrefixLength != 128) { in DumpAddressInfo() 135 Print (L"/%d", AddressInfo->PrefixLength); in DumpAddressInfo()
|
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/ |
D | Ip6.h | 61 UINT8 PrefixLength; member 229 UINT8 PrefixLength; ///< The length of the prefix associated with the Address. member 250 UINT8 PrefixLength; member 720 IN UINT8 PrefixLength,
|
D | Ip6Config.h | 195 …UINT8 PrefixLength; ///< The length, in bits, of the prefix associated with this … member
|
/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/ |
D | IpSecImpl.c | 43 IN UINT8 PrefixLength in IpSecValidAddressRange() argument 53 if (PrefixLength == 0) { in IpSecValidAddressRange() 59 if (AddrLen <= PrefixLength) { in IpSecValidAddressRange() 63 Div = (UINT8) (PrefixLength / 8); in IpSecValidAddressRange() 64 Mod = (UINT8) (PrefixLength % 8); in IpSecValidAddressRange() 107 IN UINT8 PrefixLength, in IpSecExtractAddressRange() argument 116 if (PrefixLength == 0) { in IpSecExtractAddressRange() 120 Div = (UINT8) (PrefixLength / 8); in IpSecExtractAddressRange() 121 Mod = (UINT8) (PrefixLength % 8); in IpSecExtractAddressRange() 176 AddressInfo[Index].PrefixLength in IpSecMatchIpAddress() [all …]
|
/device/google/cuttlefish/common/libs/net/ |
D | network_interface.h | 50 int PrefixLength() const { in PrefixLength() function
|
D | network_interface_manager.cpp | 46 request.AddAddrInfo(interface.Index(), interface.PrefixLength()); in BuildAddrRequest()
|
/device/linaro/bootloader/edk2/NetworkPkg/Application/IfConfig6/ |
D | IfConfig6.c | 424 AddrBuf[AddrCnt].PrefixLength = Prefix; in IfConfig6ParseManualAddressList() 976 &IfCb->IfInfo->AddressInfo[Index].PrefixLength in IfConfig6ShowInterfaceInfo() 1002 &IfCb->IfInfo->RouteTable[Index].PrefixLength in IfConfig6ShowInterfaceInfo() 1349 if (CfgManAddr[Index].PrefixLength == 0) { in IfConfig6SetInterfaceInfo() 1350 CfgManAddr[Index].PrefixLength = 64; in IfConfig6SetInterfaceInfo() 1355 (IfInfo->AddressInfo[Index2].PrefixLength == CfgManAddr[Index].PrefixLength)) { in IfConfig6SetInterfaceInfo() 1365 &CfgManAddr[Index].PrefixLength in IfConfig6SetInterfaceInfo()
|
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellNetwork2CommandsLib/ |
D | Ifconfig6.c | 500 AddrBuf[AddrCnt].PrefixLength = Prefix; in IfConfig6ParseManualAddressList() 1050 &IfCb->IfInfo->AddressInfo[Index].PrefixLength in IfConfig6ShowInterfaceInfo() 1076 &IfCb->IfInfo->RouteTable[Index].PrefixLength in IfConfig6ShowInterfaceInfo() 1474 if (CfgManAddr[Index].PrefixLength == 0) { in IfConfig6SetInterfaceInfo() 1475 CfgManAddr[Index].PrefixLength = 64; in IfConfig6SetInterfaceInfo() 1480 (IfInfo->AddressInfo[Index2].PrefixLength == CfgManAddr[Index].PrefixLength)) { in IfConfig6SetInterfaceInfo() 1490 &CfgManAddr[Index].PrefixLength in IfConfig6SetInterfaceInfo()
|
/device/linaro/bootloader/edk2/NetworkPkg/IScsiDxe/ |
D | IScsiMisc.h | 50 UINT8 PrefixLength; member
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeNetLib/ |
D | DxeNetLib.c | 788 UINT8 PrefixLength in NetIp6IsNetEqual() argument 795 ASSERT ((Ip1 != NULL) && (Ip2 != NULL) && (PrefixLength <= IP6_PREFIX_MAX)); in NetIp6IsNetEqual() 797 if (PrefixLength == 0) { in NetIp6IsNetEqual() 801 Byte = (UINT8) (PrefixLength / 8); in NetIp6IsNetEqual() 802 Bit = (UINT8) (PrefixLength % 8); in NetIp6IsNetEqual() 2637 Node->PrefixLength = IP6_PREFIX_LENGTH; in NetLibCreateIPv6DPathNode() 3083 OUT UINT8 *PrefixLength in NetLibStrToIp6andPrefix() argument 3093 if ((String == NULL) || (Ip6Address == NULL) || (PrefixLength == NULL)) { in NetLibStrToIp6andPrefix() 3155 *PrefixLength = Length; in NetLibStrToIp6andPrefix()
|