/* Src and Dst are in network byte order, and Len is in host byte order. */
UINT16 EFIAPI NetPseudoHeadChecksum(IN IP4_ADDR Src, IN IP4_ADDR Dst, IN UINT8 Proto, IN UINT16 Len)
/* Src and Dst are in network byte order, and Len is in host byte order. */
UINT16 EFIAPI NetPseudoHeadChecksum(IN IP4_ADDR Src, IN IP4_ADDR Dst, IN UINT8 Proto, IN UINT16 Len)
{
  NET_PSEUDO_HDR  Hdr;
  ZeroMem (&Hdr, sizeof (Hdr));
  Hdr.SrcIp    = Src;
  Hdr.DstIp    = Dst;
  Hdr.Protocol = Proto;
  Hdr.Len      = HTONS (Len);
  return NetblockChecksum ((UINT8 *)&Hdr, sizeof (Hdr));
}