/device/google/cuttlefish_common/common/libs/net/ |
H A D | network_interface.h | 50 int PrefixLength() const { function in class:cvd::NetworkInterface
|
/device/linaro/bootloader/edk2/NetworkPkg/IScsiDxe/ |
H A D | IScsiMisc.h | 50 UINT8 PrefixLength;
member in struct:_ISCSI_SESSION_CONFIG_NVDATA
|
/device/linaro/bootloader/edk2/NetworkPkg/Ip6Dxe/ |
H A D | Ip6Route.h | 34 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 D | Ip6Icmp.c | 456 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 D | Ip6If.h | 86 UINT8 PrefixLength;
member in struct:_IP6_ADDRESS_INFO
|
H A D | Ip6If.c | 66 @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 D | Ip6Impl.c | 417 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 D | Ip6Route.c | 44 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 D | Ip6Impl.h | 146 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 D | Ip6ConfigNv.c | 456 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 D | Ip6Nd.h | 81 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 D | Ip6Nd.c | 156 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 D | Ip6Config.h | 195 UINT8 PrefixLength; ///< The length, in bits, of the prefix associated with this Address.
member in struct:__anon9110
|
H A D | Ip6.h | 61 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 D | IpSecConfig.h | 74 UINT8 PrefixLength; ///< The length of the prefix associated with the Address.
member in struct:_EFI_IP_ADDRESS_INFO
|
H A D | DevicePath.h | 633 UINT8 PrefixLength;
member in struct:__anon8945
|
/device/linaro/bootloader/edk2/MdeModulePkg/Include/Library/ |
H A D | IpIoLib.h | 153 UINT8 PrefixLength;
member in union:__anon6532
|
/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/ |
H A D | IpSecImpl.c | 33 @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...] |