Searched defs:PrefixLength (Results 1 - 18 of 18) sorted by relevance

/device/google/cuttlefish_common/common/libs/net/
H A Dnetwork_interface.h50 int PrefixLength() const { function in class:cvd::NetworkInterface
/device/linaro/bootloader/edk2/NetworkPkg/IScsiDxe/
H A DIScsiMisc.h50 UINT8 PrefixLength; member in struct:_ISCSI_SESSION_CONFIG_NVDATA
/device/linaro/bootloader/edk2/NetworkPkg/Ip6Dxe/
H A DIp6Route.h34 UINT8 PrefixLength; member in struct:__anon9581
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 DIp6Icmp.c456 Retrieve the Prefix address according to the PrefixLength by clear the useless
459 @param[in] PrefixLength The prefix length of the prefix.
467 IN UINT8 PrefixLength,
476 ASSERT ((Prefix != NULL) && (PrefixLength < IP6_PREFIX_MAX));
478 if (PrefixLength == 0) {
483 if (PrefixLength >= IP6_PREFIX_MAX) {
487 Byte = (UINT8) (PrefixLength / 8);
488 Bit = (UINT8) (PrefixLength % 8);
534 Ip6GetPrefix (PrefixEntry->PrefixLength, &Prefix);
466 Ip6GetPrefix( IN UINT8 PrefixLength, IN OUT EFI_IPv6_ADDRESS *Prefix ) argument
H A DIp6If.h86 UINT8 PrefixLength; member in struct:_IP6_ADDRESS_INFO
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 DIp6Impl.c417 IpInstance->PrefixLength = AddressInfo->PrefixLength;
419 IpInstance->PrefixLength = IP6_LINK_LOCAL_PREFIX_LENGTH;
792 Routes are determined by comparing the leftmost PrefixLength bits of Destination with
804 PrefixLength and Gateway are used as the key to each
808 @param[in] PrefixLength The prefix length of Destination. Ignored if Destination
836 IN UINT8 PrefixLength,
845 if ((This == NULL) || (PrefixLength > IP6_PREFIX_MAX)) {
874 !NetIp6IsNetEqual (GatewayAddress, &IpInstance->ConfigData.StationAddress, PrefixLength)
886 Status = Ip6DelRoute (IpSb->RouteTable, Destination, PrefixLength, GatewayAddres
832 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 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 DIp6Impl.h146 UINT8 PrefixLength; // PrefixLength of the configured station address. member in struct:_IP6_PROTOCOL
475 Routes are determined by comparing the leftmost PrefixLength bits of Destination with
487 PrefixLength and Gateway are used as the key to each
491 @param[in] PrefixLength The prefix length of Destination. Ignored if Destination
519 IN UINT8 PrefixLength,
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);
630 Status = NetLibStrToIp6andPrefix (TempStr, &AddressInfo.Address, &AddressInfo.PrefixLength);
635 if (AddressInfo.PrefixLength == 0xFF) {
636 AddressInfo.PrefixLength = 0;
850 ManualAddress->PrefixLength
[all...]
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_MAX) {
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...]
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
H A DIp6Config.h195 UINT8 PrefixLength; ///< The length, in bits, of the prefix associated with this Address. member in struct:__anon9110
H A DIp6.h61 UINT8 PrefixLength; member in struct:__anon9094
229 UINT8 PrefixLength; ///< The length of the prefix associated with the Address. member in struct:__anon9097
250 UINT8 PrefixLength; member in struct:__anon9098
678 Routes are determined by comparing the leftmost PrefixLength bits of Destination with
690 PrefixLength and Gateway are used as the key to each
693 @param[in] PrefixLength The prefix length of Destination. Ignored if Destination
720 IN UINT8 PrefixLength,
H A DIpSecConfig.h74 UINT8 PrefixLength; ///< The length of the prefix associated with the Address. member in struct:_EFI_IP_ADDRESS_INFO
H A DDevicePath.h633 UINT8 PrefixLength; member in struct:__anon8945
/device/linaro/bootloader/edk2/MdeModulePkg/Include/Library/
H A DIpIoLib.h153 UINT8 PrefixLength; member in union:__anon6532
/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/
H A DIpSecImpl.c33 @param[in] PrefixLength The PrefixeLength of this address.
43 IN UINT8 PrefixLength
53 if (PrefixLength == 0) {
59 if (AddrLen <= PrefixLength) {
63 Div = (UINT8) (PrefixLength / 8);
64 Mod = (UINT8) (PrefixLength % 8);
100 @param[in] PrefixLength The prefix length.
107 IN UINT8 PrefixLength,
116 if (PrefixLength == 0) {
120 Div = (UINT8) (PrefixLength /
105 IpSecExtractAddressRange( IN EFI_IP_ADDRESS *Address, IN UINT8 PrefixLength, OUT EFI_IP_ADDRESS *Range ) argument
[all...]

Completed in 95 milliseconds