Lines Matching refs:Header
400 EFI_DHCP4_HEADER *Header;
409 Header = &Seed->Dhcp4.Header;
410 ZeroMem (Header, sizeof (EFI_DHCP4_HEADER));
411 Header->OpCode = PXEBC_DHCP4_OPCODE_REQUEST;
412 Header->HwType = Mode.IfType;
413 Header->HwAddrLen = (UINT8) Mode.HwAddressSize;
414 CopyMem (Header->ClientHwAddr, &Mode.CurrentAddress, Header->HwAddrLen);
504 Header.BootFileName,
505 sizeof (Offer->Dhcp4.Header.BootFileName),
515 (UINT8 *) Offer->Dhcp4.Header.ServerName,
516 sizeof (Offer->Dhcp4.Header.ServerName),
527 if (Offer->Dhcp4.Header.YourAddr.Addr[0] == 0) {
551 // Otherwise, read from boot file field in DHCP header.
563 } else if (!FileFieldOverloaded && Offer->Dhcp4.Header.BootFileName[0] != 0) {
566 // Do not count dhcp option header here, or else will destroy the serverhostname.
569 (&Offer->Dhcp4.Header.BootFileName[0] -
739 // Prefer to siaddr in header as next server address. If it's zero, then use option 54.
741 if (Offer->Dhcp4.Header.ServerAddr.Addr[0] == 0) {
750 &Offer->Dhcp4.Header.ServerAddr,
1278 if (EFI_ERROR (NetLibGetSystemGuid ((EFI_GUID *) Packet->Dhcp4.Header.ClientHwAddr))) {
1282 ZeroMem (Packet->Dhcp4.Header.ClientHwAddr, sizeof (EFI_GUID));
1284 Packet->Dhcp4.Header.HwAddrLen = (UINT8) sizeof (EFI_GUID);
1464 if (EFI_ERROR (NetLibGetSystemGuid ((EFI_GUID *) Token.Packet->Dhcp4.Header.ClientHwAddr))) {
1468 ZeroMem (Token.Packet->Dhcp4.Header.ClientHwAddr, sizeof (EFI_GUID));
1470 Token.Packet->Dhcp4.Header.HwAddrLen = (UINT8) sizeof (EFI_GUID);
1477 Token.Packet->Dhcp4.Header.Xid = HTONL (Xid);
1478 Token.Packet->Dhcp4.Header.Reserved = HTONS ((UINT16) ((IsBCast) ? 0x8000 : 0x0));
1479 CopyMem (&Token.Packet->Dhcp4.Header.ClientAddr, &Private->StationIp, sizeof (EFI_IPv4_ADDRESS));
1505 Token.Packet->Dhcp4.Header.Seconds = (UINT16) (PXEBC_BOOT_REQUEST_TIMEOUT * (TryIndex - 1));
1541 EFI_IP4_EQUAL (&Response->Dhcp4.Header.ServerAddr, &SrvList[SrvIndex].IpAddr)) {