Lines Matching refs:Dhcp6Srv
133 DHCP6_SERVICE *Dhcp6Srv; in Dhcp6CreateService() local
137 Dhcp6Srv = AllocateZeroPool (sizeof (DHCP6_SERVICE)); in Dhcp6CreateService()
139 if (Dhcp6Srv == NULL) { in Dhcp6CreateService()
146 Dhcp6Srv->Snp = NULL; in Dhcp6CreateService()
147 NetLibGetSnpHandle (Controller, &Dhcp6Srv->Snp); in Dhcp6CreateService()
148 if (Dhcp6Srv->Snp == NULL) { in Dhcp6CreateService()
149 FreePool (Dhcp6Srv); in Dhcp6CreateService()
156 Dhcp6Srv->Signature = DHCP6_SERVICE_SIGNATURE; in Dhcp6CreateService()
157 Dhcp6Srv->Controller = Controller; in Dhcp6CreateService()
158 Dhcp6Srv->Image = ImageHandle; in Dhcp6CreateService()
159 Dhcp6Srv->Xid = (0xffffff & NET_RANDOM (NetRandomInitSeed ())); in Dhcp6CreateService()
162 &Dhcp6Srv->ServiceBinding, in Dhcp6CreateService()
173 (VOID **) &Dhcp6Srv->Ip6Cfg in Dhcp6CreateService()
176 FreePool (Dhcp6Srv); in Dhcp6CreateService()
184 Dhcp6Srv->ClientId = Dhcp6GenerateClientId (Dhcp6Srv->Snp->Mode); in Dhcp6CreateService()
186 if (Dhcp6Srv->ClientId == NULL) { in Dhcp6CreateService()
187 FreePool (Dhcp6Srv); in Dhcp6CreateService()
194 Dhcp6Srv->UdpIo = UdpIoCreateIo ( in Dhcp6CreateService()
202 if (Dhcp6Srv->UdpIo == NULL) { in Dhcp6CreateService()
203 FreePool (Dhcp6Srv->ClientId); in Dhcp6CreateService()
204 FreePool (Dhcp6Srv); in Dhcp6CreateService()
208 InitializeListHead (&Dhcp6Srv->Child); in Dhcp6CreateService()
210 *Service = Dhcp6Srv; in Dhcp6CreateService()