Home
last modified time | relevance | path

Searched refs:IaCb (Results 1 – 6 of 6) sorted by relevance

/device/linaro/bootloader/edk2/NetworkPkg/Dhcp6Dxe/
DDhcp6Io.c44 DHCP6_IA_CB *IaCb; in Dhcp6EnqueueRetry() local
48 IaCb = &Instance->IaCb; in Dhcp6EnqueueRetry()
131 TxCb->RetryCtl.Mrd = IaCb->T2 - IaCb->T1; in Dhcp6EnqueueRetry()
146 TxCb->RetryCtl.Mrd = IaCb->AllExpireTime - IaCb->T2; in Dhcp6EnqueueRetry()
411 ASSERT(Instance->IaCb.Ia); in Dhcp6CleanupSession()
426 if (Instance->IaCb.Ia->ReplyPacket != NULL) { in Dhcp6CleanupSession()
427 FreePool (Instance->IaCb.Ia->ReplyPacket); in Dhcp6CleanupSession()
437 Instance->IaCb.T1 = 0; in Dhcp6CleanupSession()
438 Instance->IaCb.T2 = 0; in Dhcp6CleanupSession()
439 Instance->IaCb.AllExpireTime = 0; in Dhcp6CleanupSession()
[all …]
DDhcp6Impl.c94 ASSERT (Instance->IaCb.Ia != NULL); in EfiDhcp6Start()
99 if (Instance->IaCb.Ia->State != Dhcp6Init) { in EfiDhcp6Start()
194 ASSERT (Instance->IaCb.Ia != NULL); in EfiDhcp6Stop()
199 if (Instance->IaCb.Ia->State == Dhcp6Init || in EfiDhcp6Stop()
200 Instance->IaCb.Ia->State == Dhcp6Selecting || in EfiDhcp6Stop()
201 Instance->IaCb.Ia->State == Dhcp6Requesting in EfiDhcp6Stop()
212 Status = Dhcp6SendReleaseMsg (Instance, Instance->IaCb.Ia); in EfiDhcp6Stop()
320 Ia = Instance->IaCb.Ia; in EfiDhcp6GetModeData()
465 if (Other->IaCb.Ia != NULL && in EfiDhcp6Configure()
466 Other->IaCb.Ia->Descriptor.Type == Dhcp6CfgData->IaDescriptor.Type && in EfiDhcp6Configure()
[all …]
DDhcp6Utility.c387 IN DHCP6_IA_CB *IaCb in Dhcp6CalculateLeaseTime() argument
394 ASSERT (IaCb->Ia->IaAddressCount > 0); in Dhcp6CalculateLeaseTime()
403 for (Index = 0; Index < IaCb->Ia->IaAddressCount; Index++) { in Dhcp6CalculateLeaseTime()
404 MinLt = MIN (MinLt, IaCb->Ia->IaAddress[Index].ValidLifetime); in Dhcp6CalculateLeaseTime()
405 MaxLt = MAX (MinLt, IaCb->Ia->IaAddress[Index].ValidLifetime); in Dhcp6CalculateLeaseTime()
412 IaCb->T1 = (IaCb->T1 != 0) ? IaCb->T1 : (UINT32)(MinLt * 5 / 10); in Dhcp6CalculateLeaseTime()
413 IaCb->T2 = (IaCb->T2 != 0) ? IaCb->T2 : (UINT32)(MinLt * 8 / 10); in Dhcp6CalculateLeaseTime()
414 IaCb->AllExpireTime = MaxLt; in Dhcp6CalculateLeaseTime()
415 IaCb->LeaseTime = 0; in Dhcp6CalculateLeaseTime()
1143 if (Instance->IaCb.Ia == NULL) { in Dhcp6GenerateIaCb()
[all …]
DDhcp6Driver.c244 if (Instance->IaCb.Ia != NULL) { in Dhcp6DestroyInstance()
245 if (Instance->IaCb.Ia->ReplyPacket != NULL) { in Dhcp6DestroyInstance()
246 FreePool (Instance->IaCb.Ia->ReplyPacket); in Dhcp6DestroyInstance()
248 FreePool (Instance->IaCb.Ia); in Dhcp6DestroyInstance()
DDhcp6Utility.h100 IN DHCP6_IA_CB *IaCb
DDhcp6Impl.h121 DHCP6_IA_CB IaCb; member