Searched refs:PrefixLength (Results 1 - 25 of 36) sorted by relevance

12

/vbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/Ip6Dxe/
H A DIp6Route.h34 UINT8 PrefixLength; member in struct:__anon12507
181 Allocate a route entry then initialize it with the Destination/PrefixLength
186 @param[in] PrefixLength The destination network's prefix length.
196 IN UINT8 PrefixLength,
242 @param[in] PrefixLength The PrefixLength of the destination.
254 IN UINT8 PrefixLength,
264 @param[in] PrefixLength The PrefixLength of the Destination.
276 IN UINT8 PrefixLength,
[all...]
H A DIp6Common.c72 EfiAddrInfo->PrefixLength = IP6_LINK_LOCAL_PREFIX_LENGTH;
81 EfiAddrInfo->PrefixLength = AddrInfo->PrefixLength;
385 with PrefixLength in the address list will be removed.
391 @param[in] PrefixLength The length of Prefix.
394 @retval EFI_NOT_FOUND The address matching the Prefix with PrefixLength
405 IN UINT8 PrefixLength
414 if (IsListEmpty (AddressList) || *AddressCount < 1 || PrefixLength > IP6_PREFIX_NUM) {
424 (PrefixLength == 128 && EFI_IP6_EQUAL (Prefix, &AddrInfo->Address)) ||
425 (PrefixLength
[all...]
H A DIp6Route.c44 Allocate a route entry then initialize it with the Destination/PrefixLength
49 @param[in] PrefixLength The destination network's prefix length.
59 IN UINT8 PrefixLength,
73 RtEntry->PrefixLength = PrefixLength;
143 if (NetIp6IsNetEqual (Destination, &RtEntry->Destination, RtEntry->PrefixLength)) {
148 if (NetIp6IsNetEqual (NextHop, &RtEntry->NextHop, RtEntry->PrefixLength)) {
311 RtEntry->PrefixLength
315 EfiTable[Count].PrefixLength = RtEntry->PrefixLength;
57 Ip6CreateRouteEntry( IN EFI_IPv6_ADDRESS *Destination OPTIONAL, IN UINT8 PrefixLength, IN EFI_IPv6_ADDRESS *GatewayAddress OPTIONAL ) argument
455 Ip6AddRoute( IN OUT IP6_ROUTE_TABLE *RtTable, IN EFI_IPv6_ADDRESS *Destination, IN UINT8 PrefixLength, IN EFI_IPv6_ADDRESS *GatewayAddress ) argument
514 Ip6DelRoute( IN OUT IP6_ROUTE_TABLE *RtTable, IN EFI_IPv6_ADDRESS *Destination, IN UINT8 PrefixLength, IN EFI_IPv6_ADDRESS *GatewayAddress ) argument
[all...]
H A DIp6If.c66 @param[in] PrefixLength The prefix length of the Ip6Addr.
85 IN UINT8 PrefixLength,
126 AddressInfo->PrefixLength = PrefixLength;
130 if (AddressInfo->PrefixLength == 0) {
138 if (NetIp6IsNetEqual (&PrefixEntry->Prefix, &AddressInfo->Address, PrefixEntry->PrefixLength)) {
139 AddressInfo->PrefixLength = PrefixEntry->PrefixLength;
145 if (AddressInfo->PrefixLength == 0) {
153 if (NetIp6IsNetEqual (&PrefixEntry->Prefix, &AddressInfo->Address, PrefixEntry->PrefixLength)) {
81 Ip6SetAddress( IN IP6_INTERFACE *Interface, IN EFI_IPv6_ADDRESS *Ip6Addr, IN BOOLEAN IsAnycast, IN UINT8 PrefixLength, IN UINT32 ValidLifetime, IN UINT32 PreferredLifetime, IN IP6_DAD_CALLBACK DadCallback OPTIONAL, IN VOID *Context OPTIONAL ) argument
[all...]
H A DIp6Common.h218 Copy the PrefixLength bits from Src to Dest.
222 @param[in] PrefixLength The number of bits to copy.
229 IN UINT8 PrefixLength
254 with PrefixLength in the address list will be removed.
260 @param[in] PrefixLength the length of Prefix
263 @retval EFI_NOT_FOUND The address matching the Prefix with PrefixLength
274 IN UINT8 PrefixLength
H A DIp6Icmp.c455 Retrieve the Prefix address according to the PrefixLength by clear the useless
458 @param[in] PrefixLength The prefix length of the prefix.
466 IN UINT8 PrefixLength,
475 ASSERT ((Prefix != NULL) && (PrefixLength < IP6_PREFIX_NUM));
477 if (PrefixLength == 0) {
482 if (PrefixLength == IP6_PREFIX_NUM - 1) {
486 Byte = (UINT8) (PrefixLength / 8);
487 Bit = (UINT8) (PrefixLength % 8);
533 Ip6GetPrefix (PrefixEntry->PrefixLength, &Prefix);
465 Ip6GetPrefix( IN UINT8 PrefixLength, IN OUT EFI_IPv6_ADDRESS *Prefix ) argument
H A DIp6Nd.h81 UINT8 PrefixLength; member in struct:_IP6_PREFIX_INFO_OPTION
150 UINT8 PrefixLength; member in struct:_IP6_PREFIX_LIST_ENTRY
321 @param[in] PrefixLength The prefix length of the Prefix.
334 IN UINT8 PrefixLength,
364 @param[in] PrefixLength The prefix length of the Prefix
375 IN UINT8 PrefixLength,
670 @param[in] PrefixLength The prefix length of the Ip6Addr.
689 IN UINT8 PrefixLength,
H A DIp6Nd.c156 EfiPrefix->PrefixLength = PrefixList->PrefixLength;
178 @param[in] PrefixLength The prefix length of the Prefix.
191 IN UINT8 PrefixLength,
201 if (Prefix == NULL || PreferredLifetime > ValidLifetime || PrefixLength >= IP6_PREFIX_NUM) {
210 PrefixLength,
226 PrefixEntry->PrefixLength = PrefixLength;
235 RtEntry = Ip6CreateRouteEntry (Prefix, PrefixLength, NULL);
242 InsertHeadList (&IpSb->RouteTable->RouteArea[PrefixLength],
186 Ip6CreatePrefixListEntry( IN IP6_SERVICE *IpSb, IN BOOLEAN OnLinkOrAuto, IN UINT32 ValidLifetime, IN UINT32 PreferredLifetime, IN UINT8 PrefixLength, IN EFI_IPv6_ADDRESS *Prefix ) argument
332 Ip6FindPrefixListEntry( IN IP6_SERVICE *IpSb, IN BOOLEAN OnLinkOrAuto, IN UINT8 PrefixLength, IN EFI_IPv6_ADDRESS *Prefix ) argument
[all...]
H A DIp6If.h86 UINT8 PrefixLength; member in struct:_IP6_ADDRESS_INFO
H A DIp6ConfigNv.c456 UINT8 PrefixLength; local
509 PrefixLength = ((EFI_IP6_ADDRESS_INFO *) AddressInfo)->PrefixLength;
511 PrefixLength = ((EFI_IP6_ROUTE_TABLE *) AddressInfo)->PrefixLength;
519 Number = UnicodeSPrint (TempStr, 6, L"%d", PrefixLength);
629 Status = NetLibStrToIp6andPrefix (TempStr, &AddressInfo.Address, &AddressInfo.PrefixLength);
634 if (AddressInfo.PrefixLength == 0xFF) {
635 AddressInfo.PrefixLength = 0;
899 ManualAddress->PrefixLength
[all...]
H A DIp6Impl.c416 IpInstance->PrefixLength = AddressInfo->PrefixLength;
418 IpInstance->PrefixLength = IP6_LINK_LOCAL_PREFIX_LENGTH;
796 Routes are determined by comparing the leftmost PrefixLength bits of Destination with
808 PrefixLength and Gateway are used as the key to each
812 @param[in] PrefixLength The prefix length of Destination. Ignored if Destination
840 IN UINT8 PrefixLength,
849 if ((This == NULL) || (PrefixLength >= IP6_PREFIX_NUM)) {
878 !NetIp6IsNetEqual (GatewayAddress, &IpInstance->ConfigData.StationAddress, PrefixLength)
890 Status = Ip6DelRoute (IpSb->RouteTable, Destination, PrefixLength, GatewayAddres
836 EfiIp6Routes( IN EFI_IP6_PROTOCOL *This, IN BOOLEAN DeleteRoute, IN EFI_IPv6_ADDRESS *Destination OPTIONAL, IN UINT8 PrefixLength, IN EFI_IPv6_ADDRESS *GatewayAddress OPTIONAL ) argument
[all...]
H A DIp6Impl.h143 UINT8 PrefixLength; // PrefixLength of the configured station address. member in struct:_IP6_PROTOCOL
472 Routes are determined by comparing the leftmost PrefixLength bits of Destination with
484 PrefixLength and Gateway are used as the key to each
488 @param[in] PrefixLength The prefix length of Destination. Ignored if Destination
516 IN UINT8 PrefixLength,
H A DIp6ConfigImpl.c928 (NewAddress->PrefixLength > 128)
1018 if (NewAddress->PrefixLength != CurrentAddrInfo->PrefixLength) {
1026 CurrentAddrInfo->PrefixLength,
1036 CurrentAddrInfo->PrefixLength = NewAddress->PrefixLength;
1046 NewAddress->PrefixLength,
1055 NewAddress->PrefixLength,
1079 NewAddress->PrefixLength,
1118 CurrentAddrInfo->PrefixLength,
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/Application/IpsecConfig/
H A DMatch.c141 (Indexer->PadId.Id.IpAddress.PrefixLength == PadId->Id.IpAddress.PrefixLength) &&
H A DHelper.c187 Addr->PrefixLength = 0;
189 Addr->PrefixLength = 32;
194 Status = NetLibStrToIp6andPrefix (Ptr, &Addr->Address.v6, &Addr->PrefixLength);
195 if (!EFI_ERROR (Status) && (Addr->PrefixLength == 0xFF)) {
196 Addr->PrefixLength = 128;
H A DDump.c33 if((AddressInfo->PrefixLength <= 32) && (AddressInfo->Address.Addr[1] == 0) &&
117 if (AddressInfo->PrefixLength != 32) {
118 Print (L"/%d", (UINTN) AddressInfo->PrefixLength);
134 if (AddressInfo->PrefixLength != 128) {
135 Print (L"/%d", AddressInfo->PrefixLength);
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Protocol/
H A DIp6.h60 UINT8 PrefixLength; member in struct:__anon12173
227 UINT8 PrefixLength; ///< The length of the prefix associated with the Address. member in struct:__anon12176
248 UINT8 PrefixLength; member in struct:__anon12177
676 Routes are determined by comparing the leftmost PrefixLength bits of Destination with
688 PrefixLength and Gateway are used as the key to each
691 @param[in] PrefixLength The prefix length of Destination. Ignored if Destination
718 IN UINT8 PrefixLength,
H A DIp6Config.h195 UINT8 PrefixLength; ///< The length, in bits, of the prefix associated with this Address. member in struct:__anon12189
H A DIpSecConfig.h74 UINT8 PrefixLength; ///< The length of the prefix associated with the Address. member in struct:_EFI_IP_ADDRESS_INFO
/vbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/IpSecDxe/
H A DIpSecImpl.c32 @param[in] PrefixLength The PrefixeLength of this address.
42 IN UINT8 PrefixLength
52 if (PrefixLength == 0) {
58 if (AddrLen <= PrefixLength) {
62 Div = (UINT8) (PrefixLength / 8);
63 Mod = (UINT8) (PrefixLength % 8);
99 @param[in] PrefixLength The prefix length.
106 IN UINT8 PrefixLength,
115 if (PrefixLength == 0) {
119 Div = (UINT8) (PrefixLength /
104 IpSecExtractAddressRange( IN EFI_IP_ADDRESS *Address, IN UINT8 PrefixLength, OUT EFI_IP_ADDRESS *Range ) argument
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/include/
H A Diptypes.h198 ULONG PrefixLength; member in struct:_IP_ADAPTER_PREFIX
/vbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/Application/IfConfig6/
H A DIfConfig6.c422 AddrBuf[AddrCnt].PrefixLength = Prefix;
974 &IfCb->IfInfo->AddressInfo[Index].PrefixLength
1000 &IfCb->IfInfo->RouteTable[Index].PrefixLength
1347 if (CfgManAddr[Index].PrefixLength == 0) {
1348 CfgManAddr[Index].PrefixLength = 64;
1353 (IfInfo->AddressInfo[Index2].PrefixLength == CfgManAddr[Index].PrefixLength)) {
1363 &CfgManAddr[Index].PrefixLength
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Library/DxeNetLib/
H A DDxeNetLib.c780 @param[in] PrefixLength - The prefix length of the checking net.
791 UINT8 PrefixLength
798 ASSERT ((Ip1 != NULL) && (Ip2 != NULL) && (PrefixLength < IP6_PREFIX_NUM));
800 if (PrefixLength == 0) {
804 Byte = (UINT8) (PrefixLength / 8);
805 Bit = (UINT8) (PrefixLength % 8);
2674 // Set default value to IPAddressOrigin, PrefixLength.
2678 Node->PrefixLength = IP6_PREFIX_LENGTH;
3086 @param[out] PrefixLength The pointer to the converted prefix length.
3098 OUT UINT8 *PrefixLength
[all...]
/vbox/src/VBox/Main/src-server/win/
H A DNetIf-win.cpp163 if (pPrefix->PrefixLength <= sizeof(pInfo->IPNetMask) * 8)
166 ASMBitSetRange(&pInfo->IPNetMask, 0, pPrefix->PrefixLength);
170 pPrefix->PrefixLength));
176 if (pPrefix->PrefixLength <= sizeof(pInfo->IPv6NetMask) * 8)
179 ASMBitSetRange(&pInfo->IPv6NetMask, 0, pPrefix->PrefixLength);
183 pPrefix->PrefixLength));
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Include/Library/
H A DIpIoLib.h153 UINT8 PrefixLength; member in union:__anon11035

Completed in 1191 milliseconds

12