1. Fix a bug in PXE driver that the PXE boot do not restart if a new boot option on the different IP stack is selected.
2. Retrieve the IP information after iSCSI TCPv6 connection established and fill it into iBFT table. 3. Generate a random IAID for each NIC port to require different IPv6 address in PXE driver. 4. Update function EfiMtftp6Configure() and Mtftp6RrqHandleOack() to allocate at most one UdpIo. 5. Fix a typo from “destory” to “destroy” in network code. Signed-off-by: Fu Siyuan <siyuan.fu@intel.com> Reviewed-by: Ye Ting <ting.ye@intel.com> Reviewed-by: Ouyang Qian <qian.ouyang@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13859 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/** @file
|
||||
The implementation of EFI IPv6 Configuration Protocol.
|
||||
|
||||
Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>
|
||||
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
@@ -2316,12 +2316,12 @@ Ip6ConfigCleanInstance (
|
||||
}
|
||||
|
||||
/**
|
||||
Destory the Dhcp6 child in IP6_CONFIG_INSTANCE and release the resources.
|
||||
Destroy the Dhcp6 child in IP6_CONFIG_INSTANCE and release the resources.
|
||||
|
||||
@param[in, out] Instance The buffer of IP6_CONFIG_INSTANCE to be freed.
|
||||
|
||||
@retval EFI_SUCCESS The child was successfully destroyed.
|
||||
@retval Others Failed to destory the child.
|
||||
@retval Others Failed to destroy the child.
|
||||
|
||||
**/
|
||||
EFI_STATUS
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/** @file
|
||||
Definitions for EFI IPv6 Configuartion Protocol implementation.
|
||||
|
||||
Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>
|
||||
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
@@ -279,12 +279,12 @@ Ip6ConfigCleanInstance (
|
||||
);
|
||||
|
||||
/**
|
||||
Destory the Dhcp6 child in IP6_CONFIG_INSTANCE and release the resources.
|
||||
Destroy the Dhcp6 child in IP6_CONFIG_INSTANCE and release the resources.
|
||||
|
||||
@param[in, out] Instance The buffer of IP6_CONFIG_INSTANCE to be freed.
|
||||
|
||||
@retval EFI_SUCCESS The child was successfully destroyed.
|
||||
@retval Others Failed to destory the child.
|
||||
@retval Others Failed to destroy the child.
|
||||
|
||||
**/
|
||||
EFI_STATUS
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/** @file
|
||||
The driver binding and service binding protocol for IP6 driver.
|
||||
|
||||
Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>
|
||||
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
@@ -94,7 +94,7 @@ Ip6DriverBindingSupported (
|
||||
Clean up an IP6 service binding instance. It releases all
|
||||
the resource allocated by the instance. The instance may be
|
||||
partly initialized, or partly destroyed. If a resource is
|
||||
destroyed, it is marked as that in case the destory failed and
|
||||
destroyed, it is marked as that in case the destroy failed and
|
||||
being called again later.
|
||||
|
||||
@param[in] IpSb The IP6 service binding instance to clean up.
|
||||
@@ -852,8 +852,8 @@ Ip6ServiceBindingDestroyChild (
|
||||
|
||||
//
|
||||
// A child can be destroyed more than once. For example,
|
||||
// Ip6DriverBindingStop will destory all of its children.
|
||||
// when UDP driver is being stopped, it will destory all
|
||||
// Ip6DriverBindingStop will destroy all of its children.
|
||||
// when UDP driver is being stopped, it will destroy all
|
||||
// the IP child it opens.
|
||||
//
|
||||
if (IpInstance->State == IP6_STATE_DESTROY) {
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/** @file
|
||||
The driver binding and service binding protocol for IP6 driver.
|
||||
|
||||
Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>
|
||||
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
@@ -24,7 +24,7 @@ extern EFI_COMPONENT_NAME2_PROTOCOL gIp6ComponentName2;
|
||||
Clean up an IP6 service binding instance. It releases all
|
||||
the resource allocated by the instance. The instance may be
|
||||
partly initialized, or partly destroyed. If a resource is
|
||||
destroyed, it is marked as that in case the destory failed and
|
||||
destroyed, it is marked as that in case the destroy failed and
|
||||
being called again later.
|
||||
|
||||
@param[in] IpSb The IP6 service binding instance to clean up.
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/** @file
|
||||
Implement IP6 pesudo interface.
|
||||
|
||||
Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>
|
||||
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
@@ -314,7 +314,7 @@ Ip6CleanInterface (
|
||||
}
|
||||
|
||||
//
|
||||
// Destory the interface if this is the last IP instance.
|
||||
// Destroy the interface if this is the last IP instance.
|
||||
// Remove all the system transmitted packets
|
||||
// from this interface, cancel the receive request if exists.
|
||||
//
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/** @file
|
||||
Implementation of EFI_IP6_PROTOCOL protocol interfaces.
|
||||
|
||||
Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>
|
||||
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
@@ -689,7 +689,7 @@ EfiIp6Configure (
|
||||
Status = Ip6CleanProtocol (IpInstance);
|
||||
|
||||
//
|
||||
// Don't change the state if it is DESTORY, consider the following
|
||||
// Don't change the state if it is DESTROY, consider the following
|
||||
// valid sequence: Mnp is unloaded-->Ip Stopped-->Udp Stopped,
|
||||
// Configure (ThisIp, NULL). If the state is changed to UNCONFIGED,
|
||||
// the unload fails miserably.
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/** @file
|
||||
Implementation of Neighbor Discovery support routines.
|
||||
|
||||
Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>
|
||||
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
@@ -261,7 +261,7 @@ Ip6CreatePrefixListEntry (
|
||||
}
|
||||
|
||||
/**
|
||||
Destory a IP6 prefix list entry.
|
||||
Destroy a IP6 prefix list entry.
|
||||
|
||||
@param[in] IpSb The pointer to IP6_SERVICE instance.
|
||||
@param[in] PrefixEntry The to be destroyed prefix list entry.
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/** @file
|
||||
Definition of Neighbor Discovery support routines.
|
||||
|
||||
Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>
|
||||
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
@@ -336,7 +336,7 @@ Ip6CreatePrefixListEntry (
|
||||
);
|
||||
|
||||
/**
|
||||
Destory a IP6 prefix list entry.
|
||||
Destroy a IP6 prefix list entry.
|
||||
|
||||
@param[in] IpSb The pointer to IP6_SERVICE instance.
|
||||
@param[in] PrefixEntry The to be destroyed prefix list entry.
|
||||
|
Reference in New Issue
Block a user