/* Converts network protocol string to its text representation. */
VOID CatNetworkProtocol(IN OUT POOL_PRINT *Str, IN UINT16 Protocol)
/* Converts network protocol string to its text representation. */
VOID CatNetworkProtocol(IN OUT POOL_PRINT *Str, IN UINT16 Protocol)
{
  if (Protocol == RFC_1700_TCP_PROTOCOL) {
    UefiDevicePathLibCatPrint (Str, L"TCP");
  } else if (Protocol == RFC_1700_UDP_PROTOCOL) {
    UefiDevicePathLibCatPrint (Str, L"UDP");
  } else {
    UefiDevicePathLibCatPrint (Str, L"0x%x", Protocol);
  }
}