/* Configure the default Udp6Io to receive all the DHCP6 traffic on this network interface. */
EFI_STATUS EFIAPI Dhcp6ConfigureUdpIo(IN UDP_IO *UdpIo, IN VOID *Context)
/* Configure the default Udp6Io to receive all the DHCP6 traffic on this network interface. */
EFI_STATUS EFIAPI Dhcp6ConfigureUdpIo(IN UDP_IO *UdpIo, IN VOID *Context)
{
  EFI_UDP6_PROTOCOL     *Udp6;
  EFI_UDP6_CONFIG_DATA  *Config;
  Udp6   = UdpIo->Protocol.Udp6;
  Config = &(UdpIo->Config.Udp6);
  ZeroMem (Config, sizeof (EFI_UDP6_CONFIG_DATA));
  Config->AcceptPromiscuous  = FALSE;
  Config->AcceptAnyPort      = FALSE;
  Config->AllowDuplicatePort = FALSE;
  Config->TrafficClass       = 0;
  Config->HopLimit           = 128;
  Config->ReceiveTimeout     = 0;
  Config->TransmitTimeout    = 0;
  Config->StationPort = DHCP6_PORT_CLIENT;
  Config->RemotePort  = 0;
  return Udp6->Configure (Udp6, Config);
}