/** @file\r
Functions declaration related with DHCPv6 for UefiPxeBc Driver.\r
\r
- Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>\r
\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
#define PXEBC_DHCP6_OPTION_MAX_SIZE 312\r
#define PXEBC_DHCP6_PACKET_MAX_SIZE 1472\r
#define PXEBC_IP6_POLICY_MAX 0xff\r
+#define PXEBC_IP6_ROUTE_TABLE_TIMEOUT 10\r
\r
#define PXEBC_DHCP6_S_PORT 547\r
#define PXEBC_DHCP6_C_PORT 546\r
IN EFI_IP_ADDRESS *DestIp\r
);\r
\r
+/**\r
+ Set the IP6 policy to Automatic.\r
+\r
+ @param[in] Private The pointer to PXEBC_PRIVATE_DATA.\r
+\r
+ @retval EFI_SUCCESS Switch the IP policy succesfully.\r
+ @retval Others Unexpect error happened.\r
+\r
+**/\r
+EFI_STATUS\r
+PxeBcSetIp6Policy (\r
+ IN PXEBC_PRIVATE_DATA *Private\r
+ );\r
+\r
+/**\r
+ This function will register the station IP address and flush IP instance to start using the new IP address.\r
+ \r
+ @param[in] Private The pointer to PXEBC_PRIVATE_DATA.\r
+\r
+ @retval EFI_SUCCESS The new IP address has been configured successfully.\r
+ @retval Others Failed to configure the address.\r
+\r
+**/\r
+EFI_STATUS\r
+PxeBcSetIp6Address (\r
+ IN PXEBC_PRIVATE_DATA *Private\r
+ );\r
\r
/**\r
Start the DHCPv6 S.A.R.R. process to acquire the IPv6 address and other PXE boot information.\r