dhcp
parse_dhcp(struct dhcp6leased_iface *iface, struct imsg_dhcp *dhcp)
p = dhcp->packet;
rem = dhcp->len;
parse_dhcp(struct dhcpleased_iface *iface, struct imsg_dhcp *dhcp)
p = dhcp->packet;
rem = dhcp->len;
if ((dhcp->csumflags & M_IPV4_CSUM_IN_OK) == 0 &&
if ((dhcp->csumflags & M_UDP_CSUM_IN_OK) == 0 &&
EFI_PXE_BASE_CODE_DHCPV4_PACKET *dhcp;
dhcp = (EFI_PXE_BASE_CODE_DHCPV4_PACKET *)&pxe->Mode->DhcpAck;
memcpy(&bootip, dhcp->BootpYiAddr, sizeof(bootip));
memcpy(&servip, dhcp->BootpSiAddr, sizeof(servip));
memcpy(boothw, dhcp->BootpHwAddr, sizeof(boothw));
dhcp = (EFI_PXE_BASE_CODE_DHCPV4_PACKET *)&pxe->Mode->DhcpAck;
memcpy(&bootip, dhcp->BootpYiAddr, sizeof(bootip));
memcpy(&servip, dhcp->BootpSiAddr, sizeof(servip));
memcpy(&gateip, dhcp->BootpSiAddr, sizeof(gateip));
memcpy(boothw, dhcp->BootpHwAddr, sizeof(boothw));
EFI_PXE_BASE_CODE_DHCPV4_PACKET *dhcp;
dhcp = (EFI_PXE_BASE_CODE_DHCPV4_PACKET *)&pxe->Mode->DhcpAck;
memcpy(&bootip, dhcp->BootpYiAddr, sizeof(bootip));
memcpy(&servip, dhcp->BootpSiAddr, sizeof(servip));
memcpy(&gateip, dhcp->BootpSiAddr, sizeof(gateip));
memcpy(boothw, dhcp->BootpHwAddr, sizeof(boothw));
EFI_PXE_BASE_CODE_DHCPV4_PACKET *dhcp;
dhcp = (EFI_PXE_BASE_CODE_DHCPV4_PACKET *)&pxe->Mode->DhcpAck;
memcpy(&bootip, dhcp->BootpYiAddr, sizeof(bootip));
memcpy(&servip, dhcp->BootpSiAddr, sizeof(servip));
memcpy(&gateip, dhcp->BootpSiAddr, sizeof(gateip));
memcpy(boothw, dhcp->BootpHwAddr, sizeof(boothw));
EFI_PXE_BASE_CODE_DHCPV4_PACKET *dhcp;
void dhcp(struct packet *, int);
dhcp(&tp, interface->is_udpsock);