/* The entry point for Udp6 driver that installs the driver binding and component name protocol on its ImageHandle. */
EFI_STATUS EFIAPI Udp6DriverEntryPoint(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
/* The entry point for Udp6 driver that installs the driver binding and component name protocol on its ImageHandle. */
EFI_STATUS EFIAPI Udp6DriverEntryPoint(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
{
  EFI_STATUS  Status;
  Status = EfiLibInstallDriverBindingComponentName2 (
             ImageHandle,
             SystemTable,
             &gUdp6DriverBinding,
             ImageHandle,
             &gUdp6ComponentName,
             &gUdp6ComponentName2
             );
  if (!EFI_ERROR (Status)) {
    mUdp6RandomPort = (UINT16)(
                               ((UINT16)NetRandomInitSeed ()) %
                               UDP6_PORT_KNOWN +
                               UDP6_PORT_KNOWN
                               );
  }
  return Status;
}