Home | History | Annotate | Download | only in Dhcp6Dxe

Lines Matching refs:Instance

61   // Set Udp6 configure data for the Dhcp6 instance.

192 // Create an Udp6Io for stateful transmit/receive of each Dhcp6 instance.
217 Destroy the Dhcp6 instance and recycle the resources.
219 @param[in, out] Instance The pointer to the Dhcp6 instance.
224 IN OUT DHCP6_INSTANCE *Instance
230 Dhcp6CleanupRetry (Instance, DHCP6_PACKET_ALL);
231 gBS->CloseEvent (Instance->Timer);
236 if (Instance->Config != NULL) {
237 Dhcp6CleanupConfigData (Instance->Config);
238 FreePool (Instance->Config);
244 if (Instance->IaCb.Ia != NULL) {
245 if (Instance->IaCb.Ia->ReplyPacket != NULL) {
246 FreePool (Instance->IaCb.Ia->ReplyPacket);
248 FreePool (Instance->IaCb.Ia);
251 if (Instance->Unicast != NULL) {
252 FreePool (Instance->Unicast);
255 if (Instance->AdSelect != NULL) {
256 FreePool (Instance->AdSelect);
259 FreePool (Instance);
264 Create the Dhcp6 instance and initialize it.
267 @param[out] Instance The pointer to the Dhcp6 instance.
269 @retval EFI_SUCCESS The Dhcp6 instance is created.
276 OUT DHCP6_INSTANCE **Instance
282 *Instance = NULL;
290 // Initialize the fields of the new Dhcp6 instance.
308 // There is a timer for each Dhcp6 instance, which is used to track the
324 *Instance = Dhcp6Ins;
346 DHCP6_INSTANCE *Instance;
353 Instance = NET_LIST_USER_STRUCT_S (Entry, DHCP6_INSTANCE, Link, DHCP6_INSTANCE_SIGNATURE);
356 return ServiceBinding->DestroyChild (ServiceBinding, Instance->Handle);
508 @param[in] This Protocol instance pointer.
580 // Destroy the service itself if no child instance left.
607 @param[in] This Pointer to the EFI_SERVICE_BINDING_PROTOCOL instance.
627 DHCP6_INSTANCE *Instance;
636 Status = Dhcp6CreateInstance (Service, &Instance);
642 ASSERT (Instance != NULL);
645 // Start the timer when the instance is ready to use.
648 Instance->Timer,
663 &Instance->Dhcp6,
671 Instance->Handle = *ChildHandle;
681 Instance->Handle,
688 Instance->Handle,
690 &Instance->Dhcp6,
701 InsertTailList (&Service->Child, &Instance->Link);
709 Dhcp6DestroyInstance (Instance);
721 @param[in] This Pointer to the EFI_SERVICE_BINDING_PROTOCOL instance.
743 DHCP6_INSTANCE *Instance;
765 Instance = DHCP6_INSTANCE_FROM_THIS (Dhcp6);
768 if (Instance->Service != Service) {
772 if (Instance->InDestroy) {
778 Instance->InDestroy = TRUE;
788 Instance->InDestroy = FALSE;
804 Instance->InDestroy = FALSE;
812 RemoveEntryList (&Instance->Link);
817 Dhcp6DestroyInstance (Instance);