X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=NetworkPkg%2FDhcp6Dxe%2FDhcp6Impl.h;h=f21b79668a8b0caf105d4301e9c8c3d42681f467;hb=f75a7f568e6d0944327970b3f3f2dafd9bba76b1;hp=06780b678a434d67226314d07f5be098495c77a8;hpb=03f9cc20b851ce60f5a629381c288f502eb9432c;p=mirror_edk2.git diff --git a/NetworkPkg/Dhcp6Dxe/Dhcp6Impl.h b/NetworkPkg/Dhcp6Dxe/Dhcp6Impl.h index 06780b678a..f21b79668a 100644 --- a/NetworkPkg/Dhcp6Dxe/Dhcp6Impl.h +++ b/NetworkPkg/Dhcp6Dxe/Dhcp6Impl.h @@ -1,7 +1,7 @@ /** @file Dhcp6 internal data structure and definition declaration. - Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.
+ Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License @@ -62,6 +62,8 @@ typedef struct _DHCP6_INSTANCE DHCP6_INSTANCE; #define DHCP6_PORT_CLIENT 546 #define DHCP6_PORT_SERVER 547 +#define DHCP_CHECK_MEDIA_WAITING_TIME EFI_TIMER_PERIOD_SECONDS(20) + #define DHCP6_INSTANCE_FROM_THIS(Instance) CR ((Instance), DHCP6_INSTANCE, Dhcp6, DHCP6_INSTANCE_SIGNATURE) #define DHCP6_SERVICE_FROM_THIS(Service) CR ((Service), DHCP6_SERVICE, ServiceBinding, DHCP6_SERVICE_SIGNATURE) @@ -130,7 +132,7 @@ struct _DHCP6_INSTANCE { BOOLEAN MediaPresent; // // StartTime is used to calculate the 'elapsed-time' option. Refer to RFC3315, - // the elapsed-time is amount of time since the client began its current DHCP transaction. + // the elapsed-time is amount of time since the client began its current DHCP transaction. // UINT64 StartTime; };