Searched defs:IcmpErrHdr (Results 1 - 2 of 2) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Network/Udp4Dxe/
H A DUdp4Impl.c1696 IP4_ICMP_ERROR_HEAD *IcmpErrHdr; local
1730 IcmpErrHdr = (IP4_ICMP_ERROR_HEAD *) NetbufAllocSpace (Packet, Len, FALSE);
1731 ASSERT (IcmpErrHdr != NULL);
1736 IcmpErrHdr->Head.Type = ICMP_TYPE_UNREACH;
1737 IcmpErrHdr->Head.Code = ICMP_CODE_UNREACH_PORT;
1738 IcmpErrHdr->Head.Checksum = 0;
1739 IcmpErrHdr->Fourth = 0;
1744 CopyMem (&IcmpErrHdr->IpHead, IpHdr, EFI_IP4_HEADER_LEN (IpHdr));
1749 Ptr = (UINT8 *) &IcmpErrHdr->IpHead + EFI_IP4_HEADER_LEN (IpHdr);
1755 IcmpErrHdr
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/Udp6Dxe/
H A DUdp6Impl.c1683 IP6_ICMP_ERROR_HEAD *IcmpErrHdr; local
1759 IcmpErrHdr = (IP6_ICMP_ERROR_HEAD *) NetbufAllocSpace (Packet, Len, FALSE);
1760 ASSERT (IcmpErrHdr != NULL);
1765 IcmpErrHdr->Head.Type = ICMP_V6_DEST_UNREACHABLE;
1766 IcmpErrHdr->Head.Code = ICMP_V6_PORT_UNREACHABLE;
1767 IcmpErrHdr->Head.Checksum = 0;
1768 IcmpErrHdr->Fourth = 0;
1776 Ptr = (VOID *) &IcmpErrHdr->Head;
1788 IcmpErrHdr->Head.Checksum = 0;

Completed in 5753 milliseconds