Home
last modified time | relevance | path

Searched refs:DhcpSb (Results 1 – 5 of 5) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Dhcp4Dxe/
DDhcp4Io.c33 IN DHCP_SERVICE *DhcpSb in DhcpInitRequest() argument
38 ASSERT ((DhcpSb->DhcpState == Dhcp4Init) || (DhcpSb->DhcpState == Dhcp4InitReboot)); in DhcpInitRequest()
43 DhcpSb->ActiveChild->ElaspedTime= 0; in DhcpInitRequest()
45 if (DhcpSb->DhcpState == Dhcp4Init) { in DhcpInitRequest()
46 DhcpSetState (DhcpSb, Dhcp4Selecting, FALSE); in DhcpInitRequest()
47 Status = DhcpSendMessage (DhcpSb, NULL, NULL, DHCP_MSG_DISCOVER, NULL); in DhcpInitRequest()
50 DhcpSb->DhcpState = Dhcp4Init; in DhcpInitRequest()
54 DhcpSetState (DhcpSb, Dhcp4Rebooting, FALSE); in DhcpInitRequest()
55 Status = DhcpSendMessage (DhcpSb, NULL, NULL, DHCP_MSG_REQUEST, NULL); in DhcpInitRequest()
58 DhcpSb->DhcpState = Dhcp4InitReboot; in DhcpInitRequest()
[all …]
DDhcp4Driver.c160 IN DHCP_SERVICE *DhcpSb in Dhcp4CloseService() argument
163 DhcpCleanLease (DhcpSb); in Dhcp4CloseService()
165 if (DhcpSb->UdpIo != NULL) { in Dhcp4CloseService()
166 UdpIoFreeIo (DhcpSb->UdpIo); in Dhcp4CloseService()
167 DhcpSb->UdpIo = NULL; in Dhcp4CloseService()
170 if (DhcpSb->Timer != NULL) { in Dhcp4CloseService()
171 gBS->SetTimer (DhcpSb->Timer, TimerCancel, 0); in Dhcp4CloseService()
172 gBS->CloseEvent (DhcpSb->Timer); in Dhcp4CloseService()
174 DhcpSb->Timer = NULL; in Dhcp4CloseService()
203 DHCP_SERVICE *DhcpSb; in Dhcp4CreateService() local
[all …]
DDhcp4Impl.c362 DHCP_SERVICE *DhcpSb; in EfiDhcp4GetModeData() local
377 DhcpSb = Instance->Service; in EfiDhcp4GetModeData()
383 Dhcp4ModeData->State = (EFI_DHCP4_STATE) DhcpSb->DhcpState; in EfiDhcp4GetModeData()
384 CopyMem (&Dhcp4ModeData->ConfigData, &DhcpSb->ActiveConfig, sizeof (Dhcp4ModeData->ConfigData)); in EfiDhcp4GetModeData()
385 …CopyMem (&Dhcp4ModeData->ClientMacAddress, &DhcpSb->Mac, sizeof (Dhcp4ModeData->ClientMacAddress)); in EfiDhcp4GetModeData()
387 Ip = HTONL (DhcpSb->ClientAddr); in EfiDhcp4GetModeData()
390 Ip = HTONL (DhcpSb->Netmask); in EfiDhcp4GetModeData()
393 Ip = HTONL (DhcpSb->ServerAddr); in EfiDhcp4GetModeData()
396 Para = DhcpSb->Para; in EfiDhcp4GetModeData()
407 Dhcp4ModeData->ReplyPacket = DhcpSb->Selected; in EfiDhcp4GetModeData()
[all …]
DDhcp4Io.h81 IN OUT DHCP_SERVICE *DhcpSb,
107 IN DHCP_SERVICE *DhcpSb,
163 IN DHCP_SERVICE *DhcpSb
174 IN DHCP_SERVICE *DhcpSb
DDhcp4Impl.h159 IN DHCP_SERVICE *DhcpSb